aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu/drawable_control.hpp')
-rw-r--r--src/menu/drawable_control.hpp4
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);