]> git.lyx.org Git - lyx.git/blob - src/rowpainter.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[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  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef ROWPAINTER_H
14 #define ROWPAINTER_H
15
16 #include <config.h>
17
18 #include "RowList.h"
19
20 class LyXText;
21 class BufferView;
22 class VSpace;
23
24 /// paint the rows
25 // return last used y
26 int paintRows(BufferView const & bv, LyXText const & text,
27         RowList::iterator rit, int xo, int y, int yf, int y2, int yo);
28
29 /// return the pixel height of a space marker before/after a par
30 int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
31
32 #endif // ROWPAINTER_H