diff options
| author | mitchell <unknown> | 2018-05-25 13:33:38 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2018-05-25 13:33:38 -0400 |
| commit | 43566e4211e18057662ff5d8c8d3996b73090d43 (patch) | |
| tree | 0b501aa992e9ccdcc36b25d10d72a51785a9a515 /cocoa/PlatCocoa.h | |
| parent | 7a4fd484cc8229d3518039c82d950b4fa7f673cb (diff) | |
| download | scintilla-mirror-43566e4211e18057662ff5d8c8d3996b73090d43.tar.gz | |
Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t for Polygon and delete the standard copy and assignment methods.
Backport of changeset 6940:89fd29243232.
Diffstat (limited to 'cocoa/PlatCocoa.h')
| -rw-r--r-- | cocoa/PlatCocoa.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 843128a6c..00b4ce2ae 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -89,7 +89,7 @@ public: int DeviceHeightFont(int points) override; void MoveTo(int x_, int y_) override; void LineTo(int x_, int y_) override; - void Polygon(Scintilla::Point *pts, int npts, ColourDesired fore, ColourDesired back) override; + void Polygon(Scintilla::Point *pts, size_t npts, ColourDesired fore, ColourDesired back) override; void RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back) override; void FillRectangle(PRectangle rc, ColourDesired back) override; void FillRectangle(PRectangle rc, Surface &surfacePattern) override; @@ -106,7 +106,6 @@ public: void DrawTextTransparent(PRectangle rc, Font &font_, XYPOSITION ybase, const char *s, int len, ColourDesired fore) override; 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; |
