summaryrefslogtreecommitdiff
path: root/LibGUI/GWidget.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-30 13:53:30 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-30 13:53:30 +0100
commit9538c06a4581e22b26bdcfcc8bd0217dd373f1d0 (patch)
treef9ad536e1b239be00612a3f2298b47a54db8e7ce /LibGUI/GWidget.h
parentf242d6e5590fa58d1391b3080ed6e00a36f118b2 (diff)
downloadserenity-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.h2
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;