]> git.lyx.org Git - lyx.git/blobdiff - src/PainterBase.C
remove the old painter, remove support for mono_video, reverse_video, fast selection...
[lyx.git] / src / PainterBase.C
index e5c1c52d258dd4eab6005495078f938026bb45c7..f499e0be4d62ccc7985c787ded00d1d9de1f7a6e 100644 (file)
@@ -22,31 +22,31 @@ int PainterBase::dummy1 = 0;
 int PainterBase::dummy2 = 0;
 int PainterBase::dummy3 = 0;
 
-int PainterBase::paperMargin()
+int PainterBase::paperMargin() const
 {
        return 20;
 }
 
 
-int PainterBase::paperWidth()
+int PainterBase::paperWidth() const
 {
        return owner.workWidth();
 }
 
 
-int PainterBase::width(string const & s, LyXFont const & f)
+int PainterBase::width(string const & s, LyXFont const & f) const
 {
        return f.stringWidth(s);
 }
 
 
-int PainterBase::width(char const * s, int l, LyXFont const & f)
+int PainterBase::width(char const * s, int l, LyXFont const & f) const
 {
        return f.textWidth(s, l);
 }
 
 
-int PainterBase::width(char c, LyXFont const & f)
+int PainterBase::width(char c, LyXFont const & f) const
 {
        return f.width(c);
 }