Пример #1
0
List<UIControl*> UISlider::GetSubcontrols()
{
    List<UIControl*> subControls;
    AddControlToList(subControls, UISLIDER_THUMB_SPRITE_CONTROL_NAME);

    return subControls;
}
Пример #2
0
List<UIControl* > UIScrollBar::GetSubcontrols()
{
	List<UIControl* > subControls;

	// Lookup for the contols by their names.
	AddControlToList(subControls, UISCROLLBAR_SLIDER_NAME);

	return subControls;
}