From de8e5cee81cae0231e31c63928c0be580a2758a8 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 27 Jan 2010 18:58:15 +0100 Subject: make on_draw protected external classes have to call draw instead of on_draw (so that visible gets evaluated) --- src/menu/reflection.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/menu/reflection.hpp') diff --git a/src/menu/reflection.hpp b/src/menu/reflection.hpp index 5ff75279..4681de5f 100644 --- a/src/menu/reflection.hpp +++ b/src/menu/reflection.hpp @@ -35,11 +35,14 @@ namespace usdx { private: float spacing; + + protected: + virtual void on_draw(void) const; + public: Reflection(float spacing); virtual ~Reflection(void); - virtual void on_draw(void) const; void set_spacing(float value); const float get_spacing(void) const; -- cgit v1.2.3