2019-11-11 00:11:59 -05:00
|
|
|
#pragma once
|
|
|
|
|
#ifndef __PL_QDOFFSCREEN_H__
|
|
|
|
|
#define __PL_QDOFFSCREEN_H__
|
|
|
|
|
|
|
|
|
|
#include "PLCore.h"
|
2019-12-26 12:58:58 -05:00
|
|
|
#include "PLQDraw.h"
|
2019-11-11 00:11:59 -05:00
|
|
|
|
|
|
|
|
struct ColorTable
|
|
|
|
|
{
|
|
|
|
|
};
|
|
|
|
|
|
2019-12-11 00:51:42 -05:00
|
|
|
struct PixMap;
|
2019-11-11 00:11:59 -05:00
|
|
|
|
|
|
|
|
typedef ColorTable *CTabPtr;
|
|
|
|
|
typedef CTabPtr *CTabHandle;
|
|
|
|
|
|
|
|
|
|
typedef PixMap *PixMapPtr;
|
|
|
|
|
typedef PixMapPtr *PixMapHandle;
|
|
|
|
|
|
2021-06-06 01:12:21 -04:00
|
|
|
PLError_t NewGWorld(DrawSurface **gworld, GpPixelFormat_t pixelFormat, const Rect &bounds);
|
2019-12-30 20:53:11 -05:00
|
|
|
void DisposeGWorld(DrawSurface *gworld);
|
2019-11-11 00:11:59 -05:00
|
|
|
|
2019-12-30 20:53:11 -05:00
|
|
|
PixMapHandle GetGWorldPixMap(DrawSurface *gworld);
|
2019-11-11 00:11:59 -05:00
|
|
|
|
|
|
|
|
void OffsetRect(Rect *rect, int right, int down);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|