]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.h
Clean-up FileFilterList API.
[lyx.git] / src / rowpainter.h
index b3904b27f5d47f20738855846a054eb535c56706..566d44fc2a6f9e551ef449b5c7bb2b0eb85a18bd 100644 (file)
@@ -24,9 +24,30 @@ int paintText(BufferView const & bv);
 
 /// refresh a par of the main text
 void refreshPar(BufferView const & bv, LyXText const & text,
-               lyx::par_type pit);
+               lyx::pit_type pit);
 
 /// paint the rows of a text inset
 void paintTextInset(LyXText const & text, PainterInfo & pi);
 
+/// some space for drawing the 'nested' markers (in pixel)
+inline int nestMargin()
+{
+       return 15;
+}
+
+
+/// margin for changebar
+inline int changebarMargin()
+{
+       return 10;
+}
+
+
+/// right margin
+inline int rightMargin()
+{
+       return 30;
+}
+
+
 #endif // ROWPAINTER_H