From 67216467d4dc43134a07f7f843a80a1adf688acd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 1 Aug 2024 20:55:16 +0200 Subject: Move to settings page on settings button pressed --- include/gui/Widget.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/gui') diff --git a/include/gui/Widget.hpp b/include/gui/Widget.hpp index 63cb64a..6324490 100644 --- a/include/gui/Widget.hpp +++ b/include/gui/Widget.hpp @@ -9,7 +9,7 @@ namespace mgl { namespace gsr { class Widget { - friend class WidgetContainer; + friend class Page; public: Widget(); Widget(const Widget&) = delete; @@ -24,5 +24,6 @@ namespace gsr { virtual mgl::vec2f get_position() const; protected: mgl::vec2f position; + bool move_to_top = false; }; } \ No newline at end of file -- cgit v1.2.3