small refactoring

This commit is contained in:
2021-05-31 12:47:46 +03:00
parent 5eaa20202b
commit a9f7408e71
44 changed files with 86 additions and 595 deletions

View File

@@ -24,7 +24,7 @@ class QOpenGLContext;
class QOpenGLPaintDevice;
class OpenGLWindow: public QWindow, protected QOpenGLExtraFunctions
class OpenGLWindow: public QWindow, public QOpenGLExtraFunctions
{
Q_OBJECT
public:
@@ -33,9 +33,7 @@ public:
virtual void render(QPainter *painter);
virtual void render();
virtual void initialize();
QOpenGLContext * context() {return m_context;}
public slots:
@@ -44,7 +42,6 @@ public slots:
protected:
bool event(QEvent *event) override;
void exposeEvent(QExposeEvent *event) override;
private: