diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-01-27 18:56:55 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:46 +0100 |
commit | d7d83a499453cc2c9ce13826030002a3a35811e4 (patch) | |
tree | af7725159a8160c9171f8a0d18c5c0e276ce9117 | |
parent | d8a5329b01305c9dd2b24412cd6e4578428b0b6c (diff) | |
download | usdx-d7d83a499453cc2c9ce13826030002a3a35811e4.tar.gz usdx-d7d83a499453cc2c9ce13826030002a3a35811e4.tar.xz usdx-d7d83a499453cc2c9ce13826030002a3a35811e4.zip |
added getter/setter for Reflection::spacing
Diffstat (limited to '')
-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; }; }; |