aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-19 21:03:17 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-19 21:03:17 +1100
commit216fca2d218c3e0dcb5cdb4273cfb609da06cbd2 (patch)
tree44e1769b98acee672f4b4cb6cb2f42ce942faec5 /qt/ScintillaEditBase/PlatQt.h
parent20bb1c7c0f6931819745d9756ab14246c20c4e9f (diff)
downloadscintilla-mirror-216fca2d218c3e0dcb5cdb4273cfb609da06cbd2.tar.gz
Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke
instead of separate colour and alpha arguments.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
-rw-r--r--qt/ScintillaEditBase/PlatQt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h
index 173bd53d5..257dbda56 100644
--- a/qt/ScintillaEditBase/PlatQt.h
+++ b/qt/ScintillaEditBase/PlatQt.h
@@ -109,6 +109,7 @@ public:
ColourDesired back) override;
void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill,
int alphaFill, ColourDesired outline, int alphaOutline, int flags) override;
+ void AlphaRectangle(PRectangle rc, XYPOSITION cornerSize, FillStroke fillStroke) override;
void GradientRectangle(PRectangle rc, const std::vector<ColourStop> &stops, GradientOptions options) override;
void DrawRGBAImage(PRectangle rc, int width, int height,
const unsigned char *pixelsImage) override;