- 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;
- Selection *selection;
- Manipulator *manipulator;
- Measure *measure;
- Input *input;
- Mode mode;
- float cam_yaw;
- float cam_pitch;
- Marklin::Point cam_pos;
- bool shift;
- int move_x;
- int move_y;
- int zoom;
- int rotate;
- int pitch;
- int pointer_x;
- int pointer_y;
- int tooltip_x;
- int tooltip_y;
- std::string tooltip;
- Msp::Time::TimeStamp tooltip_timeout;
+ 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;
+
+ Mode mode;
+ Selection selection;
+ SelectionWrap sel_wrap;
+ Tool *cur_tool;
+ unsigned keep_status;
+ CameraController *camera_ctl;
+