aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-01-27 18:59:58 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:46 +0100
commit2adaea29500b412c342838e22df2f8b4ac2eb02d (patch)
treed77237be941c3ba5c30ea670837517425d0ec2c4 /src/menu
parentde8e5cee81cae0231e31c63928c0be580a2758a8 (diff)
downloadusdx-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.cpp1
-rw-r--r--src/menu/reflection.cpp1
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