From 799aa2a252d04e730e598ebb46f3a66f530717c0 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 26 Apr 2010 22:16:28 +0200 Subject: applied the changes from drawable --- src/menu/reflection.cpp | 3 +-- src/menu/reflection.hpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/menu') diff --git a/src/menu/reflection.cpp b/src/menu/reflection.cpp index d4a4bbaf..92ab01e1 100644 --- a/src/menu/reflection.cpp +++ b/src/menu/reflection.cpp @@ -36,14 +36,13 @@ namespace usdx { } - void Reflection::on_draw(void) const + void Reflection::draw(SDL_Surface* display) const { } void Reflection::set_spacing(float value) { spacing = value; - draw(); } const float Reflection::get_spacing(void) const diff --git a/src/menu/reflection.hpp b/src/menu/reflection.hpp index 4681de5f..aa43491a 100644 --- a/src/menu/reflection.hpp +++ b/src/menu/reflection.hpp @@ -37,13 +37,12 @@ namespace usdx float spacing; protected: - virtual void on_draw(void) const; + virtual void draw(SDL_Surface* display) const; public: Reflection(float spacing); virtual ~Reflection(void); - void set_spacing(float value); const float get_spacing(void) const; }; -- cgit v1.2.3