Widgets Vertical_paned::Get_children() const { Widgets w; w.push_back(top); w.push_back(bottom); return w; }
Widgets Horizontal_paned::Get_children() const { Widgets w; w.push_back(left); w.push_back(right); return w; }
virtual Widgets GetWidgets() const { Widgets widgets; widgets.push_back(m_sizerStatBox->GetStaticBox()); widgets.push_back(m_statText); #if wxUSE_MARKUP widgets.push_back(m_statMarkup); #endif // wxUSE_MARKUP #if wxUSE_STATLINE widgets.push_back(m_statLine); #endif // wxUSE_STATLINE return widgets; }
void GUIPanel::render(float tick) { if(!isAttached() || !parent) return; Widgets comboBoxes; GUIComboBox *cbPTR; if(visible) { renderClippedBounds(); for(size_t t = 0; t < elements.size(); t++) if(elements[t]->getWidgetType() != WT_COMBO_BOX) elements[t]->render(tick); else { cbPTR = (GUIComboBox*)elements[t]; if(!cbPTR->isDeployed()) cbPTR->render(tick); else comboBoxes.push_back(elements[t]); } for(size_t t = 0; t < comboBoxes.size(); t++) comboBoxes[t]->render(tick); } }
Widgets Expander::Get_children() const { Widgets w; if(child) { w.push_back(child); } return w; }