120 void tick()
override;
GUI drop down controller.
void onFocusGained() override
On focus gained.
void dispose() override
Dispose controller.
GUIElementNode * arrowNode
static STATIC_DLL_IMPEXT string CONDITION_CLOSED
void postLayout() override
Post layout event.
GUIParentNode * dropDownContainerNode
void initialize() override
Initialize controller after element has been created.
void selectLast()
Select last.
void handleKeyboardEvent(GUIKeyboardEvent *event) override
Handle keyboard event.
void toggleOpenState()
Toggle open state.
GUIElementNode * textElementNode
void selectNext()
Select next node.
void onFocusLost() override
On focus lost.
void setValue(const MutableString &value) override
Set value.
void handleMouseEvent(GUINode *node, GUIMouseEvent *event) override
Handle mouse event.
void doSearch()
Do search.
vector< GUIDropDownOptionController * > dropDownOptionControllers
void tick() override
Tick method will be executed once per frame.
GUIDropDownController(GUINode *node)
Private constructor.
int lastSelectedDropDownOptionControllerIdx
void determineDropDownOptionControllers()
Determine drop down option controllers.
static STATIC_DLL_IMPEXT string CONDITION_DISABLED
static STATIC_DLL_IMPEXT string CONDITION_ENABLED
void setDisabled(bool disabled) override
Set disabled.
const MutableString & getValue() override
bool isDisabled() override
void onSubTreeChange() override
On sub tree change.
void select(int idx)
Select by index.
static STATIC_DLL_IMPEXT string CONDITION_OPENED
int selectedDropDownOptionControllerIdx
void selectPrevious()
Select previous.
GUI drop down option controller.
GUI node controller base class.
GUI parent node base class thats supporting child nodes.
#define STATIC_DLL_IMPEXT