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.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/menu/drawable.cpp') diff --git a/src/menu/drawable.cpp b/src/menu/drawable.cpp index 8bfd5772..5f744e62 100644 --- a/src/menu/drawable.cpp +++ b/src/menu/drawable.cpp @@ -32,10 +32,10 @@ namespace usdx { } - void Drawable::draw(void) const + void Drawable::repaint(void) const { if (visible) { - on_draw(); + draw(); } }; -- cgit v1.2.3