]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_kerninset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_kerninset.h
index 978dd10409174ed1b85e166e1223d4b1ca4d2d76..b4a857101b864e08115ad5838756003f234d95ee 100644 (file)
@@ -5,12 +5,11 @@
 #include "math_diminset.h"
 #include "vspace.h"
 #include "LString.h"
+#include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /// The \kern primitive
+/// Some hack for visual effects
 
 class MathKernInset : public MathDimInset {
 public:
@@ -23,13 +22,13 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream & ns) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo & st) const;
 private:
        /// width in em
        LyXLength wid_;