From 216fca2d218c3e0dcb5cdb4273cfb609da06cbd2 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 19 Mar 2021 21:03:17 +1100 Subject: Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke instead of separate colour and alpha arguments. --- src/Platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 &stops, GradientOptions options)=0; virtual void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) = 0; -- cgit v1.2.3