40 #ifndef _uidropdownlist_h
41 #define _uidropdownlist_h
43 #include "UI/widget.h"
105 virtual const String& GetTypeName()
const;
108 virtual void UpdateDimensions(
const Rect& OldSelfRect,
const Rect& NewSelfRect);
111 virtual void UpdateCurrentSelection(
Widget* NewSelection);
115 virtual String GetSelectionText()
const;
121 virtual void SetVisible(
Boole CanSee);
135 virtual Widget* GetSelectionDisplay()
const;
138 virtual CheckBox* GetListToggle()
const;
141 virtual ListBox* GetSelectionList()
const;
147 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
149 virtual void ProtoSerializeChildQuads(
XML::Node& SelfRoot)
const;
152 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
154 virtual void ProtoDeSerializeChildQuads(
const XML::Node& SelfRoot);
157 static String GetSerializableName();
182 virtual String GetWidgetTypeName()
const;
212 virtual void DestroyWidget(
Widget* ToBeDestroyed);
This is the factory implementation for DropDownList widgets.
bool Boole
Generally acts a single bit, true or false.
virtual ~DropDownListFactory()
Class destructor.
A simple reference counting pointer.
This class represents a box shaped area on the screen.
ScrollbarStyle
Used by the scrollbar class to determine what styling should be used for the scrollbar.
CheckBox * ListToggle
A pointer to the CheckBox that will toggle the visibility of the Selection List.
This class represents a 2D rect which can express the size and position of a renderable on screen...
A light-weight handle for manipulating nodes in DOM tree.
static const String TypeName
String containing the type name for this class: "DropDownList".
ListBox * SelectionList
A pointer to the ListBox holding all possible selections.
Widget * SelectionDisplay
A pointer to a copy of the ListItem that is the current selection.
DropDownListFactory()
Class constructor.
The bulk of the engine components go in this namspace.
This is a simple widget for storing a bool value.
std::map< String, String > NameValuePairMap
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
This class is a helper class for creating UI's. It is responsible for storing and keeping track of al...
std::string String
A datatype used to a series of characters.
This is a widget that displays one selection from a list that can have it's visibility toggled...
This is a widget for displaying a list of captions in a box.