30 #ifndef _CEGUIListboxItem_h_
31 #define _CEGUIListboxItem_h_
34 #include "../String.h"
35 #include "../ColourRect.h"
36 #include "../TextUtils.h"
41 # pragma warning(push)
42 # pragma warning(disable : 4251)
69 ListboxItem(
const String& text, uint item_id = 0,
void* item_data = 0,
bool disabled =
false,
bool auto_delete =
true);
94 const String& getText(
void)
const {
return d_textLogical;}
97 const String& getTextVisual()
const;
109 uint
getID(
void)
const {
return d_itemID;}
206 virtual void setText(
const String& text);
208 void setTooltipText(
const String& text) {d_tooltipText = text;}
223 void setID(uint item_id) {d_itemID = item_id;}
329 void setSelectionColours(
Colour top_left_colour,
Colour top_right_colour,
Colour bottom_left_colour,
Colour bottom_right_colour);
368 void setSelectionBrushImage(
const String& name);
385 virtual bool handleFontRenderSizeChange(
const Font*
const font);
397 virtual Sizef getPixelSize(
void)
const = 0;
417 float alpha,
const Rectf* clipper)
const = 0;
453 Colour calculateModulatedAlphaColour(
Colour col,
float alpha)
const;
477 #if defined(_MSC_VER)
478 # pragma warning(pop)
481 #endif // end of guard _CEGUIListboxItem_h_