]> git.lyx.org Git - lyx.git/blob - src/mathed/math_funcinset.h
first go at mathed file cleanup
[lyx.git] / src / mathed / math_funcinset.h
1 #ifndef MATH_FUNCINSET_H
2 #define MATH_FUNCINSET_H
3
4 #include "math_inset.h"
5
6 /**
7  Functions or LaTeX names for objects that I don't know how to draw.
8  */
9 class MathFuncInset: public MathedInset  {
10 public:
11         ///
12         explicit
13         MathFuncInset(string const & nm,
14                       short ot = LM_OT_FUNC, short st = LM_ST_TEXT);
15         ///
16         ~MathFuncInset();
17         ///
18         MathedInset * Clone();
19         ///
20         void draw(Painter &, int, int);
21         ///
22         void Write(std::ostream &, bool fragile);
23         ///
24         void Metrics();
25         ///
26         inline bool GetLimits() const;
27 protected:
28         ///
29         int ln;
30         ///
31         bool lims;
32         ///
33         string fname;
34 };
35 #endif