]> git.lyx.org Git - lyx.git/blob - src/mathed/math_biginset.h
small up/down tweaking
[lyx.git] / src / mathed / math_biginset.h
1 // -*- C++ -*-
2
3 /**
4  *  \file math_biginset.h
5  *
6  *  This file is part of LyX, the document processor.
7  *  Licence details can be found in the file COPYING.
8  *
9  *  \author André Pönitz
10  *
11  *  Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef MATH_BIGINSET_H
15 #define MATH_BIGINSET_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "math_diminset.h"
22 #include "LString.h"
23
24 /// Inset for \bigl & Co.
25 class MathBigInset : public MathDimInset {
26 public:
27         ///
28         MathBigInset(string const & name, string const & delim);
29         ///
30         MathInset * clone() const;
31         ///
32         void draw(MathPainterInfo & pi, int x, int y) const;
33         ///
34         void write(WriteStream & os) const;
35         ///
36         void metrics(MathMetricsInfo & st) const;
37         ///
38         void normalize(NormalStream & os) const;
39
40 private:
41         ///
42         size_type size() const;
43         ///
44         double increase() const;
45
46         /// \bigl or what?
47         string const name_;
48         /// ( or [ or Vert...
49         string const delim_;
50 };
51
52 #endif