view edview.h @ 388:015f2da65841

Add edview to the build.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 18 Oct 2012 20:11:34 +0300
parents eb5b793c8867
children 28a74940f2b6
line wrap: on
line source

#ifndef EDVIEW_H
#define EDVIEW_H

#include <QtOpenGL>

class DemoView : public QGLWidget
{
    Q_OBJECT

public:
    DemoView(QWidget *parent);
    ~DemoView();

    void saveGLState();
    void restoreGLState();

    void paintEvent(QPaintEvent *);

public slots:
    void draw();

private:
    QGLFramebufferObject *render_fbo;
    QGLFramebufferObject *texture_fbo;
};

#endif