X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FFontMetrics.h;h=c02606c4384f3536c0759b13503bbc4413e30022;hb=b7f6b979d0f889f08e735f35378bb20ba3788b4b;hp=8358e2eb1eadbf70204c7a3443006c4a828d3319;hpb=b30f8d3c4bffd04bbef16adfc0a5e59e32b160e0;p=lyx.git diff --git a/src/frontends/FontMetrics.h b/src/frontends/FontMetrics.h index 8358e2eb1e..c02606c438 100644 --- a/src/frontends/FontMetrics.h +++ b/src/frontends/FontMetrics.h @@ -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;