コード例 #1
0
void UIScrollBarMetadata::SetScrollOrientation(int value)
{
    if (!VerifyActiveParamID())
    {
        return;
    }	
    
	GetActiveUIScrollBar()->SetOrientation((UIScrollBar::eScrollOrientation)value);
}
コード例 #2
0
int UIListMetadata::GetOrientation()
{
    if (!VerifyActiveParamID())
    {
        return UIList::ORIENTATION_VERTICAL;
    }

    return GetActiveUIList()->GetOrientation();
}
コード例 #3
0
int UIScrollBarMetadata::GetScrollOrientation()
{
    if (!VerifyActiveParamID())
    {
        return UIScrollBar::ORIENTATION_VERTICAL;
    }

    return GetActiveUIScrollBar()->GetOrientation();
}
コード例 #4
0
void UIListMetadata::SetOrientation(int value)
{
    if (!VerifyActiveParamID())
    {
        return;
    }	
    
	UpdateListCellSize(GetActiveUIList()->GetRect(), (UIList::eListOrientation)value);
	GetActiveUIList()->SetOrientation((UIList::eListOrientation)value);	
}
コード例 #5
0
void UISwitchMetadata::SetIsLeftSelected(const bool value)
{
	UISwitch* activeSwitch = this->GetActiveUISwitch();
	if (!activeSwitch || !VerifyActiveParamID())
	{
		return;
	}
    
    activeSwitch->SetIsLeftSelected(value);
}
コード例 #6
0
bool UISwitchMetadata::GetIsLeftSelected()
{
	UISwitch* activeSwitch = this->GetActiveUISwitch();
	if (!activeSwitch || !VerifyActiveParamID())
	{
		return false;
	}

    return activeSwitch->GetIsLeftSelected();
}
コード例 #7
0
int UIListMetadata::GetAggregatorID()
{
    if (!VerifyActiveParamID())
    	return HierarchyTreeNode::HIERARCHYTREENODEID_EMPTY;

	EditorListDelegate *editorList = (EditorListDelegate *)GetActiveUIList()->GetDelegate();	
	if (!editorList)
		return HierarchyTreeNode::HIERARCHYTREENODEID_EMPTY;

	return editorList->GetAggregatorID();
}
コード例 #8
0
void UIListMetadata::SetAggregatorID(int value)
{
	if (!VerifyActiveParamID())
    	return;

	EditorListDelegate *editorList = (EditorListDelegate *)GetActiveUIList()->GetDelegate();
	if (!editorList)
		return;

	editorList->SetAggregatorID(value);
	GetActiveUIList()->Refresh();
}