30 #ifndef _CEGUIColourRect_h_
31 #define _CEGUIColourRect_h_
33 #include "CEGUI/Base.h"
34 #include "CEGUI/Colour.h"
78 void setAlpha(
float alpha);
91 void setTopAlpha(
float alpha);
104 void setBottomAlpha(
float alpha);
117 void setLeftAlpha(
float alpha);
130 void setRightAlpha(
float alpha);
140 bool isMonochromatic()
const;
159 ColourRect getSubRectangle(
float left,
float right,
float top,
float bottom )
const;
173 Colour getColourAtPoint(
float x,
float y )
const;
183 void setColours(
const Colour& col);
193 void modulateAlpha(
float alpha);
201 inline ColourRect operator*(
const float val)
const
214 d_top_left + val.d_top_left,
215 d_top_right + val.d_top_right,
216 d_bottom_left + val.d_bottom_left,
228 #endif // end of guard _CEGUIColourRect_h_