window(options.screen_w, options.screen_h, options.fullscreen),
keyboard(window),
mouse(window),
+ ui_res("r2c2.res"),
layout(catalogue, (options.driver.empty() ? 0 : Driver::create(options.driver))),
layout_3d(layout),
server(0),
window.set_title("Railroad Engineer");
window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &Engineer::exit), 0));
- DataFile::load(ui_res, "r2c2.res");
root = new GLtk::Root(ui_res, window);
mouse.signal_button_press.connect(sigc::mem_fun(this, &Engineer::button_press));
mouse.signal_axis_motion.connect(sigc::mem_fun(this, &Engineer::axis_motion));