diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-01-27 18:59:58 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:46 +0100 |
commit | 2adaea29500b412c342838e22df2f8b4ac2eb02d (patch) | |
tree | d77237be941c3ba5c30ea670837517425d0ec2c4 /src/menu | |
parent | de8e5cee81cae0231e31c63928c0be580a2758a8 (diff) | |
download | usdx-2adaea29500b412c342838e22df2f8b4ac2eb02d.tar.gz usdx-2adaea29500b412c342838e22df2f8b4ac2eb02d.tar.xz usdx-2adaea29500b412c342838e22df2f8b4ac2eb02d.zip |
redraw on property change
Diffstat (limited to 'src/menu')
-rw-r--r-- | src/menu/drawable.cpp | 1 | ||||
-rw-r--r-- | src/menu/reflection.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/menu/drawable.cpp b/src/menu/drawable.cpp index c21555d7..8bfd5772 100644 --- a/src/menu/drawable.cpp +++ b/src/menu/drawable.cpp @@ -42,6 +42,7 @@ namespace usdx void Drawable::set_visible(bool value) { visible = value; + draw(); } const bool Drawable::get_visible(void) const diff --git a/src/menu/reflection.cpp b/src/menu/reflection.cpp index e306ba6e..d4a4bbaf 100644 --- a/src/menu/reflection.cpp +++ b/src/menu/reflection.cpp @@ -43,6 +43,7 @@ namespace usdx void Reflection::set_spacing(float value) { spacing = value; + draw(); } const float Reflection::get_spacing(void) const |