]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.h
more cursor dispatch
[lyx.git] / src / rowpainter.h
index dbd9d75ca9d29291876fd995e81c78f41cf7e99c..79b1ebb5dfa04993cd965d8c5b8617c601b85266 100644 (file)
@@ -7,27 +7,20 @@
  * \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;
 
-/// paint the rows
-// return last used y
-int paintRows(BufferView const & bv, LyXText const & text,
-       ParagraphList::iterator pit,
-       RowList::iterator rit, int xo, int y, int yf, 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