diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 13:53:30 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 13:53:30 +0100 |
commit | 9538c06a4581e22b26bdcfcc8bd0217dd373f1d0 (patch) | |
tree | f9ad536e1b239be00612a3f2298b47a54db8e7ce /LibGUI/GWidget.h | |
parent | f242d6e5590fa58d1391b3080ed6e00a36f118b2 (diff) | |
download | serenity-9538c06a4581e22b26bdcfcc8bd0217dd373f1d0.zip |
LibGUI: Add a simple GSplitter container widget.
This allows you to put multiple widgets in a container and makes the space
in between them draggable to resize the two adjacent widgets.
Diffstat (limited to 'LibGUI/GWidget.h')
-rw-r--r-- | LibGUI/GWidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GWidget.h b/LibGUI/GWidget.h index b05bcfa024..a8bf7b2ff9 100644 --- a/LibGUI/GWidget.h +++ b/LibGUI/GWidget.h @@ -135,6 +135,7 @@ public: bool global_cursor_tracking() const; void notify_layout_changed(Badge<GLayout>); + void invalidate_layout(); bool is_visible() const { return m_visible; } void set_visible(bool); @@ -148,7 +149,6 @@ private: void handle_resize_event(GResizeEvent&); void handle_mouseup_event(GMouseEvent&); void do_layout(); - void invalidate_layout(); GWindow* m_window { nullptr }; OwnPtr<GLayout> m_layout; |