aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/drawable.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-05-09 19:17:52 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:48 +0100
commit1d595f048c9e59bbff14217e2fe3821ee3e1aaa1 (patch)
treefe92fea4e73324bd3645afb52c681d103624b853 /src/menu/drawable.hpp
parent3ca6e32a9ecaa8514b9a30711cec20cf80722c23 (diff)
downloadusdx-1d595f048c9e59bbff14217e2fe3821ee3e1aaa1.tar.gz
usdx-1d595f048c9e59bbff14217e2fe3821ee3e1aaa1.tar.xz
usdx-1d595f048c9e59bbff14217e2fe3821ee3e1aaa1.zip
changed from SDL rendering to OpenGL
draw, repaint methods do not have the SDL_Surface* parameter anymore
Diffstat (limited to '')
-rw-r--r--src/menu/drawable.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/menu/drawable.hpp b/src/menu/drawable.hpp
index 28cbd223..bca0ac03 100644
--- a/src/menu/drawable.hpp
+++ b/src/menu/drawable.hpp
@@ -27,8 +27,6 @@
#ifndef DRAWABLE_HPP
#define DRAWABLE_HPP
-#include <SDL/SDL.h>
-
namespace usdx
{
/**
@@ -43,7 +41,7 @@ namespace usdx
/**
* Pure virtual method, that descendant classes have to implement.
*/
- virtual void draw(SDL_Surface* display) const = 0;
+ virtual void draw(void) = 0;
public:
Drawable(void);
@@ -52,7 +50,7 @@ namespace usdx
/**
* Method for redraw this Object. If visible issues draw.
*/
- void repaint(SDL_Surface* display) const;
+ void repaint(void);
/**
* Setter for visible.