diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-25 18:10:15 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:47 +0100 |
commit | 1a8b5160d105b50f20cb3cc24443b1f41ac6c1af (patch) | |
tree | ce1bb575c9e934cd97858c6c5e2793c4427778ee /src/menu/drawable_control.hpp | |
parent | 647660014b2f506d19c4feedc06a45b514035d5b (diff) | |
download | usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.gz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.xz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.zip |
added SDL_Surface* display to all repaint/draw methods
Diffstat (limited to '')
-rw-r--r-- | src/menu/drawable_control.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp index 60701f4b..bf7ff42b 100644 --- a/src/menu/drawable_control.hpp +++ b/src/menu/drawable_control.hpp @@ -27,6 +27,8 @@ #ifndef DRAWABLE_CONTROL_HPP #define DRAWABLE_CONTROL_HPP +#include <SDL/SDL.h> + #include "drawable.hpp" #include "control.hpp" @@ -39,7 +41,7 @@ namespace usdx * Pure virtual method, that descendant classes have to * implement. (Should be left pure virtual.) */ - virtual void draw(void) const = 0; + virtual void draw(SDL_Surface* display) const = 0; public: DrawableControl(Control* parent); |