29 #ifndef _CEGUIItemEntry_h_
30 #define _CEGUIItemEntry_h_
33 #include "../Window.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
65 virtual Sizef getItemPixelSize(
void)
const = 0;
101 Sizef getItemPixelSize(
void)
const;
140 void select(
void) {setSelected_impl(
true,
true);}
146 void deselect(
void) {setSelected_impl(
false,
true);}
153 void setSelected_impl(
bool state,
bool notify);
168 void setSelectable(
bool setting);
203 virtual bool validateWindowRenderer(
const WindowRenderer* renderer)
const;
237 void addItemEntryProperties(
void);
242 #if defined(_MSC_VER)
243 # pragma warning(pop)
246 #endif // end of guard _CEGUIItemEntry_h_
bool isSelectable(void) const
Returns whether this item is selectable or not.
Definition: widgets/ItemEntry.h:120
void deselect(void)
Deselects the item.
Definition: widgets/ItemEntry.h:146
bool d_selected
'true' when the item is selectable.
Definition: widgets/ItemEntry.h:227
void setSelected(bool setting)
Sets the selection state of this item (on/off). If this item is not selectable this function does not...
Definition: widgets/ItemEntry.h:134
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Base class for item type widgets.
Definition: widgets/ItemEntry.h:76
bool isSelected(void) const
Returns whether this item is selected or not.
Definition: widgets/ItemEntry.h:114
void select(void)
Selects the item.
Definition: widgets/ItemEntry.h:140
ItemListBase * d_ownerList
< pointer to the owner ItemListBase. 0 if there is none.
Definition: widgets/ItemEntry.h:224
Base-class for the assignable WindowRenderer object.
Definition: WindowRenderer.h:50
Base class for ItemEntry window renderer objects.
Definition: widgets/ItemEntry.h:48
ItemListBase * getOwnerList(void) const
Returns a pointer to the owner ItemListBase. 0 if there is none.
Definition: widgets/ItemEntry.h:108
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
static const String WidgetTypeName
Window factory name.
Definition: widgets/ItemEntry.h:82
virtual ~ItemEntry(void)
Destructor for ItemEntry objects.
Definition: widgets/ItemEntry.h:183
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:251
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: InputEvent.h:280
Base class for item list widgets.
Definition: ItemListBase.h:78
static const String EventSelectionChanged
Definition: widgets/ItemEntry.h:88
String class used within the GUI system.
Definition: String.h:62