]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/mainwindow.h
Keep UI better in sync with the clock
[r2c2.git] / source / engineer / mainwindow.h
index fcdb8034a7b592a60d22ff3cde60bb7af29b01d6..d8e6c54e76cf32c7e346622ea93381cc7865a633 100644 (file)
@@ -16,6 +16,7 @@ private:
        Msp::GLtk::Indicator *ind_off;
        Msp::GLtk::Indicator *ind_halt;
        Msp::GLtk::Label *lbl_status;
+       Msp::GLtk::Label *lbl_clock;
 
 public:
        MainWindow(Engineer &);
@@ -26,9 +27,12 @@ private:
        void off_clicked();
        void halt_clicked();
        void trains_clicked();
+       void telemetry_clicked();
        void quit_clicked();
+       void clock_clicked();
        void power_event(bool);
        void halt_event(bool);
+       void update_clock();
 };
 
 #endif