16 using std::make_unique;
17 using std::unique_ptr;
30 string GUISelectBoxParentOptionController::CONDITION_EXPANDED =
"expanded";
31 string GUISelectBoxParentOptionController::CONDITION_COLLAPSED =
"collapsed";
33 GUISelectBoxParentOptionController::GUISelectBoxParentOptionController(
GUINode* node)
47 required_dynamic_cast<GUISelectBoxController*>(selectBoxParentOptionController->selectBoxNode->getController())->toggleOpenState(required_dynamic_cast<GUIElementNode*>(selectBoxParentOptionController->node));
GUI select box option controller.
void initialize() override
Initialize controller after element has been created.
GUI select box parent option controller.
void dispose() override
Dispose controller.
GUIElementNode * arrowNode
void initialize() override
Initialize controller after element has been created.
static STATIC_DLL_IMPEXT string CONDITION_COLLAPSED
static STATIC_DLL_IMPEXT string CONDITION_EXPANDED
void toggleExpandState()
Toggle expand state.
unique_ptr< GUIActionListener > arrowNodeActionListener
GUINodeConditions & getActiveConditions()
GUI element node conditions.
bool add(const string &condition)
Add a condition.
bool remove(const string &condition)
Remove a condition.
GUIScreenNode * getScreenNode()
GUI parent node base class thats supporting child nodes.
GUI screen node that represents a screen that can be rendered via GUI system.
void removeActionListener(GUIActionListener *listener)
Remove action listener.
void addActionListener(GUIActionListener *listener)
Add action listener.
GUINode * getNodeById(const string &nodeId)
Get GUI node by id.
GUI action listener interface.