Mercurial > fife-parpg
diff engine/core/video/fonts/abstractfont.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/video/fonts/abstractfont.h Tue Aug 03 13:57:12 2010 +0000 +++ b/engine/core/video/fonts/abstractfont.h Sat Aug 07 16:36:35 2010 +0000 @@ -104,7 +104,7 @@ /** Set the color the text should be rendered in */ - virtual void setColor(uint8_t r,uint8_t g,uint8_t b) = 0; + virtual void setColor(uint8_t r,uint8_t g,uint8_t b, uint8_t a = 255) = 0; /** Get the color the text was rendered in */