mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
39 lines
611 B
C
39 lines
611 B
C
|
// -*- C++ -*-
|
|||
|
#ifndef MATHSIZEINSET_H
|
|||
|
#define MATHSIZEINSET_H
|
|||
|
|
|||
|
#include "math_inset.h"
|
|||
|
#include "math_defs.h"
|
|||
|
|
|||
|
#ifdef __GNUG__
|
|||
|
#pragma interface
|
|||
|
#endif
|
|||
|
|
|||
|
/** An inset for \scriptsize etc
|
|||
|
\author Andr<EFBFBD> Poenitz
|
|||
|
*/
|
|||
|
|
|||
|
class MathSizeInset : public MathInset {
|
|||
|
public:
|
|||
|
///
|
|||
|
explicit MathSizeInset(MathStyles st);
|
|||
|
///
|
|||
|
MathInset * Clone() const;
|
|||
|
///
|
|||
|
void Metrics(MathStyles st);
|
|||
|
///
|
|||
|
void draw(Painter &, int x, int baseline);
|
|||
|
///
|
|||
|
void Write(std::ostream &, bool fragile) const;
|
|||
|
///
|
|||
|
void WriteNormal(std::ostream &) const;
|
|||
|
|
|||
|
private:
|
|||
|
///
|
|||
|
char const * verbose() const;
|
|||
|
///
|
|||
|
MathStyles style_;
|
|||
|
};
|
|||
|
|
|||
|
#endif
|