]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.cpp
* src/insets/InsetInclude.cpp: formatting (in response to r18445)
[lyx.git] / src / insets / InsetNewline.cpp
index 0bba9e2a5d3f2c623b2d6860dc37353c3ab0c036..38513b3d8b418034fac4b91220cdcb281bfe1865 100644 (file)
 #include "InsetNewline.h"
 
 #include "debug.h"
-#include "LColor.h"
-#include "lyxtext.h"
-#include "metricsinfo.h"
-#include "outputparams.h"
-#include "paragraph.h"
+#include "Color.h"
+#include "Text.h"
+#include "MetricsInfo.h"
+#include "OutputParams.h"
+#include "Paragraph.h"
 #include "paragraph_funcs.h"
 
 #include "frontends/FontMetrics.h"
@@ -30,7 +30,7 @@ using std::endl;
 using std::ostream;
 
 
-void InsetNewline::read(Buffer const &, LyXLex &)
+void InsetNewline::read(Buffer const &, Lexer &)
 {
        /* Nothing to read */
 }
@@ -101,7 +101,7 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const
                xp[2] = int(x + wid * 0.625);
        }
 
-       pi.pain.lines(xp, yp, 3, LColor::eolmarker);
+       pi.pain.lines(xp, yp, 3, Color::eolmarker);
 
        yp[0] = int(y - 0.500 * asc * 0.75);
        yp[1] = int(y - 0.500 * asc * 0.75);
@@ -117,7 +117,7 @@ void InsetNewline::draw(PainterInfo & pi, int x, int y) const
                xp[2] = int(x);
        }
 
-       pi.pain.lines(xp, yp, 3, LColor::eolmarker);
+       pi.pain.lines(xp, yp, 3, Color::eolmarker);
 }