Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
45
Src/Wasabi/api/wnd/platform/osx/PaintCanvas.h
Normal file
45
Src/Wasabi/api/wnd/platform/osx/PaintCanvas.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef NULLSOFT_WASABI_OSX_PAINTCANVAS_H
|
||||
#define NULLSOFT_WASABI_OSX_PAINTCANVAS_H
|
||||
|
||||
#include <tataki/canvas/canvas.h>
|
||||
#include <api/wnd/basewnd.h>
|
||||
|
||||
class PaintCanvas : public Canvas
|
||||
{
|
||||
public:
|
||||
PaintCanvas();
|
||||
~PaintCanvas();
|
||||
bool beginPaint(BaseWnd *wnd);
|
||||
protected:
|
||||
CGrafPtr qdcontext;
|
||||
};
|
||||
|
||||
class PaintBltCanvas : public PaintCanvas
|
||||
{
|
||||
public:
|
||||
bool beginPaintNC(BaseWnd *wnd)
|
||||
{
|
||||
return beginPaint(wnd);
|
||||
}
|
||||
};
|
||||
#warning port PaintBltCanvas
|
||||
class WndCanvas : public Canvas
|
||||
{
|
||||
public:
|
||||
WndCanvas();
|
||||
virtual ~WndCanvas();
|
||||
|
||||
// address client area
|
||||
int attachToClient(BaseWnd *basewnd);
|
||||
|
||||
private:
|
||||
CGrafPtr qdcontext;
|
||||
};
|
||||
|
||||
class TextInfoCanvas : public Canvas
|
||||
{
|
||||
public:
|
||||
TextInfoCanvas(BaseWnd *baseWnd);
|
||||
virtual ~TextInfoCanvas();
|
||||
};
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue