lyx_mirror/src/mathed/math_sizeinset.h
André Pönitz d5eb253d6a fix for recent 'column shift' bug
perhaps fix for g++3.0 compile problem


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2486 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:50:42 +00:00

39 lines
616 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(MathStyles st) const;
///
void draw(Painter &, int x, int y) const;
///
void write(std::ostream &, bool fragile) const;
///
void writeNormal(std::ostream &) const;
private:
///
latexkeys const * key_;
};
#endif