mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
c93e9dcbc5
further cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
39 lines
615 B
C++
39 lines
615 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;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
///
|
|
void normalize(NormalStream &) const;
|
|
|
|
private:
|
|
///
|
|
latexkeys const * key_;
|
|
};
|
|
|
|
#endif
|