Inheritance diagram for CEGUI::ListboxTextItem:
Public Member Functions | |
ListboxTextItem (const String &text, uint item_id=0, void *item_data=NULL, bool disabled=false, bool auto_delete=true) | |
base class constructor | |
virtual | ~ListboxTextItem (void) |
base class destructor | |
const Font * | getFont (void) const |
Return a pointer to the font being used by this ListboxTextItem. | |
ColourRect | getTextColours (void) const |
Return the current colours used for text rendering. | |
void | setFont (const Font *font) |
Set the font to be used by this ListboxTextItem. | |
void | setFont (const String &font_name) |
Set the font to be used by this ListboxTextItem. | |
void | setTextColours (const ColourRect &cols) |
Set the colours used for text rendering. | |
void | setTextColours (colour top_left_colour, colour top_right_colour, colour bottom_left_colour, colour bottom_right_colour) |
Set the colours used for text rendering. | |
void | setTextColours (colour col) |
Set the colours used for text rendering. | |
Size | getPixelSize (void) const |
Return the rendered pixel size of this list box item. | |
void | draw (const Vector3 &position, float alpha, const Rect &clipper) const |
Draw the list box item in its current state. | |
void | draw (RenderCache &cache, const Rect &targetRect, float zBase, float alpha, const Rect *clipper) const |
Static Public Attributes | |
static const colour | DefaultTextColour = 0xFFFFFFFF |
Default text colour. | |
Protected Attributes | |
ColourRect | d_textCols |
Colours used for rendering the text. | |
const Font * | d_font |
Font used for rendering text. |
|
Draw the list box item in its current state.
Implements CEGUI::ListboxItem. |
|
Return a pointer to the font being used by this ListboxTextItem. This method will try a number of places to find a font to be used. If no font can be found, NULL is returned.
|
|
Return the rendered pixel size of this list box item.
Implements CEGUI::ListboxItem. |
|
Return the current colours used for text rendering.
|
|
Set the font to be used by this ListboxTextItem.
|
|
Set the font to be used by this ListboxTextItem.
|
|
Set the colours used for text rendering.
|
|
Set the colours used for text rendering.
|
|
Set the colours used for text rendering.
|