X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fwindowview.h;h=6ba93f88b735e44e30e9182fc8bda1daae30091f;hb=refs%2Fheads%2Fmaster;hp=825601f186cd14b2da061c320938f45a30eff2f8;hpb=e07b25a160c5d3231282df948017460ac581b4d7;p=libs%2Fgl.git diff --git a/source/windowview.h b/source/windowview.h deleted file mode 100644 index 825601f1..00000000 --- a/source/windowview.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef MSP_GL_WINDOWVIEW_H_ -#define MSP_GL_WINDOWVIEW_H_ - -#include -#include -#include -#include "view.h" - -namespace Msp { -namespace GL { - -class WindowView: public View -{ -private: - Graphics::Window &window; - Graphics::GLContext &context; - -public: - WindowView(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(); } - - virtual void render(); - -private: - void window_resized(unsigned, unsigned); -}; - -} // namespace GL -} // namespace Msp - -#endif