diff options
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 4d41425b1..907992d36 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -65,56 +65,56 @@ public: SurfaceImpl(); virtual ~SurfaceImpl(); - virtual void Init(WindowID wid); - virtual void Init(SurfaceID sid, WindowID wid); - virtual void InitPixMap(int width, int height, - Surface *surface, WindowID wid); - - virtual void Release(); - virtual bool Initialised(); - virtual void PenColour(ColourDesired fore); - virtual int LogPixelsY(); - virtual int DeviceHeightFont(int points); - virtual void MoveTo(int x_, int y_); - virtual void LineTo(int x_, int y_); - virtual void Polygon(Point *pts, int npts, ColourDesired fore, - ColourDesired back); - virtual void RectangleDraw(PRectangle rc, ColourDesired fore, - ColourDesired back); - virtual void FillRectangle(PRectangle rc, ColourDesired back); - virtual void FillRectangle(PRectangle rc, Surface &surfacePattern); - virtual void RoundedRectangle(PRectangle rc, ColourDesired fore, - ColourDesired back); - virtual void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, - int alphaFill, ColourDesired outline, int alphaOutline, int flags); - virtual void DrawRGBAImage(PRectangle rc, int width, int height, - const unsigned char *pixelsImage); - virtual void Ellipse(PRectangle rc, ColourDesired fore, - ColourDesired back); - virtual void Copy(PRectangle rc, Point from, Surface &surfaceSource); - - virtual void DrawTextNoClip(PRectangle rc, Font &font, XYPOSITION ybase, - const char *s, int len, ColourDesired fore, ColourDesired back); - virtual void DrawTextClipped(PRectangle rc, Font &font, XYPOSITION ybase, - const char *s, int len, ColourDesired fore, ColourDesired back); - virtual void DrawTextTransparent(PRectangle rc, Font &font, XYPOSITION ybase, - const char *s, int len, ColourDesired fore); - virtual void MeasureWidths(Font &font, const char *s, int len, - XYPOSITION *positions); - virtual XYPOSITION WidthText(Font &font, const char *s, int len); - virtual XYPOSITION WidthChar(Font &font, char ch); - virtual XYPOSITION Ascent(Font &font); - virtual XYPOSITION Descent(Font &font); - virtual XYPOSITION InternalLeading(Font &font); - virtual XYPOSITION ExternalLeading(Font &font); - virtual XYPOSITION Height(Font &font); - virtual XYPOSITION AverageCharWidth(Font &font); - - virtual void SetClip(PRectangle rc); - virtual void FlushCachedState(); - - virtual void SetUnicodeMode(bool unicodeMode_); - virtual void SetDBCSMode(int codePage_); + void Init(WindowID wid) override; + void Init(SurfaceID sid, WindowID wid) override; + void InitPixMap(int width, int height, + Surface *surface, WindowID wid) override; + + void Release() override; + bool Initialised() override; + void PenColour(ColourDesired fore) override; + int LogPixelsY() override; + 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, + 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; + void RoundedRectangle(PRectangle rc, ColourDesired fore, + ColourDesired back) override; + void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, + int alphaFill, ColourDesired outline, int alphaOutline, int flags) override; + void DrawRGBAImage(PRectangle rc, int width, int height, + const unsigned char *pixelsImage) override; + void Ellipse(PRectangle rc, ColourDesired fore, + ColourDesired back) override; + void Copy(PRectangle rc, Point from, Surface &surfaceSource) override; + + void DrawTextNoClip(PRectangle rc, Font &font, XYPOSITION ybase, + const char *s, int len, ColourDesired fore, ColourDesired back) override; + void DrawTextClipped(PRectangle rc, Font &font, XYPOSITION ybase, + const char *s, int len, ColourDesired fore, ColourDesired back) override; + 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; + XYPOSITION ExternalLeading(Font &font) override; + XYPOSITION Height(Font &font) override; + XYPOSITION AverageCharWidth(Font &font) override; + + void SetClip(PRectangle rc) override; + void FlushCachedState() override; + + void SetUnicodeMode(bool unicodeMode_) override; + void SetDBCSMode(int codePage_) override; void BrushColour(ColourDesired back); void SetCodec(Font &font); |