diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-19 21:03:17 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-19 21:03:17 +1100 |
commit | 216fca2d218c3e0dcb5cdb4273cfb609da06cbd2 (patch) | |
tree | 44e1769b98acee672f4b4cb6cb2f42ce942faec5 /src/Platform.h | |
parent | 20bb1c7c0f6931819745d9756ab14246c20c4e9f (diff) | |
download | scintilla-mirror-216fca2d218c3e0dcb5cdb4273cfb609da06cbd2.tar.gz |
Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke
instead of separate colour and alpha arguments.
Diffstat (limited to 'src/Platform.h')
-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 abad8abfa..1b9f2a6d1 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -196,6 +196,7 @@ public: virtual void RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesired back)=0; virtual void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, int alphaFill, ColourDesired outline, int alphaOutline, int flags)=0; + virtual void AlphaRectangle(PRectangle rc, XYPOSITION cornerSize, FillStroke fillStroke)=0; enum class GradientOptions { leftToRight, topToBottom }; virtual void GradientRectangle(PRectangle rc, const std::vector<ColourStop> &stops, GradientOptions options)=0; virtual void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) = 0; |