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"
22 class ViewMetricsInfo;
31 /// paint visible paragraph of main text
32 void paintText(BufferView const & bv, ViewMetricsInfo const & vi,
33 lyx::frontend::Painter & pain);
35 /// paint the rows of a text inset
36 void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);
38 /// some space for drawing the 'nested' markers (in pixel)
39 inline int nestMargin() { return 15; }
41 /// margin for changebar
42 inline int changebarMargin() { return 10; }
45 inline int rightMargin() { return 10; }
48 #endif // ROWPAINTER_H