X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fview.h;h=0dd638959693f6c052494892a09a723b273a95a5;hb=661073576254a203fa497fb4c2f550dc269cd5de;hp=93eb49d7d64c82d8223a21c406bea9aaf49675f4;hpb=9759cae2abf138acc548e3f230967e2c843e967e;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 &);