lyx_mirror/src/mathed/math_decorationinset.h

35 lines
562 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_DECORATIONINSET_H
#define MATH_DECORATIONINSET_H
#include "math_inset.h"
#ifdef __GNUG__
#pragma interface
#endif
/** Decorations over (below) a math object
\author Alejandro Aguilar Sierra
*/
class MathDecorationInset : public MathInset {
public:
///
MathDecorationInset(int);
///
MathInset * clone() const;
///
void draw(Painter &, int, int);
///
void Write(std::ostream &, bool fragile) const;
///
void Metrics(MathStyles st);
///
bool GetLimits() const;
private:
///
int deco_;
///
bool upper_;
};
#endif