diff options
Diffstat (limited to 'include/gui/Widget.hpp')
-rw-r--r-- | include/gui/Widget.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/Widget.hpp b/include/gui/Widget.hpp index 1d52033..6c4a1cb 100644 --- a/include/gui/Widget.hpp +++ b/include/gui/Widget.hpp @@ -24,6 +24,8 @@ namespace gsr { virtual void draw(mgl::Window &window, mgl::vec2f offset) = 0; virtual void set_position(mgl::vec2f position); + //virtual void remove_child_widget(Widget *widget) { (void)widget; } + virtual mgl::vec2f get_position() const; virtual mgl::vec2f get_size() = 0; protected: |