Esempio n. 1
0
Widgets Vertical_paned::Get_children() const
{
	Widgets w;
	w.push_back(top);
	w.push_back(bottom);
	return w;
}
Esempio n. 2
0
Widgets Horizontal_paned::Get_children() const
{
	Widgets w;
	w.push_back(left);
	w.push_back(right);
	return w;
}
Esempio n. 3
0
    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;
    }
Esempio n. 4
0
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);
  }
}
Esempio n. 5
0
Widgets Expander::Get_children() const
{
	Widgets w;
	if(child) {
		w.push_back(child);
	}
	return w;
}