Mercurial > fife-parpg
diff engine/core/gui/base/gui_font.h @ 583:47b49b9b0c0a
* Improved the floatingtextrenderer. Now you can set an alpha value for font, background quad and border. Splited quad and border into own commands.
* Added a triangle function to backends and genericrenderer, also added the functions to set an alpha value for geometric figures.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 07 Aug 2010 16:36:35 +0000 |
parents | 7887f3854862 |
children | 5d6b1820b953 |
line wrap: on
line diff
--- a/engine/core/gui/base/gui_font.h Tue Aug 03 13:57:12 2010 +0000 +++ b/engine/core/gui/base/gui_font.h Sat Aug 07 16:36:35 2010 +0000 @@ -57,7 +57,7 @@ bool isAntiAlias(); Image* getAsImage(const std::string& text); Image* getAsImageMultiline(const std::string& text); - void setColor(uint8_t r,uint8_t g,uint8_t b); + void setColor(uint8_t r,uint8_t g,uint8_t b, uint8_t a = 255); SDL_Color getColor() const; int getWidth(const std::string& text) const; int getHeight() const;