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_
Colour d_bottom_right
ColourRect component colours.
Definition: ColourRect.h:222
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:43
String CEGUIEXPORT operator+(const String &str1, const String &str2)
Return String object that is the concatenation of the given inputs.
Class representing colour values within the system.
Definition: Colour.h:44