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 /cocoa/PlatCocoa.h | |
parent | 2813306346e4087679915c2b30f1be4949f0228a (diff) | |
download | scintilla-mirror-921df6efca5b385790a2806f8b8844becb36e773.tar.gz |
Add AllocatePixMap method on Surface to create a pixmap surface.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 040821cb8..f8a941f95 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -75,11 +75,13 @@ private: public: SurfaceImpl(); + SurfaceImpl(const SurfaceImpl *surface, int width, int height); ~SurfaceImpl() override; void Init(WindowID wid) override; void Init(SurfaceID sid, WindowID wid) override; void InitPixMap(int width, int height, Surface *surface_, WindowID wid) override; + std::unique_ptr<Surface> AllocatePixMap(int width, int height) override; CGContextRef GetContext() { return gc; } void SetMode(SurfaceMode mode) override; |