mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
7d7ec758c0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1498 a592a061-630c-0410-9148-cb99ea01b6c8
30 lines
490 B
C++
30 lines
490 B
C++
#ifndef MATH_DECORATIONINSET_H
|
|
#define MATH_DECORATIONINSET_H
|
|
|
|
#include "math_parinset.h"
|
|
|
|
/// Decorations over (below) a math object
|
|
class MathDecorationInset: public MathParInset {
|
|
public:
|
|
///
|
|
MathDecorationInset(int, short st = LM_ST_TEXT);
|
|
///
|
|
MathedInset * Clone();
|
|
///
|
|
void draw(Painter &, int, int);
|
|
///
|
|
void Write(std::ostream &, bool fragile);
|
|
///
|
|
void Metrics();
|
|
///
|
|
bool GetLimits() const;
|
|
protected:
|
|
///
|
|
int deco;
|
|
///
|
|
bool upper;
|
|
///
|
|
int dw, dh, dy;
|
|
};
|
|
#endif
|