comparison engine/core/view/renderers/floatingtextrenderer.i @ 582:5e04f6349894

* Improved the floatingtextrenderer. You can now set a background speech quad. * Added a speech quad example to rio de hola. * Little fix to the editor stuff.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 03 Aug 2010 13:57:12 +0000
parents b2feacaed53c
children 47b49b9b0c0a
comparison
equal deleted inserted replaced
581:1e69fd582c94 582:5e04f6349894
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); 35 void setColor(Uint8 r, Uint8 g, Uint8 b);
36 void setDefaultBackground(Uint8 br, Uint8 bg, Uint8 bb, Uint8 bbr, Uint8 bbg, Uint8 bbb);
37 void resetDefaultBackground();
36 38
37 static FloatingTextRenderer* getInstance(IRendererContainer* cnt); 39 static FloatingTextRenderer* getInstance(IRendererContainer* cnt);
38 40
39 private: 41 private:
40 FloatingTextRenderer(RenderBackend* renderbackend, int position, AbstractFont* font); 42 FloatingTextRenderer(RenderBackend* renderbackend, int position, AbstractFont* font);