diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-03-25 09:20:08 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-03-25 09:20:08 +1100 |
| commit | 20bb1c7c0f6931819745d9756ab14246c20c4e9f (patch) | |
| tree | f7e10e6097b99c44a03a246b07eda940581445cd /cocoa/PlatCocoa.h | |
| parent | d3deaacf51e0d459c8025d6a411acf0bc8b17945 (diff) | |
| download | scintilla-mirror-20bb1c7c0f6931819745d9756ab14246c20c4e9f.tar.gz | |
Implement translucent FillRectangle.
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 b918e5ed0..98a9b11ed 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -60,6 +60,7 @@ private: /** Set the CGContext's fill colour to the specified desired colour. */ void FillColour(const ColourDesired &back); + void FillColour(ColourAlpha fill); // 24-bit RGB+A bitmap data constants @@ -95,6 +96,7 @@ public: void Polygon(Scintilla::Point *pts, size_t npts, ColourDesired fore, ColourDesired back) override; void RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back) override; void FillRectangle(PRectangle rc, ColourDesired back) override; + void FillRectangle(PRectangle rc, Fill fill) override; void FillRectangle(PRectangle rc, Surface &surfacePattern) override; void RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesired back) override; void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, int alphaFill, |
