From 56cdfd3822d2800abdd2f912ab7f76a5764793a7 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Oct 2008 13:45:07 +0000 Subject: scrollpane widget, updated chatbox --- src/ui/widget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ui/widget.h') 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; -- cgit v1.2.3