4 #include <msp/gltk/indicator.h>
5 #include <msp/gltk/label.h>
6 #include <msp/gltk/panel.h>
7 #include "network/client.h"
9 class StatusBar: public Msp::GLtk::Panel
13 Msp::GLtk::Indicator *ind_power_on;
14 Msp::GLtk::Indicator *ind_power_off;
15 Msp::GLtk::Indicator *ind_halt;
16 Msp::GLtk::Label *lbl_status;
19 StatusBar(R2C2::Client &);
23 void ui_off_clicked();
24 void ui_halt_clicked();
25 void power_changed(bool);
26 void halt_changed(bool);
27 void emergency(const std::string &);