]> git.lyx.org Git - lyx.git/blob - src/mathed/math_deliminset.h
first go at mathed file cleanup
[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 /// A delimiter
8 class MathDelimInset: public MathParInset {
9 public:
10         ///
11         MathDelimInset(int, int, short st = LM_ST_TEXT);
12         ///
13         MathedInset * Clone();
14         ///
15         void draw(Painter &, int, int);
16         ///
17         void Write(std::ostream &, bool fragile);
18         ///
19         void Metrics();
20 protected:
21         ///
22         int left;
23         ///
24         int right;
25         ///
26         int dw;
27         ///
28         int dh;
29 };
30 #endif