mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Major draw code refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "PLErrorCodes.h"
|
||||
|
||||
struct ColorTable;
|
||||
struct CGraf;
|
||||
struct DrawSurface;
|
||||
struct Rect;
|
||||
|
||||
namespace PortabilityLayer
|
||||
@@ -18,8 +18,8 @@ namespace PortabilityLayer
|
||||
virtual void Init() = 0;
|
||||
virtual QDPort *GetPort() const = 0;
|
||||
virtual void SetPort(QDPort *gw) = 0;
|
||||
virtual PLError_t NewGWorld(CGraf **gw, GpPixelFormat_t pixelFormat, const Rect &bounds, ColorTable **colorTable) = 0;
|
||||
virtual void DisposeGWorld(CGraf *gw) = 0;
|
||||
virtual PLError_t NewGWorld(DrawSurface **gw, GpPixelFormat_t pixelFormat, const Rect &bounds, ColorTable **colorTable) = 0;
|
||||
virtual void DisposeGWorld(DrawSurface *gw) = 0;
|
||||
|
||||
virtual QDState *GetState() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user