projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced Gnome.AppBar with a dialog (stored in .glade file)
[supertux.git]
/
src
/
video
/
drawing_request.hpp
diff --git
a/src/video/drawing_request.hpp
b/src/video/drawing_request.hpp
index
5eeb711
..
725a346
100644
(file)
--- a/
src/video/drawing_request.hpp
+++ b/
src/video/drawing_request.hpp
@@
-25,12
+25,10
@@
#include <stdint.h>
#include <stdint.h>
-#include <SDL_video.h>
-
#include "glutil.hpp"
#include "glutil.hpp"
-#include "math/vector.hpp"
#include "color.hpp"
#include "font.hpp"
#include "color.hpp"
#include "font.hpp"
+#include "math/vector.hpp"
class Surface;
class Surface;
@@
-70,7
+68,7
@@
enum Target {
enum RequestType
{
enum RequestType
{
- SURFACE, SURFACE_PART, TEXT, GRADIENT, FILLRECT, GETLIGHT
+ SURFACE, SURFACE_PART, TEXT, GRADIENT, FILLRECT,
INVERSEELLIPSE, DRAW_LIGHTMAP,
GETLIGHT
};
struct SurfacePartRequest
};
struct SurfacePartRequest
@@
-99,6
+97,12
@@
struct FillRectRequest
float radius;
};
float radius;
};
+struct InverseEllipseRequest
+{
+ Color color;
+ Vector size;
+};
+
struct DrawingRequest
{
Target target;
struct DrawingRequest
{
Target target;