lyx_mirror/src/mathed/button_inset.h
André Pönitz 4d59d00ad4 First shot at inset-unification mathed & rest of the world
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:51:35 +00:00

23 lines
431 B
C++

#ifndef BUTTON_INSET_H
#define BUTTON_INSET_H
#include "math_nestinset.h"
// Try to implement the reference inset "natively" for mathed.
class ButtonInset: public MathNestInset {
public:
///
ButtonInset();
///
void metrics(MathMetricsInfo & mi) const;
///
void draw(MathPainterInfo & pi, int x, int y) const;
protected:
/// This should provide the text for the button
virtual string screenLabel() const = 0;
};
#endif