aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Widget.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/Widget.hpp')
-rw-r--r--include/gui/Widget.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/Widget.hpp b/include/gui/Widget.hpp
index 9a18722..57424cd 100644
--- a/include/gui/Widget.hpp
+++ b/include/gui/Widget.hpp
@@ -45,6 +45,8 @@ namespace gsr {
Alignment get_vertical_alignment() const;
void set_visible(bool visible);
+
+ void *userdata = nullptr;
protected:
void set_widget_as_selected_in_parent();
void remove_widget_as_selected_in_parent();