Crazy Eddie's GUI System
0.8.7
|
29 #ifndef _CEGUIComboDropList_h_
30 #define _CEGUIComboDropList_h_
32 #include "./Listbox.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
98 void setArmed(
bool setting) { d_armed = setting; }
190 #if defined(_MSC_VER)
191 # pragma warning(pop)
194 #endif // end of guard _CEGUIComboDropList_h_
bool d_autoArm
true if the box auto-arms when the mouse enters it.
Definition: ComboDropList.h:183
static const String EventNamespace
Namespace for global events.
Definition: ComboDropList.h:51
ListboxItem * d_lastClickSelected
Item last accepted by user.
Definition: ComboDropList.h:185
virtual void onSelectionChanged(WindowEventArgs &e)
Handler called internally when the currently selected item or items changes.
void setAutoArmEnabled(bool setting)
Set the mode of operation for the ComboDropList.
Definition: ComboDropList.h:125
virtual ~ComboDropList(void)
Destructor for ComboDropList base class.
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
EventArgs based class that is used for objects passed to input event handlers concerning mouse input.
Definition: InputEvent.h:281
virtual void onListContentsChanged(WindowEventArgs &e)
Handler called internally when the list contents are changed.
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:252
virtual void onActivated(ActivationEventArgs &e)
Handler called when this window has become the active window.
static const String WidgetTypeName
Window factory name.
Definition: ComboDropList.h:52
bool isArmed(void) const
Return the 'armed' state of the ComboDropList.
Definition: ComboDropList.h:111
EventArgs based class that is used for Activated and Deactivated window events.
Definition: InputEvent.h:330
virtual void onCaptureLost(WindowEventArgs &e)
Handler called when this window loses capture of mouse inputs.
virtual void onMouseMove(MouseEventArgs &e)
Handler called when the mouse cursor has been moved within this window's area.
bool isAutoArmEnabled(void) const
returns the mode of operation for the drop-list
Definition: ComboDropList.h:136
ComboDropList(const String &type, const String &name)
Constructor for ComboDropList base class.
static const String EventListSelectionAccepted
Definition: ComboDropList.h:64
void setArmed(bool setting)
Set whether the drop-list is 'armed' for selection.
Definition: ComboDropList.h:98
void onListSelectionAccepted(WindowEventArgs &e)
Handler for when list selection is confirmed.
virtual void onMouseButtonDown(MouseEventArgs &e)
Handler called when a mouse button has been depressed within this window's area.
virtual void onMouseButtonUp(MouseEventArgs &e)
Handler called when a mouse button has been released within this window's area.
virtual void initialiseComponents(void)
Initialise the Window based object ready for use.
String class used within the GUI system.
Definition: String.h:64
Base class for the combo box drop down list. This is a specialisation of the Listbox class.
Definition: ComboDropList.h:49
bool d_armed
true when item selection has been armed.
Definition: ComboDropList.h:184
void resizeToContent(bool fit_width, bool fit_height)
resize the widget such that the content is shown without scrollbars.
Base class for list box items.
Definition: ListboxItem.h:53
Base class for standard Listbox widget.
Definition: widgets/Listbox.h:82