Mercurial > fife-parpg
diff engine/core/gui/base/gui_font.i @ 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 | 90005975cdbb |
children | a7909cdcdc85 |
line wrap: on
line diff
--- a/engine/core/gui/base/gui_font.i Tue Aug 03 13:57:12 2010 +0000 +++ b/engine/core/gui/base/gui_font.i Sat Aug 07 16:36:35 2010 +0000 @@ -60,7 +60,7 @@ void setAntiAlias(bool antiAlias); bool isAntiAlias(); Image* getAsImage(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;