]> git.lyx.org Git - lyx.git/blob - src/mathed/math_biginset.h
inactive new stuff to re-sync my tree before going on holyday
[lyx.git] / src / mathed / math_biginset.h
1 // -*- C++ -*-
2 #ifndef MATH_BIGINSET_H
3 #define MATH_BIGINSET_H
4
5 #include "math_diminset.h"
6 #include "LString.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /** Inset for \bigl & Co.
13     \author André Pönitz
14  */
15
16 class MathBigInset : public MathDimInset {
17 public:
18         ///
19         MathBigInset(string const & name, string const & delim);
20         ///
21         MathInset * clone() const;
22         ///
23         void draw(Painter &, int x, int y) const;
24         ///
25         void write(WriteStream & os) const;
26         ///
27         void metrics(MathMetricsInfo const & st) const;
28         ///
29         void normalize(NormalStream & os) const;
30
31 private:
32         ///
33         int size() const;
34         ///
35         double increase() const;
36         
37         /// \bigl or what?
38         string const name_;
39         /// ( or [ or Vert...
40         string const delim_;
41 };
42
43 #endif