mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 14:16:10 -06:00
22 lines
385 B
C++
22 lines
385 B
C++
#ifndef _GlDraw_GlDraw_h_
|
|
#define _GlDraw_GlDraw_h_
|
|
|
|
#include <GLCtrl/GLCtrl.h>
|
|
|
|
namespace Upp {
|
|
|
|
struct GLDraw : SDraw {
|
|
void SetColor(Color c);
|
|
|
|
virtual void PutImage(Point p, const Image& m, const Rect& src);
|
|
virtual void PutRect(const Rect& r, Color color);
|
|
|
|
void InitGL(Size sz);
|
|
|
|
static void ClearCache();
|
|
static void ResetCache();
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|