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_background_color.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/menu/frame_background_color.hpp') diff --git a/src/menu/frame_background_color.hpp b/src/menu/frame_background_color.hpp index d1fdcc17..a52e1f13 100644 --- a/src/menu/frame_background_color.hpp +++ b/src/menu/frame_background_color.hpp @@ -27,6 +27,8 @@ #ifndef FRAME_BACKGROUND_COLOR_HPP #define FRAME_BACKGROUND_COLOR_HPP +#include + #include "frame_background.hpp" #include "utils/rgb_color.hpp" @@ -38,7 +40,7 @@ namespace usdx RgbColor color; protected: - virtual void draw(void) const; + virtual void draw(SDL_Surface* display) const; public: FrameBackgroundColor(RgbColor &color); -- cgit v1.2.3