|
- /* Solmyr - H3M manager
- * Copyright (C) 2009 Xavier Gendre
- *
- * This file is part of Solmyr.
- *
- * Solmyr is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Solmyr is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Solmyr. If not, see <http://www.gnu.org/licenses/>.
- */
-
- #ifndef H_XG_FILTERBOX_1008091405
- #define H_XG_FILTERBOX_1008091405
-
- #include "filter.hpp"
-
- #include <gtkmm/box.h>
- #include <gtkmm/comboboxtext.h>
-
- namespace Solmyr
- {
-
- class FilterBox : public Gtk::VBox
- {
- public:
- FilterBox();
- virtual ~FilterBox() {}
-
- // Signal accessors
- typedef sigc::signal<void, Solmyr::Filter> sigt_refresh;
- sigt_refresh signal_refresh()
- {return m_signal_refresh;}
-
- protected:
- // Signals
- sigt_refresh m_signal_refresh;
-
- // Signal handlers
- virtual void on_refresh_clicked();
-
- // Child widgets
- Gtk::ComboBoxText m_cbt_version,
- m_cbt_size,
- m_cbt_difficulty,
- m_cbt_underground,
- m_cbt_victory,
- m_cbt_loss,
- m_cbt_allies,
- m_cbt_player_sg,
- m_cbt_player_nb,
- m_cbt_human_sg,
- m_cbt_human_nb;
- };
-
- } // namespace Solmyr
-
- #endif // H_XG_FILTERBOX_1008091405
|