projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an alpha argument for drawing fonts.
[supertux.git]
/
lib
/
video
/
font.h
diff --git
a/lib/video/font.h
b/lib/video/font.h
index
bf4ebd5
..
3d1b9fc
100644
(file)
--- a/
lib/video/font.h
+++ b/
lib/video/font.h
@@
-64,11
+64,11
@@
namespace SuperTux
friend class DrawingContext;
void draw(const std::string& text, const Vector& pos,
friend class DrawingContext;
void draw(const std::string& text, const Vector& pos,
- Uint32 drawing_effect = NONE_EFFECT);
+ Uint32 drawing_effect = NONE_EFFECT
, int alpha = 255
);
void draw_center(const std::string& text, const Vector& pos,
void draw_center(const std::string& text, const Vector& pos,
- Uint32 drawing_effect = NONE_EFFECT);
+ Uint32 drawing_effect = NONE_EFFECT
, int alpha = 255
);
void draw_chars(Surface* pchars, const std::string& text,
void draw_chars(Surface* pchars, const std::string& text,
- const Vector& position, Uint32 drawing_effect);
+ const Vector& position, Uint32 drawing_effect
, int alpha
);
Surface* chars;
Surface* shadow_chars;
Surface* chars;
Surface* shadow_chars;