From d7d83a499453cc2c9ce13826030002a3a35811e4 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 27 Jan 2010 18:56:55 +0100 Subject: added getter/setter for Reflection::spacing --- src/menu/reflection.cpp | 10 ++++++++++ src/menu/reflection.hpp | 3 +++ 2 files changed, 13 insertions(+) diff --git a/src/menu/reflection.cpp b/src/menu/reflection.cpp index 3659d637..e306ba6e 100644 --- a/src/menu/reflection.cpp +++ b/src/menu/reflection.cpp @@ -39,4 +39,14 @@ namespace usdx void Reflection::on_draw(void) const { } + + void Reflection::set_spacing(float value) + { + spacing = value; + } + + const float Reflection::get_spacing(void) const + { + return spacing; + } }; diff --git a/src/menu/reflection.hpp b/src/menu/reflection.hpp index 442765db..5ff75279 100644 --- a/src/menu/reflection.hpp +++ b/src/menu/reflection.hpp @@ -40,6 +40,9 @@ namespace usdx virtual ~Reflection(void); virtual void on_draw(void) const; + + void set_spacing(float value); + const float get_spacing(void) const; }; }; -- cgit v1.2.3