30 #ifndef _CEGUIListboxItem_h_
31 #define _CEGUIListboxItem_h_
33 #include "../CEGUIBase.h"
34 #include "../CEGUIString.h"
35 #include "../CEGUIColourRect.h"
36 #include "../CEGUITextUtils.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
66 ListboxItem(
const String& text, uint item_id = 0,
void* item_data = 0,
bool disabled =
false,
bool auto_delete =
true);
91 const String& getText(
void)
const {
return d_textLogical;}
94 const String& getTextVisual()
const;
106 uint
getID(
void)
const {
return d_itemID;}
203 virtual void setText(
const String& text);
205 void setTooltipText(
const String& text) {d_tooltipText = text;}
220 void setID(uint item_id) {d_itemID = item_id;}
326 void setSelectionColours(
colour top_left_colour,
colour top_right_colour,
colour bottom_left_colour,
colour bottom_right_colour);
368 void setSelectionBrushImage(
const String& imageset,
const String& image);
381 virtual Size getPixelSize(
void)
const = 0;
401 float alpha,
const Rect* clipper)
const = 0;
437 colour calculateModulatedAlphaColour(
colour col,
float alpha)
const;
461 #if defined(_MSC_VER)
462 # pragma warning(pop)
465 #endif // end of guard _CEGUIListboxItem_h_