lyx_mirror/src/mathed/math_sizeinset.h
Lars Gullik Bjønnes 2b8ef58dc0 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00

42 lines
664 B
C++

// -*- 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é Pönitz
*/
class latexkeys;
class MathSizeInset : public MathNestInset {
public:
///
explicit MathSizeInset(latexkeys const * l);
///
MathInset * clone() const;
///
void metrics(MathMetricsInfo const & st) const;
///
void draw(Painter &, int x, int y) const;
///
bool needsBraces() const { return false; }
///
void write(WriteStream & os) const;
///
void normalize(NormalStream &) const;
private:
///
latexkeys const * key_;
};
#endif