2 #ifndef MATH_ACCENTINSET_H
3 #define MATH_ACCENTINSET_H
5 #include "math_inset.h"
6 #include "mathed/support.h"
10 class MathAccentInset: public MathedInset {
13 MathAccentInset(byte, MathedTextCodes, int, short st = LM_ST_TEXT);
15 MathAccentInset(MathedInset *, int, short st = LM_ST_TEXT);
19 MathedInset * Clone();
21 void draw(Painter &, int, int);
23 void Write(std::ostream &, bool fragile);
27 int getAccentCode() const { return code; }