#define MSP_GL_WINDOWVIEW_H_
#include <sigc++/trackable.h>
-#include <msp/graphics/glcontext.h>
#include <msp/graphics/window.h>
+#include "device.h"
#include "view.h"
namespace Msp {
{
private:
Graphics::Window &window;
- Graphics::GLContext &context;
+ Device &device;
public:
- WindowView(Graphics::Window &, Graphics::GLContext &);
+ WindowView(Graphics::Window &);
Graphics::Window &get_window() { return window; }
- Graphics::GLContext &get_context() { return context; }
virtual unsigned get_width() const { return window.get_width(); }
virtual unsigned get_height() const { return window.get_height(); }