]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/NullPainter.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / frontends / NullPainter.h
index 19ac8b66a26ce5acd4806c8fbb6b2a8aaa0d60ce..55a773e09cbe5ba9206eee426e5ad5551a5a0e95 100644 (file)
@@ -25,7 +25,7 @@ namespace frontend {
  */
 class NullPainter : public Painter {
 public:
-       NullPainter() : Painter(1) {}
+       NullPainter() : Painter(1, false) {}
 
        ~NullPainter() {}
 
@@ -95,8 +95,8 @@ public:
        int preeditText(int, int, char_type, FontInfo const &,
                        preedit_style) { return 0; }
 
-       /// start monochrome painting mode, i.e. map every color into [min,max]
-       void enterMonochromeMode(Color const &, Color const &) {}
+       /// start monochrome painting mode, i.e. map every color a shade of \c blend.
+       void enterMonochromeMode(Color const &) {}
        /// leave monochrome painting mode
        void leaveMonochromeMode() {}
        /// draws a wavy line that can be used for underlining.