Graphics::Window &get_window() { return window; }
Graphics::GLContext &get_context() { return context; }
- unsigned get_width() const { return window.get_width(); }
- unsigned get_height() const { return window.get_height(); }
+ virtual unsigned get_width() const { return window.get_width(); }
+ virtual unsigned get_height() const { return window.get_height(); }
- virtual void render();
+ using View::render;
+ virtual void render(Renderer &);
private:
void window_resized(unsigned, unsigned);