LibGUI+Minesweeper: Add GWindow::set_resizable().
This commit is contained in:
parent
a0633c298b
commit
0dcb7a234e
Notes:
sideshowbarker
2024-07-19 14:37:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0dcb7a234ee
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ int main(int argc, char** argv)
|
|||
GApplication app(argc, argv);
|
||||
|
||||
auto* window = new GWindow;
|
||||
window->set_resizable(false);
|
||||
window->set_title("Minesweeper");
|
||||
window->set_rect(100, 100, 139, 175);
|
||||
|
||||
|
|
|
@ -28,6 +28,9 @@ public:
|
|||
bool is_modal() const { return m_modal; }
|
||||
void set_modal(bool);
|
||||
|
||||
bool is_resizable() const { return m_resizable; }
|
||||
void set_resizable(bool resizable) { m_resizable = resizable; }
|
||||
|
||||
void set_double_buffering_enabled(bool);
|
||||
void set_has_alpha_channel(bool);
|
||||
void set_opacity(float);
|
||||
|
|
Loading…
Add table
Reference in a new issue