4 #include <sigc++/trackable.h>
5 #include <msp/gltk/indicator.h>
6 #include <msp/gltk/label.h>
7 #include <msp/gltk/panel.h>
11 class MainWindow: public Msp::GLtk::Panel, public sigc::trackable
15 Msp::GLtk::Indicator *ind_on;
16 Msp::GLtk::Indicator *ind_off;
17 Msp::GLtk::Indicator *ind_halt;
18 Msp::GLtk::Label *lbl_status;
19 Msp::GLtk::Label *lbl_clock;
22 MainWindow(Engineer &);
24 void set_status_text(const std::string &);
29 void trains_clicked();
31 void power_event(bool);
32 void halt_event(bool);