mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
26428cdf19
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1499 a592a061-630c-0410-9148-cb99ea01b6c8
38 lines
678 B
C++
38 lines
678 B
C++
// -*- C++ -*-
|
|
#ifndef MATHMACROARGUMENT_H
|
|
#define MATHMACROARGUMENT_H
|
|
|
|
#include "math_parinset.h"
|
|
|
|
/// An argument
|
|
class MathMacroArgument: public MathParInset {
|
|
public:
|
|
///
|
|
MathMacroArgument();
|
|
///
|
|
explicit
|
|
MathMacroArgument(int);
|
|
///
|
|
~MathMacroArgument();
|
|
///
|
|
MathedInset * Clone();
|
|
///
|
|
void Metrics();
|
|
///
|
|
void draw(Painter &, int x, int baseline);
|
|
///
|
|
void Write(std::ostream &, bool fragile);
|
|
///
|
|
void setNumber(int n);
|
|
/// Is expanded or not
|
|
void setExpand(bool e);
|
|
/// Is expanded or not
|
|
bool getExpand() const;
|
|
private:
|
|
///
|
|
bool expnd_mode_;
|
|
///
|
|
int number_;
|
|
};
|
|
#endif
|