aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu/drawable_control.hpp')
-rw-r--r--src/menu/drawable_control.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp
index 9f33b376..cd1f45e0 100644
--- a/src/menu/drawable_control.hpp
+++ b/src/menu/drawable_control.hpp
@@ -61,6 +61,11 @@ namespace usdx
bool clipping_required;
/**
+ * Whether the control should be able to get the focus.
+ */
+ bool focusable;
+
+ /**
* Background of the control. The background is drawn, before the real
* content is drawn.
*/
@@ -88,6 +93,9 @@ namespace usdx
bool is_clipping_required(void) const;
void set_clipping_required(const bool);
+ bool is_focusable(void) const;
+ void set_focusable(const bool);
+
/**
* Function get called, if the control should draw itself it the
* current position on the OpenGL screen. If clipping is required, the