]> git.lyx.org Git - lyx.git/blob - src/mathed/math_deliminset.h
fix broken ^ stuff; break delimiters...
[lyx.git] / src / mathed / math_deliminset.h
1 // -*- C++ -*-
2 #ifndef MATH_DELIMINSET_H
3 #define MATH_DELIMINSET_H
4
5 #include "math_nestinset.h"
6 #include "LString.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /** A delimiter
13     \author Alejandro Aguilar Sierra
14 */
15
16 class latexkeys;
17
18 class MathDelimInset : public MathNestInset {
19 public:
20         ///
21         MathDelimInset(latexkeys const *, latexkeys const *);
22
23 #warning Remove this ass soon the Math panel patch is applied
24         ///
25         ///MathDelimInset(int, int) : MathNestInset(2) {}
26
27         ///
28         MathInset * clone() const;
29         ///
30         void draw(Painter &, int x, int y) const;
31         ///
32         void write(std::ostream &, bool fragile) const;
33         ///
34         void metrics(MathStyles st) const;
35 private:
36         ///
37         static string latexName(latexkeys const *);
38         ///
39         int dw() const;
40         ///
41         latexkeys const * left_;
42         ///
43         latexkeys const * right_;
44 };
45 #endif