X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_xdata.h;h=b35c062b9a575f02826100cec3fe7d52f511f658;hb=c649284611c4198c9d70be8a16d153cdf1ec0700;hp=41e4eedaab0665b418560266bdccf7bb0b8854c5;hpb=2b8ef58dc021912b2862328b9000cfe37578ea37;p=lyx.git diff --git a/src/mathed/math_xdata.h b/src/mathed/math_xdata.h index 41e4eedaab..b35c062b9a 100644 --- a/src/mathed/math_xdata.h +++ b/src/mathed/math_xdata.h @@ -12,7 +12,7 @@ #pragma interface #endif -class Painter; +class MathPainterInfo; class TextPainter; @@ -30,9 +30,9 @@ public: /// constructor MathXArray(); /// rebuild cached metrics information - void metrics(MathMetricsInfo const & st) const; + void metrics(MathMetricsInfo & st) const; /// redraw cell using cache metrics information - void draw(Painter & pain, int x, int y) const; + void draw(MathPainterInfo & pain, int x, int y) const; /// rebuild cached metrics information void metricsT(TextMetricsInfo const & st) const; /// redraw cell using cache metrics information