]> git.lyx.org Git - lyx.git/blob - src/mathed/math_funcinset.h
mathed95.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 MathInset {
16 public:
17         ///
18         explicit MathFuncInset(string const & nm, MathInsetTypes ot = LM_OT_FUNC);
19         ///
20         virtual MathInset * clone() const;
21         ///
22         void draw(Painter &, int, int);
23         ///
24         void Write(std::ostream &, bool fragile) const;
25         ///
26         void WriteNormal(std::ostream &) const;
27         ///
28         void Metrics(MathStyles st);
29 private:
30         ///
31         bool lims_;
32 };
33 #endif