Files
oak-editor/ui/viewerwindow.h
T
2019-01-17 11:49:24 +11:00

21 lines
365 B
C++

#ifndef VIEWERWINDOW_H
#define VIEWERWINDOW_H
#include <QOpenGLWindow>
class QMutex;
class ViewerWindow : public QOpenGLWindow {
Q_OBJECT
public:
ViewerWindow(QOpenGLContext* share);
void set_texture(GLuint t, double iar, QMutex *imutex);
private:
void paintGL();
GLuint texture;
double ar;
QMutex* mutex;
};
#endif // VIEWERWINDOW_H