tv_rename/seasonwindow.hpp

36 lines
693 B
C++
Raw Normal View History

2019-01-23 19:46:03 +00:00
#ifndef GTKMM_SEASON_WINDOW
#define GTKMM_SEASON_WINDOW
#include <gtkmm/button.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/label.h>
2019-02-04 16:39:48 +00:00
#include <gtkmm/layout.h>
2019-01-23 19:46:03 +00:00
#include <gtkmm/window.h>
class SeasonWindow : public Gtk::Window {
public:
2019-02-04 16:39:48 +00:00
SeasonWindow( const std::vector< int > &seasons,
std::vector< int > &_returned );
2019-01-23 19:46:03 +00:00
virtual ~SeasonWindow() = default;
private:
void confirm();
void select_all();
void select_none();
protected:
Gtk::Button m_confirm;
Gtk::Button m_all;
Gtk::Button m_none;
Gtk::Label m_label;
Gtk::Layout m_layout;
2019-02-04 16:39:48 +00:00
std::vector< Gtk::CheckButton > m_checks;
2019-01-23 19:46:03 +00:00
2019-02-04 16:39:48 +00:00
std::vector< int > &returned;
2019-01-23 19:46:03 +00:00
};
#endif