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
24e0c02
..
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
@@
-94,7
+92,14
@@
struct GradientRequest
struct FillRectRequest
{
struct FillRectRequest
{
- Color color;
+ Color color;
+ Vector size;
+ float radius;
+};
+
+struct InverseEllipseRequest
+{
+ Color color;
Vector size;
};
Vector size;
};