X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fview.h;h=0dd638959693f6c052494892a09a723b273a95a5;hb=1bd2a77b4999d240a27e13a9069e8fca3410d363;hp=93eb49d7d64c82d8223a21c406bea9aaf49675f4;hpb=1d9f3894fceb21393fb7ee9ed4ca15788f8e4f54;p=libs%2Fgl.git diff --git a/source/view.h b/source/view.h index 93eb49d7..0dd63895 100644 --- a/source/view.h +++ b/source/view.h @@ -27,6 +27,11 @@ private: public: View(Graphics::Window &, Graphics::GLContext &); + 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(); } + void set_content(const Renderable *); void synchronize_camera_aspect(Camera &);