29 #ifndef _CEGUIListboxItem_h_
30 #define _CEGUIListboxItem_h_
33 #include "../String.h"
34 #include "../ColourRect.h"
35 #include "../TextUtils.h"
40 # pragma warning(push)
41 # pragma warning(disable : 4251)
68 ListboxItem(
const String& text, uint item_id = 0,
void* item_data = 0,
bool disabled =
false,
bool auto_delete =
true);
93 const String& getText(
void)
const {
return d_textLogical;}
96 const String& getTextVisual()
const;
108 uint
getID(
void)
const {
return d_itemID;}
205 virtual void setText(
const String& text);
207 void setTooltipText(
const String& text) {d_tooltipText = text;}
222 void setID(uint item_id) {d_itemID = item_id;}
328 void setSelectionColours(
Colour top_left_colour,
Colour top_right_colour,
Colour bottom_left_colour,
Colour bottom_right_colour);
367 void setSelectionBrushImage(
const String& name);
384 virtual bool handleFontRenderSizeChange(
const Font*
const font);
396 virtual Sizef getPixelSize(
void)
const = 0;
416 float alpha,
const Rectf* clipper)
const = 0;
452 Colour calculateModulatedAlphaColour(
Colour col,
float alpha)
const;
476 #if defined(_MSC_VER)
477 # pragma warning(pop)
480 #endif // end of guard _CEGUIListboxItem_h_