1 #ifndef NEWVEHICLEDIALOG_H_
2 #define NEWVEHICLEDIALOG_H_
4 #include <msp/gltk/dialog.h>
5 #include <msp/gltk/list.h>
6 #include <msp/gltk/listdata.h>
7 #include "libr2c2/train.h"
8 #include "libr2c2/vehicletype.h"
10 class NewVehicleDialog: public Msp::GLtk::Dialog
14 Msp::GLtk::FunctionListData<const R2C2::VehicleType *> loco_types;
15 Msp::GLtk::FunctionListData<const R2C2::VehicleType *> wagon_types;
16 Msp::GLtk::List *active_list;
19 NewVehicleDialog(R2C2::Train &);
22 void toggle_list(bool, Msp::GLtk::List *);