Mercurial > hg > dmlib
view editor/edview.h @ 2511:6f2572b6f151
Comment out fields in DMC64ImageConvSpec that are not currently used.
Improve comments of the fields that are.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 30 Apr 2020 08:51:21 +0300 |
parents | e2ac08228a0f |
children |
line wrap: on
line source
#ifndef EDVIEW_H #define EDVIEW_H #include <QtOpenGL> #include <QImage> #include "dmengine.h" class QEDGLDemoView : public QGLWidget { Q_OBJECT public: QEDGLDemoView(QWidget *parent); ~QEDGLDemoView(); QSize minimumSizeHint() const; QSize sizeHint() const; virtual void setEngineData(DMEngineData *mengine); virtual void render(int frameTime); void paintEvent(QPaintEvent *); private: void saveGLState(); void restoreGLState(); protected: DMEngineData *engine; }; class QEDSWDemoView : public QEDGLDemoView { Q_OBJECT public: QEDSWDemoView(QWidget *parent); ~QEDSWDemoView(); void setEngineData(DMEngineData *mengine); void render(int frameTime); void paintEvent(QPaintEvent *); private: QImage *img; }; #endif