comparison engine/core/view/renderers/floatingtextrenderer.i @ 631:f3457443c95f

* Added drawRectangle() and fillRectangle() functions to the renderers * Modified FIFE::FloatingTextRenderer to use the new functions * Updated some data types in FIFE::FloatingTextRenderer to use integer types defined in fife_stdint.h
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 05 Oct 2010 15:44:16 +0000
parents d1df6cf5ff23
children
comparison
equal deleted inserted replaced
630:010da1d1ee1c 631:f3457443c95f
30 30
31 class FloatingTextRenderer: public RendererBase { 31 class FloatingTextRenderer: public RendererBase {
32 public: 32 public:
33 virtual ~FloatingTextRenderer(); 33 virtual ~FloatingTextRenderer();
34 void changeDefaultFont(AbstractFont* font); 34 void changeDefaultFont(AbstractFont* font);
35 void setColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a = 255); 35 void setColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255);
36 void setBackground(Uint8 br, Uint8 bg, Uint8 bb, Uint8 ba = 255); 36 void setBackground(uint8_t br, uint8_t bg, uint8_t bb, uint8_t ba = 255);
37 void setBorder(Uint8 bbr, Uint8 bbg, Uint8 bbb, Uint8 bba = 255); 37 void setBorder(uint8_t bbr, uint8_t bbg, uint8_t bbb, uint8_t bba = 255);
38 void resetBackground(); 38 void resetBackground();
39 void resetBorder(); 39 void resetBorder();
40 40
41 static FloatingTextRenderer* getInstance(IRendererContainer* cnt); 41 static FloatingTextRenderer* getInstance(IRendererContainer* cnt);
42 42