X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Frowpainter.h;h=d9feb9a8b95fc170630d717140fe4e441efa3c0e;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=f59dc1eca52fb104499ab852e4f7ed87aa949bba;hpb=d37fae169ceb695bb36089ff7552fd18fae2af7e;p=lyx.git diff --git a/src/rowpainter.h b/src/rowpainter.h index f59dc1eca5..d9feb9a8b9 100644 --- a/src/rowpainter.h +++ b/src/rowpainter.h @@ -16,21 +16,17 @@ #include "support/types.h" +namespace lyx { + class LyXText; class BufferView; class PainterInfo; class ViewMetricsInfo; -namespace lyx { -namespace frontend { -class Painter; -} -} - +namespace frontend { class Painter; } /// paint visible paragraph of main text -void paintText(BufferView & bv, ViewMetricsInfo const & vi, - lyx::frontend::Painter & painter); +void paintText(BufferView & bv, frontend::Painter & painter); /// paint the rows of a text inset void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y); @@ -44,5 +40,6 @@ inline int changebarMargin() { return 12; } /// right margin inline int rightMargin() { return 10; } +} // namespace lyx #endif // ROWPAINTER_H