void UIScrollBarMetadata::SetScrollOrientation(int value) { if (!VerifyActiveParamID()) { return; } GetActiveUIScrollBar()->SetOrientation((UIScrollBar::eScrollOrientation)value); }
int UIListMetadata::GetOrientation() { if (!VerifyActiveParamID()) { return UIList::ORIENTATION_VERTICAL; } return GetActiveUIList()->GetOrientation(); }
int UIScrollBarMetadata::GetScrollOrientation() { if (!VerifyActiveParamID()) { return UIScrollBar::ORIENTATION_VERTICAL; } return GetActiveUIScrollBar()->GetOrientation(); }
void UIListMetadata::SetOrientation(int value) { if (!VerifyActiveParamID()) { return; } UpdateListCellSize(GetActiveUIList()->GetRect(), (UIList::eListOrientation)value); GetActiveUIList()->SetOrientation((UIList::eListOrientation)value); }
void UISwitchMetadata::SetIsLeftSelected(const bool value) { UISwitch* activeSwitch = this->GetActiveUISwitch(); if (!activeSwitch || !VerifyActiveParamID()) { return; } activeSwitch->SetIsLeftSelected(value); }
bool UISwitchMetadata::GetIsLeftSelected() { UISwitch* activeSwitch = this->GetActiveUISwitch(); if (!activeSwitch || !VerifyActiveParamID()) { return false; } return activeSwitch->GetIsLeftSelected(); }
int UIListMetadata::GetAggregatorID() { if (!VerifyActiveParamID()) return HierarchyTreeNode::HIERARCHYTREENODEID_EMPTY; EditorListDelegate *editorList = (EditorListDelegate *)GetActiveUIList()->GetDelegate(); if (!editorList) return HierarchyTreeNode::HIERARCHYTREENODEID_EMPTY; return editorList->GetAggregatorID(); }
void UIListMetadata::SetAggregatorID(int value) { if (!VerifyActiveParamID()) return; EditorListDelegate *editorList = (EditorListDelegate *)GetActiveUIList()->GetDelegate(); if (!editorList) return; editorList->SetAggregatorID(value); GetActiveUIList()->Refresh(); }