Refactoring. Add line drawing.

This commit is contained in:
elasota
2019-12-27 18:05:32 -05:00
parent 7f8c46ecb2
commit 8b82ecabef
34 changed files with 676 additions and 557 deletions

View File

@@ -4,7 +4,6 @@
struct ColorTable;
struct CGraf;
struct GDevice;
struct Rect;
namespace PortabilityLayer
@@ -16,9 +15,9 @@ namespace PortabilityLayer
{
public:
virtual void Init() = 0;
virtual void GetPort(QDPort **gw, GDevice ***gdHandle) = 0;
virtual void SetPort(QDPort *gw, GDevice **gdHandle) = 0;
virtual int NewGWorld(CGraf **gw, int depth, const Rect &bounds, ColorTable **colorTable, GDevice **device, int flags) = 0;
virtual QDPort *GetPort() const = 0;
virtual void SetPort(QDPort *gw) = 0;
virtual int NewGWorld(CGraf **gw, int depth, const Rect &bounds, ColorTable **colorTable, int flags) = 0;
virtual void DisposeGWorld(CGraf *gw) = 0;
virtual QDState *GetState() = 0;