diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/menu/reflection.cpp | 10 | ||||
-rw-r--r-- | src/menu/reflection.hpp | 3 |
2 files changed, 13 insertions, 0 deletions
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; }; }; |