From 2adaea29500b412c342838e22df2f8b4ac2eb02d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 27 Jan 2010 18:59:58 +0100 Subject: redraw on property change --- src/menu/drawable.cpp | 1 + src/menu/reflection.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3