4 #include <msp/gltk/dropdown.h>
5 #include <msp/gltk/label.h>
6 #include <msp/gltk/panel.h>
7 #include "libr2c2/train.h"
11 class RouterPanel: public Msp::GLtk::Panel, public sigc::trackable
16 Msp::GLtk::Label *lbl_route;
17 Msp::GLtk::FunctionListData<const R2C2::Route *> routes;
18 Msp::GLtk::Dropdown *drp_routes;
19 sigc::connection pick_conn;
23 RouterPanel(Engineer &, R2C2::Train &);
26 void ai_event(R2C2::TrainAI &, const R2C2::TrainAI::Message &);
27 void update_route(const R2C2::Route *);
28 void route_selected(unsigned);
30 void goto_pick_done(R2C2::Track *, unsigned);