aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-04-20 15:28:17 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:47 +0100
commitf2b29d039424262426fd4598ce076f54e31854cf (patch)
tree86b6a67c0f41722e0cb4776b11ff580709333ded /src/menu/drawable.hpp
parent453785055b37a84d64c344f2175874bdb9e1563e (diff)
downloadusdx-f2b29d039424262426fd4598ce076f54e31854cf.tar.gz
usdx-f2b29d039424262426fd4598ce076f54e31854cf.tar.xz
usdx-f2b29d039424262426fd4598ce076f54e31854cf.zip
started gui framework
renamed menubackground to framebackground and splited out framebackgroundcolor created control as base class renamed draw to repaint and on_draw to draw in drawable implemented drawablecontrol as base for all visible controls on windows created container (subclass of drawablecontrol) that could contain other drawablecontrols created frame (subclass of container) with a background added openGL ldflag
Diffstat (limited to '')
-rw-r--r--src/menu/drawable.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/drawable.hpp b/src/menu/drawable.hpp
index 84f9daa0..e2cc43fc 100644
--- a/src/menu/drawable.hpp
+++ b/src/menu/drawable.hpp
@@ -41,16 +41,16 @@ namespace usdx
/**
* Pure virtual method, that descendant classes have to implement.
*/
- virtual void on_draw(void) const = 0;
+ virtual void draw(void) const = 0;
public:
Drawable(void);
virtual ~Drawable(void) {};
/**
- * Method for redraw this Object. If visible issues on_draw.
+ * Method for redraw this Object. If visible issues draw.
*/
- void draw(void) const;
+ void repaint(void) const;
/**
* Setter for visible.