aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 21:46:52 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 21:46:52 +0100
commit8977e88b64e5f08a27cb10b8606f1d9c9ca27679 (patch)
tree33fdf68a529d1143e4880ae3353cd6e5bfeb3371 /src/menu/drawable_control.hpp
parenta6b096260ae3dea25233852c90b04b8298b92688 (diff)
downloadusdx-8977e88b64e5f08a27cb10b8606f1d9c9ca27679.tar.gz
usdx-8977e88b64e5f08a27cb10b8606f1d9c9ca27679.tar.xz
usdx-8977e88b64e5f08a27cb10b8606f1d9c9ca27679.zip
menu/drawable_control: add static member for debug boxes
Diffstat (limited to 'src/menu/drawable_control.hpp')
-rw-r--r--src/menu/drawable_control.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp
index 7627cbed..bac1ccfb 100644
--- a/src/menu/drawable_control.hpp
+++ b/src/menu/drawable_control.hpp
@@ -35,6 +35,7 @@
#include "utils/dimension.hpp"
#include "utils/rectangle.hpp"
#include "background.hpp"
+#include "static.hpp"
namespace usdx
{
@@ -72,6 +73,11 @@ namespace usdx
*/
Background* background;
+ /**
+ * Optional box around the control. Used for debugging.
+ */
+ Static* debug_box;
+
mutable boost::shared_mutex position_mutex;
mutable boost::shared_mutex size_mutex;
mutable boost::shared_mutex clipping_required_mutex;