diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-20 12:53:27 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-20 12:53:27 +1100 |
commit | 921df6efca5b385790a2806f8b8844becb36e773 (patch) | |
tree | d84a6c8801e83a972485c052559ab9997e8073d2 /src | |
parent | 2813306346e4087679915c2b30f1be4949f0228a (diff) | |
download | scintilla-mirror-921df6efca5b385790a2806f8b8844becb36e773.tar.gz |
Add AllocatePixMap method on Surface to create a pixmap surface.
Diffstat (limited to 'src')
-rw-r--r-- | src/Platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index 3afa24c92..5fa139189 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -189,6 +189,7 @@ public: virtual void Init(WindowID wid)=0; virtual void Init(SurfaceID sid, WindowID wid)=0; virtual void InitPixMap(int width, int height, Surface *surface_, WindowID wid)=0; + virtual std::unique_ptr<Surface> AllocatePixMap(int width, int height)=0; virtual void SetMode(SurfaceMode mode)=0; |