mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-18 23:25:53 +01:00
46 lines
827 B
C++
46 lines
827 B
C++
#ifndef NULLSOFT_WASABI_OSX_PAINTCANVAS_H
|
|
#define NULLSOFT_WASABI_OSX_PAINTCANVAS_H
|
|
|
|
#include <tataki/export.h>
|
|
#include <tataki/canvas/canvas.h>
|
|
#include <api/wnd/basewnd.h>
|
|
|
|
class TATAKIAPI PaintCanvas : public Canvas
|
|
{
|
|
public:
|
|
PaintCanvas();
|
|
~PaintCanvas();
|
|
bool beginPaint(BaseWnd *wnd);
|
|
protected:
|
|
CGrafPtr qdcontext;
|
|
};
|
|
|
|
class TATAKIAPI PaintBltCanvas : public PaintCanvas
|
|
{
|
|
public:
|
|
bool beginPaintNC(BaseWnd *wnd)
|
|
{
|
|
return beginPaint(wnd);
|
|
}
|
|
};
|
|
#warning port PaintBltCanvas
|
|
class TATAKIAPI WndCanvas : public Canvas
|
|
{
|
|
public:
|
|
WndCanvas();
|
|
virtual ~WndCanvas();
|
|
|
|
// address client area
|
|
int attachToClient(BaseWnd *basewnd);
|
|
|
|
private:
|
|
CGrafPtr qdcontext;
|
|
};
|
|
|
|
class TATAKIAPI TextInfoCanvas : public Canvas
|
|
{
|
|
public:
|
|
TextInfoCanvas(BaseWnd *baseWnd);
|
|
virtual ~TextInfoCanvas();
|
|
};
|
|
#endif |