]> git.lyx.org Git - lyx.git/blob - src/rowpainter.h
Rewording in GTK document dialog
[lyx.git] / src / rowpainter.h
1 // -*- C++ -*-
2 /**
3  * \file rowpainter.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author various
8  * \author John Levon
9  * \author André Pönitz
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef ROWPAINTER_H
15 #define ROWPAINTER_H
16
17 #include "support/types.h"
18
19 class LyXText;
20 class BufferView;
21 class PainterInfo;
22 class ViewMetricsInfo;
23
24
25 /// paint visible paragraph of main text
26 void paintText(BufferView const & bv, ViewMetricsInfo const & vi);
27
28 /// paint the rows of a text inset
29 void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);
30
31 /// some space for drawing the 'nested' markers (in pixel)
32 inline int nestMargin() { return 15; }
33
34 /// margin for changebar
35 inline int changebarMargin() { return 10; }
36
37 /// right margin
38 inline int rightMargin() { return 30; }
39
40
41 #endif // ROWPAINTER_H