]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathStackrel.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathStackrel.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathStackrel.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_STACKRELINSET_H
13 #define MATH_STACKRELINSET_H
14
15 #include "InsetMathFrac.h"
16
17
18 namespace lyx {
19
20 class InsetMathStackrel : public InsetMathFracBase {
21 public:
22         ///
23         InsetMathStackrel(Buffer * buf, bool sub);
24         ///
25         bool idxUpDown(Cursor &, bool up) const override;
26         ///
27         bool idxFirst(Cursor &) const override;
28         ///
29         bool idxLast(Cursor &) const override;
30         ///
31         MathClass mathClass() const override;
32         ///
33         void metrics(MetricsInfo & mi, Dimension & dim) const override;
34         ///
35         void draw(PainterInfo & pi, int x, int y) const override;
36         ///
37         void write(WriteStream & os) const override;
38         ///
39         void normalize(NormalStream &) const override;
40         ///
41         void mathmlize(MathStream &) const override;
42         ///
43         void htmlize(HtmlStream &) const override;
44         ///
45         void validate(LaTeXFeatures &) const override;
46         ///
47         InsetCode lyxCode() const override { return MATH_STACKREL_CODE; }
48
49 private:
50         Inset * clone() const override;
51 };
52
53 } // namespace lyx
54 #endif