aboutsummaryrefslogtreecommitdiff
path: root/include/gui
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/Widget.hpp3
1 files changed, 2 insertions, 1 deletions
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