diff options
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r-- | src/ui/widget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h index ef386c0..60670b6 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -149,7 +149,7 @@ public: void set_size(float const w, float const h); /// set the widgets width and height - void set_size(math::Vector2f const &size); + void set_size(const math::Vector2f &size); /// set the widgets width void set_width(float const w); @@ -282,6 +282,8 @@ protected: virtual void remove_child(Widget *child); private: + void draw_debug_border(); + bool widget_visible; bool widget_background; bool widget_border; |