From: Mikko Rasa Date: Fri, 29 Oct 2021 09:49:52 +0000 (+0300) Subject: Move sigc::trackable base from View to WindowView X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=791f266553f0e6c6fc006d96eb9bc2967beb7012;p=libs%2Fgl.git Move sigc::trackable base from View to WindowView --- diff --git a/source/render/view.h b/source/render/view.h index 155a6fa9..9c756bbc 100644 --- a/source/render/view.h +++ b/source/render/view.h @@ -1,7 +1,6 @@ #ifndef MSP_GL_VIEW_H_ #define MSP_GL_VIEW_H_ -#include #include "framebuffer.h" namespace Msp { @@ -14,7 +13,7 @@ class Renderer; /** Manages the presentation of rendering results on the screen. */ -class View: public sigc::trackable +class View { protected: Framebuffer ⌖ diff --git a/source/render/windowview.h b/source/render/windowview.h index ee7c44dc..e61107a4 100644 --- a/source/render/windowview.h +++ b/source/render/windowview.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_WINDOWVIEW_H_ #define MSP_GL_WINDOWVIEW_H_ +#include #include #include #include "view.h" @@ -8,7 +9,7 @@ namespace Msp { namespace GL { -class WindowView: public View +class WindowView: public View, public sigc::trackable { private: Graphics::Window &window;