]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
two-phase-drawing for InsetText & InsetTabular
[lyx.git] / src / lyxtext.h
index 2e6ddd97c343df0830428b891686ecd3f74ba3c4..b7249fed6f59f8905036ce54047c2452d76116df 100644 (file)
@@ -164,7 +164,7 @@ public:
        /// a full rebreak of the whole text
        void fullRebreak();
        /// rebuild RowList cache
-       void rebuild();
+       void rebuild(int maxwidth);
 
        ///
        RowList::iterator need_break_row;
@@ -495,10 +495,10 @@ public:
 
        /** this calculates the specified parameters. needed when setting
         * the cursor and when creating a visible row */
-       void prepareToPrint(RowList::iterator row, float & x,
-                           float & fill_separator,
-                           float & fill_hfill,
-                           float & fill_label_hfill,
+       void prepareToPrint(RowList::iterator row, int & x,
+                           int & fill_separator,
+                           int & fill_hfill,
+                           int & fill_label_hfill,
                            bool bidi = true) const;
 
 private: