ultimatepp/uppsrc/PaintGL/PaintGL.h
mdelfede d2b54f7989 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00

27 lines
355 B
C++

#ifndef _PaintGL_PaintGL_h
#define _PaintGL_PaintGL_h
#include <Draw/Draw.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
class PaintGL {
Size size;
HBITMAP hbmp, ohbmp;
HDC hdc;
HGLRC hrc;
void Free();
void Init(Size sz);
public:
void Paint(Draw& w, const Rect& r, Callback gl);
PaintGL();
~PaintGL();
};
#endif