2 #ifndef MATH_ACCENTINSET_H
3 #define MATH_ACCENTINSET_H
5 #include "math_inset.h"
6 #include "mathed/support.h"
10 class MathAccentInset : public MathInset {
13 explicit MathAccentInset(int);
15 MathInset * clone() const;
17 void draw(Painter &, int, int);
19 void Write(std::ostream &, bool fragile) const;
21 void WriteNormal(std::ostream &) const;
23 void Metrics(MathStyles st);
25 int getAccentCode() const;
27 bool isAccentInset() const { return true; }