Files
Aerofoil/PortabilityLayer/PLQDOffscreen.h
2019-12-30 20:53:11 -05:00

42 lines
748 B
C

#pragma once
#ifndef __PL_QDOFFSCREEN_H__
#define __PL_QDOFFSCREEN_H__
#include "PLCore.h"
#include "PLQDraw.h"
struct ColorTable
{
};
struct PixMap;
typedef ColorTable *CTabPtr;
typedef CTabPtr *CTabHandle;
typedef PixMap *PixMapPtr;
typedef PixMapPtr *PixMapHandle;
typedef Picture *PicPtr;
typedef THandle<Picture> PicHandle;
enum QDFlags
{
useTempMem = 1,
};
PLError_t NewGWorld(DrawSurface **gworld, GpPixelFormat_t pixelFormat, const Rect *bounds, CTabHandle colorTable);
void DisposeGWorld(DrawSurface *gworld);
PixMapHandle GetGWorldPixMap(DrawSurface *gworld);
PicHandle GetPicture(short resID);
void OffsetRect(Rect *rect, int right, int down);
DrawSurface *GetGraphicsPort();
void SetGraphicsPort(DrawSurface *gw);
#endif