]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
two-phase-drawing for InsetText & InsetTabular
[lyx.git] / src / lyxtext.h
index a33a71c9bb3a610db79ec3fcb7004b4958dcbf40..b7249fed6f59f8905036ce54047c2452d76116df 100644 (file)
@@ -163,6 +163,8 @@ public:
        void partialRebreak();
        /// a full rebreak of the whole text
        void fullRebreak();
+       /// rebuild RowList cache
+       void rebuild(int maxwidth);
 
        ///
        RowList::iterator need_break_row;
@@ -493,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: