]> git.lyx.org Git - lyx.git/blob - src/mathed/math_deliminset.h
mathed58.diff
[lyx.git] / src / mathed / math_deliminset.h
1 // -*- C++ -*-
2 #ifndef MATH_DELIMINSET_H
3 #define MATH_DELIMINSET_H
4
5 #include "math_parinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** A delimiter
12     \author Alejandro Aguilar Sierra
13 */
14 class MathDelimInset : public MathParInset {
15 public:
16         ///
17         MathDelimInset(int, int, short st = LM_ST_TEXT);
18         ///
19         MathedInset * Clone();
20         ///
21         void draw(Painter &, int, int);
22         ///
23         void Write(std::ostream &, bool fragile);
24         ///
25         void Metrics();
26 private:
27         ///
28         int left_;
29         ///
30         int right_;
31         ///
32         int dw_;
33         ///
34         int dh_;
35 };
36 #endif