- const Resources &resources;
- Graphics::Window &window;
- Label *lbl_tooltip;
- int pointer_x;
- int pointer_y;
- Msp::Time::TimeStamp tooltip_timeout;
- Widget *tooltip_target;
+ Resources &resources;
+ Input::Keyboard *keyboard = nullptr;
+ std::unique_ptr<InputMethod> input_method;
+ Input::Mouse *mouse = nullptr;
+ Input::Touchscreen *touchscreen = nullptr;
+ std::unique_ptr<Input::Device> own_input[2];
+ Label *lbl_tooltip = nullptr;
+ int pointer_x = 0;
+ int pointer_y = 0;
+ Time::TimeStamp tooltip_timeout;
+ Time::TimeStamp last_tick;
+ Widget *tooltip_target = nullptr;
+ Msp::GL::Camera camera;
+ Msp::GL::Program *shprog = nullptr;
+ Msp::GL::Blend blend;
+
+ Root(Resources &, Graphics::Window &, std::unique_ptr<Input::Keyboard>, std::unique_ptr<Input::Mouse>);