]> git.lyx.org Git - lyx.git/blob - src/mathed/math_funcliminset.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_funcliminset.h
1 // -*- C++ -*-
2 #ifndef MATH_FUNCLIMINSET_H
3 #define MATH_FUNCLIMINSET_H
4
5 #include "math_diminset.h"
6
7 struct latexkeys;
8
9 // "normal" symbols that don't take limits and don't grow in displayed
10 // formulae
11
12 class MathFuncLimInset : public MathDimInset {
13 public:
14         ///
15         explicit MathFuncLimInset(latexkeys const *);
16         ///
17         MathInset * clone() const;
18         ///
19         void write(std::ostream &, bool fragile) const;
20         ///
21         void writeNormal(std::ostream &) const;
22         ///
23         void metrics(MathStyles st) const;
24         ///
25         void draw(Painter &, int x, int y) const;
26         ///
27         bool isScriptable() const;
28
29 private:
30         ///
31         latexkeys const * sym_;
32 };
33 #endif