28 Text(font, w, h, str, r, g, b, a, halign, valign) {
40 float initialR, initialG, initialB, initialA, r, g, b, a;
42 incrementColor(initialR, initialG, initialB, initialA, r, g, b, a);
HighlightableText(const FontHandle &font, float w, float h, const Common::UString &str, float r=1.0f, float g=1.0f, float b=1.0f, float a=1.0f, float halign=kHAlignLeft, float valign=kVAlignTop)
void render(RenderPass pass)
Render the object.
void getColor(float &r, float &g, float &b, float &a) const
void render(RenderPass pass)
Render the object.
void incrementColor(float initialR, float initialG, float initialB, float initialA, float &r, float &g, float &b, float &a)
void setColor(float r, float g, float b, float a)