X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscreen%2Fdrawing_context.h;h=0051301b8006ac77f16e65f058a3caab27fc8ade;hb=04a5ff57d07db8607ee4b0768a3f40810d97a5b4;hp=b054e366d1aaa48b6b7ce31dc7bd4ae3a56ceddb;hpb=148cc59583752d131847829535a34ce3ad379e06;p=supertux.git diff --git a/src/screen/drawing_context.h b/src/screen/drawing_context.h index b054e366d..0051301b8 100644 --- a/src/screen/drawing_context.h +++ b/src/screen/drawing_context.h @@ -16,15 +16,16 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef __DRAWINGCONTEXT_H__ -#define __DRAWINGCONTEXT_H__ +#ifndef SUPERTUX_DRAWINGCONTEXT_H +#define SUPERTUX_DRAWINGCONTEXT_H -#include #include #include + +#include "SDL.h" + #include "vector.h" #include "screen.h" -#include class Surface; class Font; @@ -72,11 +73,11 @@ public: /** Adds a drawing request for a surface into the request list */ void draw_surface(const Surface* surface, const Vector& position, int layer, - uint32_t drawing_effect = NONE_EFFECT); + Uint32 drawing_effect = NONE_EFFECT); /** Adds a drawing request for part of a surface */ void draw_surface_part(const Surface* surface, const Vector& source, const Vector& size, const Vector& dest, int layer, - uint32_t drawing_effect = NONE_EFFECT); + Uint32 drawing_effect = NONE_EFFECT); /** draws a text */ void draw_text(Font* font, const std::string& text, const Vector& position, int layer); @@ -149,7 +150,7 @@ private: struct DrawingRequest { int layer; - uint32_t drawing_effect; + Uint32 drawing_effect; RequestType type; Vector pos; @@ -171,5 +172,5 @@ private: DrawingRequests drawingrequests; }; -#endif +#endif /*SUPERTUX_DRAWINGCONTEXT_H*/