#ifndef MSP_GL_WINDOWVIEW_H_
#define MSP_GL_WINDOWVIEW_H_
+#include <sigc++/trackable.h>
#include <msp/graphics/glcontext.h>
#include <msp/graphics/window.h>
#include "view.h"
namespace Msp {
namespace GL {
-class WindowView: public View
+/**
+A view targeting a Graphics::Window.
+
+After rendering, buffers are swapped to show the result in the window.
+
+The aspect ratio of the view's Camera is automatically updated to match that of
+the window.
+*/
+class WindowView: public View, public sigc::trackable
{
private:
Graphics::Window &window;