Example #1
0
  void UpdateVisibility() {
    assert(visible);

    edit_button->SetVisible(show_edit);
    mutate_button->SetVisible(show_mutate);
    down_button->SetVisible(show_down);
    up_button->SetVisible(show_up);
    clear_all_button->Show();
  }
Example #2
0
void
InterfaceConfigPanel::Show(const PixelRect &rc)
{
  buttonFonts->SetText(_("Fonts"));
  buttonFonts->SetOnClickNotify(dlgConfigFontsShowModal);
  buttonFonts->Show();

  RowFormWidget::Show(rc);
}