]> git.tdb.fi Git - libs/gl.git/commitdiff
Move sigc::trackable base from View to WindowView
authorMikko Rasa <tdb@tdb.fi>
Fri, 29 Oct 2021 09:49:52 +0000 (12:49 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 29 Oct 2021 09:54:20 +0000 (12:54 +0300)
source/render/view.h
source/render/windowview.h

index 155a6fa995d91bab92f90d7090b6da9f8496f113..9c756bbcdb453c62b1701a8421d3df075c6076f0 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GL_VIEW_H_
 #define MSP_GL_VIEW_H_
 
-#include <sigc++/trackable.h>
 #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 &target;
index ee7c44dce994268f8b75555b576609e1386221e4..e61107a4790c2d492eda33c89de11af02b0213fa 100644 (file)
@@ -1,6 +1,7 @@
 #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"
@@ -8,7 +9,7 @@
 namespace Msp {
 namespace GL {
 
-class WindowView: public View
+class WindowView: public View, public sigc::trackable
 {
 private:
        Graphics::Window &window;