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
21 #include "math_nestinset.h"
23 /// try to implement the button-like insets "natively" for mathed
24 class ButtonInset: public MathNestInset {
29 void metrics(MathMetricsInfo & mi) const;
31 void draw(MathPainterInfo & pi, int x, int y) const;
34 /// This should provide the text for the button
35 virtual string screenLabel() const = 0;