X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Fmainpanel.h;h=3e58d12bdca29ba17c14986672fabafff0376d31;hb=bc955b09faf8365a72d07bb5ee1253c9b958c897;hp=3d9a2b7a29cb29671882956a5ef2ff8589d1e043;hpb=6c61179fe09af2f5366d50f10aadbf5f83438087;p=r2c2.git diff --git a/source/engineer/mainpanel.h b/source/engineer/mainpanel.h index 3d9a2b7..3e58d12 100644 --- a/source/engineer/mainpanel.h +++ b/source/engineer/mainpanel.h @@ -2,19 +2,24 @@ #define MAINPANEL_H_ #include +#include #include class Engineer; class MainPanel: public Msp::GLtk::Panel { -public: - MainPanel(Engineer &, Msp::GLtk::Resources &); private: Engineer &engineer; Msp::GLtk::Indicator *ind_on; Msp::GLtk::Indicator *ind_off; + Msp::GLtk::Label *lbl_status; + +public: + MainPanel(Engineer &, Msp::GLtk::Resources &); + void set_status_text(const std::string &); +private: void power_on(); void power_off(); void new_loc();