Files
Aerofoil/PortabilityLayer/PLQDOffscreen.h
2020-01-18 21:15:31 -05:00

34 lines
661 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;
PLError_t NewGWorld(DrawSurface **gworld, GpPixelFormat_t pixelFormat, const Rect *bounds, CTabHandle colorTable);
void DisposeGWorld(DrawSurface *gworld);
PixMapHandle GetGWorldPixMap(DrawSurface *gworld);
THandle<BitmapImage> GetPicture(short resID);
void OffsetRect(Rect *rect, int right, int down);
DrawSurface *GetGraphicsPort();
void SetGraphicsPort(DrawSurface *gw);
#endif