From e0e9997a5e92ce2a31f0ff4d139109be4434105b Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 11 Apr 2012 21:19:48 +0200 Subject: menu: generalized frame_background to background background could now be a background for all DrawableControl instances each subclass should call the parents draw() during executing the draw() method for background painting TODO: background should know the size of the control to only draw the background there --- src/menu/container.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/menu/container.cpp') diff --git a/src/menu/container.cpp b/src/menu/container.cpp index bf742dff..8c267819 100644 --- a/src/menu/container.cpp +++ b/src/menu/container.cpp @@ -58,6 +58,8 @@ namespace usdx void Container::draw(void) { + DrawableControl::draw(); + if (frame) { frame->repaint(); } -- cgit v1.2.3