]> git.lyx.org Git - lyx.git/blob - src/mathed/math_xarrowinset.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_xarrowinset.h
1 // -*- C++ -*-
2 #ifndef MATH_XARROWINSET_H
3 #define MATH_XARROWINSET_H
4
5 #include "math_nestinset.h"
6 #include "LString.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /** Wide arrows like \xrightarrow
13     \author André Pönitz
14  */
15
16 class MathXArrowInset : public MathNestInset {
17 public:
18         ///
19         explicit MathXArrowInset(string const & name);
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         bool upper() const;
34         ///
35         string const name_;
36 };
37 #endif