]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
SCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also...
[lyx.git] / src / TextMetrics.h
index ced273ad0650f527444c308e1a2ac2a6a4a2ed71..0e9df1111171f6e7e0ad5d0ce9c6d05b7061f18f 100644 (file)
@@ -62,6 +62,8 @@ public:
 
        ///
        int maxWidth() const { return max_width_; }
+       ///
+       int singleWidth(pit_type const pit,     pos_type pos) const;
 
        ///
        int rightMargin(ParagraphMetrics const & pm) const;
@@ -77,7 +79,7 @@ private:
        ParagraphMetrics & parMetrics(pit_type, bool redo_paragraph);
 
        /// the minimum space a manual label needs on the screen in pixels
-       int labelFill(Paragraph const & par, Row const & row) const;
+       int labelFill(pit_type const pit, Row const & row) const;
 
        /// FIXME??
        int labelEnd(pit_type const pit) const;