aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/reflection.cpp3
-rw-r--r--src/menu/reflection.hpp3
2 files changed, 2 insertions, 4 deletions
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;
};