mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
4d59d00ad4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4467 a592a061-630c-0410-9148-cb99ea01b6c8
23 lines
431 B
C++
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
|