#include "InsetLine.h"
-#include "debug.h"
-#include "Color.h"
-#include "Text.h"
+#include "Dimension.h"
+#include "Font.h"
#include "MetricsInfo.h"
#include "LaTeXFeatures.h"
#include "OutputParams.h"
+#include "Text.h"
#include "frontends/Painter.h"
+#include "support/debug.h"
+#include "support/docstream.h"
+
+
+
+using namespace std;
namespace lyx {
using frontend::Painter;
-using std::ostream;
-
void InsetLine::read(Buffer const &, Lexer &)
{
void InsetLine::draw(PainterInfo & pi, int x, int y) const
{
Dimension const dim = dimension(*pi.base.bv);
- pi.pain.line(x, y, x + dim.wid, y, Color::topline,
+ pi.pain.line(x, y, x + dim.wid, y, Color_topline,
Painter::line_solid, Painter::line_thick);
}