]> git.lyx.org Git - lyx.git/blob - src/mathed/math_xarrowinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_xarrowinset.h
1 // -*- C++ -*-
2 #ifndef MATH_XARROWINSET_H
3 #define MATH_XARROWINSET_H
4
5 #include "math_fracbase.h"
6 #include "LString.h"
7
8
9 /** Wide arrows like \xrightarrow
10  *  \author André Pönitz
11  *
12  * Full author contact details are available in file CREDITS
13  */
14
15 class MathXArrowInset : public MathFracbaseInset {
16 public:
17         ///
18         explicit MathXArrowInset(string const & name);
19         ///
20         MathInset * clone() const;
21         ///
22         void draw(MathPainterInfo & pi, int x, int y) const;
23         ///
24         void write(WriteStream & os) const;
25         ///
26         void metrics(MathMetricsInfo & mi) const;
27         ///
28         void normalize(NormalStream & os) const;
29
30 private:
31         ///
32         bool upper() const;
33         ///
34         string const name_;
35 };
36 #endif