Files
Aerofoil/PortabilityLayer/PLQDOffscreen.h

44 lines
780 B
C
Raw Normal View History

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
{
};
struct PixMap;
2019-11-11 00:11:59 -05:00
typedef ColorTable *CTabPtr;
typedef CTabPtr *CTabHandle;
typedef PixMap *PixMapPtr;
typedef PixMapPtr *PixMapHandle;
typedef Picture *PicPtr;
2019-12-29 23:14:37 -05:00
typedef THandle<Picture> PicHandle;
2019-11-11 00:11:59 -05:00
enum QDFlags
{
useTempMem = 1,
};
2019-12-29 06:38:18 -05:00
PLError_t NewGWorld(GWorldPtr *gworld, GpPixelFormat_t pixelFormat, const Rect *bounds, CTabHandle colorTable);
2019-11-11 00:11:59 -05:00
void DisposeGWorld(GWorldPtr gworld);
PixMapHandle GetGWorldPixMap(GWorldPtr gworld);
PicHandle GetPicture(short resID);
void OffsetRect(Rect *rect, int right, int down);
void DrawPicture(PicHandle pict, Rect *bounds);
2019-12-27 18:05:32 -05:00
CGrafPtr GetGraphicsPort();
void SetGraphicsPort(CGrafPtr gw);
2019-11-11 00:11:59 -05:00
#endif