]> git.lyx.org Git - lyx.git/blob - src/mathed/button_inset.h
remove noload/don't typeset
[lyx.git] / src / mathed / button_inset.h
1 #ifndef BUTTON_INSET_H
2 #define BUTTON_INSET_H
3
4 #include "math_nestinset.h"
5
6 // Try to implement the reference inset "natively" for mathed.
7
8 class ButtonInset: public MathNestInset {
9 public:
10         ///
11         ButtonInset();
12         ///
13         void metrics(MathMetricsInfo & mi) const;
14         ///
15         void draw(MathPainterInfo & pi, int x, int y) const;
16
17 protected:
18         /// This should provide the text for the button
19         virtual string screenLabel() const = 0;
20 };
21
22 #endif