src/glRenderer.h

changeset 970
c8aae45afd85
parent 968
4b93b7963456
child 971
c00f9665a9f8
equal deleted inserted replaced
969:b1742ee91d5b 970:c8aae45afd85
133 // 133 //
134 // The main renderer object, draws the brick on the screen, manages the camera 134 // The main renderer object, draws the brick on the screen, manages the camera
135 // and selection picking. The instance of GLRenderer is accessible as 135 // and selection picking. The instance of GLRenderer is accessible as
136 // g_win->R() 136 // g_win->R()
137 // 137 //
138 class GLRenderer : public QGLWidget, protected QOpenGLFunctions 138 class GLRenderer : public QGLWidget, protected QOpenGLFunctions, public HierarchyElement
139 { 139 {
140 public: 140 public:
141 Q_OBJECT 141 Q_OBJECT
142 PROPERTY (public, bool, isDrawOnly, setDrawOnly, STOCK_WRITE) 142 PROPERTY (public, bool, isDrawOnly, setDrawOnly, STOCK_WRITE)
143 PROPERTY (public, MessageManager*, messageLog, setMessageLog, STOCK_WRITE) 143 PROPERTY (public, MessageManager*, messageLog, setMessageLog, STOCK_WRITE)

mercurial