From f2b29d039424262426fd4598ce076f54e31854cf Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 20 Apr 2010 15:28:17 +0200 Subject: 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 --- src/menu/drawable.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/menu/drawable.hpp') 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. -- cgit v1.2.3