1 #include "trainproperties.h"
5 TrainProperties::TrainProperties(GLtk::Resources &r, Train &t):
11 add(*(ent_name=new GLtk::Entry(res, train.get_name())));
12 ent_name->set_geometry(
16 add(*(btn=new GLtk::Button(res, "OK")));
17 btn->set_geometry(geom.width-45, 5, 40, 25);
19 add(*(btn=new GLtk::Button(res, "Cncl")));
20 btn->set_geometry(geom.width-45, 5, 40, 25);