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.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp
index 261f0514..fa1fdd4d 100644
--- a/src/menu/drawable_control.hpp
+++ b/src/menu/drawable_control.hpp
@@ -35,6 +35,7 @@
#include "control.hpp"
#include "utils/point.hpp"
#include "utils/dimension.hpp"
+#include "background.hpp"
namespace usdx
{
@@ -50,9 +51,12 @@ namespace usdx
bool clipping_required;
+ Background* background;
+
boost::mutex position_mutex;
boost::mutex size_mutex;
boost::mutex clipping_required_mutex;
+ boost::mutex background_mutex;
protected:
Container* parent;
@@ -71,6 +75,8 @@ namespace usdx
bool get_clipping_required(void) const;
void set_clipping_required(const bool);
+ virtual void draw(void);
+
public:
DrawableControl(Container*);
virtual ~DrawableControl();
@@ -92,6 +98,9 @@ namespace usdx
int get_height(void) const;
void remove_parent(void);
+
+ void set_background(Background*);
+ const Background* get_background(void) const;
};
};