diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-22 16:19:26 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-22 16:19:26 +1100 |
commit | b9425707ea96e19af7617b6e1beefba6e90702e7 (patch) | |
tree | b053e6c8435294598621fe55de49b68b84a2b809 /cocoa/PlatCocoa.h | |
parent | c5c27fdb1ae181945221363319ace17c51d4e40e (diff) | |
download | scintilla-mirror-b9425707ea96e19af7617b6e1beefba6e90702e7.tar.gz |
Replace InitPixMap on Cocoa for drag & drop and XPM images in lists.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index d11b52336..83b724df9 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -82,6 +82,7 @@ public: 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; + std::unique_ptr<SurfaceImpl> AllocatePixMapImplementation(int width, int height); CGContextRef GetContext() { return gc; } void SetMode(SurfaceMode mode) override; @@ -93,7 +94,7 @@ public: /** Returns a CGImageRef that represents the surface. Returns NULL if this is not possible. */ CGImageRef CreateImage(); - void CopyImageRectangle(Surface &surfaceSource, PRectangle srcRect, PRectangle dstRect); + void CopyImageRectangle(SurfaceImpl *source, PRectangle srcRect, PRectangle dstRect); int LogPixelsY() override; int PixelDivisions() override; |