]> git.tdb.fi Git - r2c2.git/blob - source/engineer/mainpanel.h
Initial revision
[r2c2.git] / source / engineer / mainpanel.h
1 #ifndef MAINPANEL_H_
2 #define MAINPANEL_H_
3
4 #include <msp/gltk/indicator.h>
5 #include <msp/gltk/panel.h>
6
7 class Engineer;
8
9 class MainPanel: public Msp::GLtk::Panel
10 {
11 public:
12         MainPanel(Engineer &, Msp::GLtk::Resources &);
13 private:
14         Engineer &engineer;
15         Msp::GLtk::Indicator *ind_on;
16         Msp::GLtk::Indicator *ind_off;
17
18         void power_on();
19         void power_off();
20         void new_loc();
21         void quit();
22 };
23
24 #endif