]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontMetrics.h
Do not compute caret geometry when we are not ready to do so.
[lyx.git] / src / frontends / FontMetrics.h
index 8358e2eb1eadbf70204c7a3443006c4a828d3319..c02606c4384f3536c0759b13503bbc4413e30022 100644 (file)
@@ -125,9 +125,10 @@ public:
                int & descent) const = 0;
        /**
         * fill in width,ascent,descent with the values for the
-        * given string in the font for a button.
+        * given string in the font for a button with given offset.
         */
        virtual void buttonText(docstring const & str,
+               const int offset,
                int & width,
                int & ascent,
                int & descent) const = 0;