* \author various
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef ROWPAINTER_H
#define ROWPAINTER_H
-#include <config.h>
-
-#include "RowList.h"
-
class LyXText;
class BufferView;
-class VSpace;
+class PainterInfo;
-/// initialise painter and paint the rows
-void paintRows2(BufferView const & bv, LyXText const & text,
- RowList::iterator rit, RowList::iterator end,
- int xo, int & y, int yf, int y2, int yo);
+/// paint the rows of the main text, return last drawn y value
+int paintText(BufferView const & bv);
-/// return the pixel height of a space marker before/after a par
-int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
+/// paint the rows of a text inset
+void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);
#endif // ROWPAINTER_H