diff options
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 653399dbc..4d762bccf 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -11,6 +11,8 @@ #ifndef PLATQT_H #define PLATQT_H +#include <cstddef> + #include "Platform.h" #include <QUrl> @@ -78,7 +80,7 @@ public: int DeviceHeightFont(int points) override; void MoveTo(int x_, int y_) override; void LineTo(int x_, int y_) override; - void Polygon(Point *pts, int npts, ColourDesired fore, + void Polygon(Point *pts, size_t npts, ColourDesired fore, ColourDesired back) override; void RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back) override; @@ -103,7 +105,6 @@ public: void MeasureWidths(Font &font, const char *s, int len, XYPOSITION *positions) override; XYPOSITION WidthText(Font &font, const char *s, int len) override; - XYPOSITION WidthChar(Font &font, char ch) override; XYPOSITION Ascent(Font &font) override; XYPOSITION Descent(Font &font) override; XYPOSITION InternalLeading(Font &font) override; |