X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiPainter.h;h=263b3a851c44cae99c4522f835a3566cb31fa758;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=fa87940d45ed0174d26ef158642b15ab55e82155;hpb=f694cf713571c8de3c414fd1969e5338a4b7ffef;p=lyx.git diff --git a/src/frontends/qt4/GuiPainter.h b/src/frontends/qt4/GuiPainter.h index fa87940d45..263b3a851c 100644 --- a/src/frontends/qt4/GuiPainter.h +++ b/src/frontends/qt4/GuiPainter.h @@ -119,6 +119,8 @@ public: virtual int preeditText(int x, int y, char_type c, FontInfo const & f, preedit_style style); + void wavyHorizontalLine(int x, int y, int width, ColorCode col); + private: /// check the font, and if set, draw an underline void underline(FontInfo const & f, @@ -128,6 +130,14 @@ private: void dashedUnderline(FontInfo const & f, int x, int y, int width); + /// check the font, and if set, draw an strike-through line + void strikeoutLine(FontInfo const & f, + int x, int y, int width); + + /// check the font, and if set, draw double underline + void doubleUnderline(FontInfo const & f, + int x, int y, int width); + /// draw a bevelled button border void buttonFrame(int x, int y, int w, int h);