X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Fsurface.hpp;h=0945253edff8810bed4124303e1bd8314aa5b226;hb=6b50afc6cdd8d3555901b02ce12f15b5bac32aa8;hp=bafe85c5641449c5f9b71809edac9d9aa9e1e5ce;hpb=6a5c52fa2a14acd773c628dcd9c04221fe6e960f;p=supertux.git diff --git a/src/video/surface.hpp b/src/video/surface.hpp index bafe85c56..0945253ed 100644 --- a/src/video/surface.hpp +++ b/src/video/surface.hpp @@ -1,7 +1,7 @@ // $Id$ // // SuperTux -// Copyright (C) 2005 Matthias Braun +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -22,6 +22,8 @@ #include +class Color; +class Blend; class ImageTexture; /// bitset for drawing effects @@ -51,6 +53,7 @@ private: float uv_right; float uv_bottom; + void draw(float x, float y, float alpha, float angle, const Color& color, const Blend& blend, DrawingEffect effect) const; void draw(float x, float y, float alpha, DrawingEffect effect) const; void draw_part(float src_x, float src_y, float dst_x, float dst_y, float width, float height,