1 #ifndef VEHICLESPANEL_H_
2 #define VEHICLESPANEL_H_
4 #include <msp/gltk/list.h>
5 #include <msp/gltk/listdata.h>
6 #include <msp/gltk/panel.h>
7 #include "libr2c2/train.h"
9 class VehiclesPanel: public Msp::GLtk::Panel
13 Msp::GLtk::FunctionListData<R2C2::Vehicle *> vehicles;
14 Msp::GLtk::List *lst_vehicles;
17 VehiclesPanel(R2C2::Train &);
21 void remove_clicked();
22 void vehicle_added(unsigned, R2C2::Vehicle &);
23 void vehicle_removed(unsigned, R2C2::Vehicle &);