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);
33 (PainterInfo & pi, Text const & text, pit_type pit, int x, int y,
36 /// some space for drawing the 'nested' markers (in pixel)
37 inline int nestMargin() { return 15; }
39 /// margin for changebar
40 inline int changebarMargin() { return 12; }
43 inline int rightMargin() { return 10; }
47 #endif // ROWPAINTER_H