28 float x1,
float y1,
float x2,
float y2,
29 float tX1,
float tY1,
float tX2,
float tY2) :
30 GUIQuad (texture, x1, y1, x2, y2, tX1, tY1, tX2, tY2) {
38 float initialR, initialG, initialB, initialA, r, g, b, a;
39 getColor(initialR, initialG, initialB, initialA);
40 incrementColor(initialR, initialG, initialB, initialA, r, g, b, a);
A class holding an UTF-8 string.
void setColor(float r, float g, float b, float a)
Set the current color of the quad.
void getColor(float &r, float &g, float &b, float &a) const
Get the current color of the quad.
void render(RenderPass pass)
Render the object.
HighlightableGUIQuad(const Common::UString &texture, float x1, float y1, float x2, float y2, float tX1=0.0f, float tY1=0.0f, float tX2=1.0f, float tY2=1.0f)
bool isHighlightable() 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)
bool isHightlighted() const