context.h 217 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
#ifndef _CONTEXT_H_
#define _CONTEXT_H_

#include "types.h"

#include <QGLContext>

8
9
class Context : public QGLContext
{
Pierre Kraemer's avatar
Pierre Kraemer committed
10
11
12
13
14
15
16
public:
	Context(QWidget* w, const QGLFormat & format);

	void setDevice(QWidget* w);
};

#endif