lyx_mirror/src/mathed/math_sizeinset.h

39 lines
621 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATHSIZEINSET_H
#define MATHSIZEINSET_H
#include "math_nestinset.h"
#include "math_defs.h"
#ifdef __GNUG__
#pragma interface
#endif
/** An inset for \scriptsize etc
\author Andr<EFBFBD> Poenitz
*/
class MathSizeInset : public MathNestInset {
public:
///
explicit MathSizeInset(MathStyles st);
///
MathInset * clone() const;
///
void metrics(MathStyles st) const;
///
void draw(Painter &, int x, int y) const;
///
void write(std::ostream &, bool fragile) const;
///
void writeNormal(std::ostream &) const;
private:
///
char const * name() const;
///
MathStyles style_;
};
#endif