- ent_addr->set_geometry(GLtk::Geometry(10, geom.h-25, 40, 20));
+ ent_addr->set_geometry(GLtk::Geometry(10, geom.h-30, 40, 20));
+
+ add(*(drp_type=new GLtk::Dropdown(res)));
+ drp_type->set_geometry(GLtk::Geometry(60, geom.h-30, geom.w-70, 20));
+
+ const map<unsigned, LocoType *> &locos = engineer.get_catalogue().get_locomotives();
+ for(map<unsigned, LocoType *>::const_iterator i=locos.begin(); i!=locos.end(); ++i)
+ drp_type->append(format("%d %s", i->second->get_article_number(), i->second->get_name()));