]> git.lyx.org Git - lyx.git/blob - src/mathed/math_macroarg.h
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_macroarg.h
1 // -*- C++ -*-
2 #ifndef MATHMACROARGUMENT_H
3 #define MATHMACROARGUMENT_H
4
5 #include "math_parinset.h"
6
7 /** A macro argument
8     \author Alejandro Aguilar Sierra
9 */
10 class MathMacroArgument: public MathParInset {
11 public:
12     ///
13     MathMacroArgument();
14     ///
15     explicit
16     MathMacroArgument(int);
17     ///
18     ~MathMacroArgument();
19     ///
20     MathedInset * Clone();
21     ///
22     void Metrics();
23     ///
24     void draw(Painter &, int x, int baseline);
25     ///
26     void Write(std::ostream &, bool fragile);
27     ///
28     void setNumber(int n);
29     /// Is expanded or not
30     void setExpand(bool e);
31     /// Is expanded or not
32     bool getExpand() const;
33 private:
34     ///
35     bool expnd_mode_;
36     ///
37     int number_;
38 };
39 #endif