6 * This file is part of LyX, the document processor.
7 * Licence details can be found in the file COPYING.
11 * Full author contact details are available in file CREDITS.
14 #ifndef BUTTON_INSET_H
15 #define BUTTON_INSET_H
18 #include "math_nestinset.h"
20 /// try to implement the button-like insets "natively" for mathed
21 class ButtonInset: public MathNestInset {
26 void metrics(MathMetricsInfo & mi) const;
28 void draw(MathPainterInfo & pi, int x, int y) const;
31 /// This should provide the text for the button
32 virtual string screenLabel() const = 0;