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