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