From 1a8b5160d105b50f20cb3cc24443b1f41ac6c1af Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 25 Apr 2010 18:10:15 +0200 Subject: added SDL_Surface* display to all repaint/draw methods --- src/menu/frame.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/menu/frame.hpp') diff --git a/src/menu/frame.hpp b/src/menu/frame.hpp index e71bef9b..b337275c 100644 --- a/src/menu/frame.hpp +++ b/src/menu/frame.hpp @@ -27,6 +27,8 @@ #ifndef FRAME_HPP #define FRAME_HPP +#include + #include "container.hpp" #include "frame_background.hpp" @@ -38,7 +40,7 @@ namespace usdx FrameBackground* background; protected: - virtual void draw(void) const; + virtual void draw(SDL_Surface* display) const; public: Frame(Control* parent); -- cgit v1.2.3