mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
36 lines
578 B
C
36 lines
578 B
C
|
#ifndef MATH_FUNCINSET_H
|
||
|
#define MATH_FUNCINSET_H
|
||
|
|
||
|
#include "math_inset.h"
|
||
|
|
||
|
/**
|
||
|
Functions or LaTeX names for objects that I don't know how to draw.
|
||
|
*/
|
||
|
class MathFuncInset: public MathedInset {
|
||
|
public:
|
||
|
///
|
||
|
explicit
|
||
|
MathFuncInset(string const & nm,
|
||
|
short ot = LM_OT_FUNC, short st = LM_ST_TEXT);
|
||
|
///
|
||
|
~MathFuncInset();
|
||
|
///
|
||
|
MathedInset * Clone();
|
||
|
///
|
||
|
void draw(Painter &, int, int);
|
||
|
///
|
||
|
void Write(std::ostream &, bool fragile);
|
||
|
///
|
||
|
void Metrics();
|
||
|
///
|
||
|
inline bool GetLimits() const;
|
||
|
protected:
|
||
|
///
|
||
|
int ln;
|
||
|
///
|
||
|
bool lims;
|
||
|
///
|
||
|
string fname;
|
||
|
};
|
||
|
#endif
|