- Msp::Graphics::Display *dpy;
- Msp::Graphics::Window *wnd;
- Msp::Graphics::GLContext *glc;
- unsigned screen_w;
- unsigned screen_h;
- Msp::GL::Font *font;
-
- Marklin::Catalogue catalogue;
- Marklin::Layout *layout;
- Marklin::Layout3D *layout_3d;
- Marklin::Layout *cat_layout;
- Marklin::Layout3D *cat_layout_3d;
- Msp::GL::Mesh *base_mesh;
+ Msp::Graphics::SimpleGLWindow window;
+ Msp::Input::Keyboard keyboard;
+ Msp::Input::Mouse mouse;
+ Msp::GLtk::Resources ui_res;
+ Msp::GLtk::Root root;
+ Msp::GLtk::Layout *root_layout;
+
+ std::vector<Toolbar *> toolbars;
+ Msp::GLtk::Label *lbl_status;
+
+ R2C2::Catalogue catalogue;
+ R2C2::Layout3D *cat_layout_3d;
+ R2C2::View3D *cat_view;
+
+ std::string filename;
+ R2C2::Layout *layout;
+ R2C2::Layout3D *layout_3d;
+ R2C2::View3D *main_view;
+ R2C2::Overlay3D *overlay;
+ Msp::GL::Object *base_object;
+ R2C2::Route *cur_route;
+ R2C2::Zone *cur_zone;
+ std::list<R2C2::Path3D *> highlight_paths;