]> git.lyx.org Git - lyx.git/blob - src/mathed/math_funcinset.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_funcinset.h
1 // -*- C++ -*-
2 #ifndef MATH_FUNCINSET_H
3 #define MATH_FUNCINSET_H
4
5 #include "math_diminset.h"
6 #include "math_defs.h"
7 #include "LString.h"
8
9 #ifdef __GNUG__
10 #pragma interface
11 #endif
12
13 /**
14  Functions or LaTeX names for objects that I don't know how to draw.
15  */
16 class MathFuncInset : public MathDimInset {
17 public:
18         ///
19         explicit MathFuncInset(string const & nm);
20         ///
21         MathInset * clone() const;
22         ///
23         void metrics(MathStyles st) const;
24         ///
25         void draw(Painter &, int x, int y) const;
26         ///
27         void write(std::ostream &, bool fragile) const;
28         ///
29         void writeNormal(std::ostream &) const;
30         ///
31         string const & name() const;
32         ///
33         void setName(string const & n);
34 private:
35         ///
36         string name_;
37 };
38 #endif