X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fvideo%2Ffont.h;h=3d1b9fc39fe9810b4009f3a3930a1fc6c5536ede;hb=ca65a4babe2341f4c9b8952cfd516df8d74575e4;hp=bf4ebd5865e76a8eed124c857a381e19c5d44efc;hpb=ac9cb63a143a7c95d5b1526d3c8b5af7edbfc58a;p=supertux.git diff --git a/lib/video/font.h b/lib/video/font.h index bf4ebd586..3d1b9fc39 100644 --- 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, - Uint32 drawing_effect = NONE_EFFECT); + Uint32 drawing_effect = NONE_EFFECT, int alpha = 255); 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, - const Vector& position, Uint32 drawing_effect); + const Vector& position, Uint32 drawing_effect, int alpha); Surface* chars; Surface* shadow_chars;