From 2e2e70c7ee89b353ad0e6ef409cb9621729d72f8 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 22 May 2018 09:08:54 +1000 Subject: Add GradientRectangle method to Surface to draw rectangles with vertical or horizontal gradients. --- cocoa/PlatCocoa.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cocoa/PlatCocoa.h') diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 6a9bada96..940de83d5 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -94,6 +94,7 @@ public: void RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesired back) override; void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, int alphaFill, ColourDesired outline, int alphaOutline, int flags) override; + void GradientRectangle(PRectangle rc, const std::vector &stops, GradientOptions options) override; void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) override; void Ellipse(PRectangle rc, ColourDesired fore, ColourDesired back) override; void Copy(PRectangle rc, Scintilla::Point from, Surface &surfaceSource) override; -- cgit v1.2.3