4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
11 * Full author contact details are available in file CREDITS.
17 #include "support/types.h"
24 class ViewMetricsInfo;
26 namespace frontend { class Painter; }
28 /// paint visible paragraph of main text
29 void paintText(BufferView & bv, frontend::Painter & painter);
31 /// paint the rows of a text inset
32 void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);
34 /// some space for drawing the 'nested' markers (in pixel)
35 inline int nestMargin() { return 15; }
37 /// margin for changebar
38 inline int changebarMargin() { return 12; }
41 inline int rightMargin() { return 10; }
45 #endif // ROWPAINTER_H