X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Fmainpanel.h;h=a4b62b7316504319dab6786c5082cb0b8f8daf65;hb=a72309e64614bb1e230f9842d94dc261be1301e6;hp=017617dafff437f9fdec9281b7337a10a5d2b7c8;hpb=e60fdcb9617f539b4d578d06ec46eb955c5e0624;p=r2c2.git diff --git a/source/engineer/mainpanel.h b/source/engineer/mainpanel.h index 017617d..a4b62b7 100644 --- a/source/engineer/mainpanel.h +++ b/source/engineer/mainpanel.h @@ -1,6 +1,6 @@ /* $Id$ -This file is part of the MSP Märklin suite +This file is part of R²C² Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -22,17 +22,20 @@ private: Msp::GLtk::Indicator *ind_on; Msp::GLtk::Indicator *ind_off; Msp::GLtk::Label *lbl_status; + Msp::GLtk::Indicator *ind_halt; public: - MainPanel(Engineer &, Msp::GLtk::Resources &); + MainPanel(Engineer &); void set_status_text(const std::string &); private: void power_on(); void power_off(); + void toggle_halt(); void new_loc(); void quit(); void power_event(bool); + void halt_event(bool); }; #endif