mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
27 lines
398 B
C
27 lines
398 B
C
|
|
||
|
#ifndef MATH_SQRTINSET_H
|
||
|
#define MATH_SQRTINSET_H
|
||
|
|
||
|
#include "math_parinset.h"
|
||
|
|
||
|
///
|
||
|
class MathSqrtInset: public MathParInset {
|
||
|
public:
|
||
|
///
|
||
|
MathSqrtInset(short st = LM_ST_TEXT);
|
||
|
///
|
||
|
MathedInset * Clone();
|
||
|
///
|
||
|
void draw(Painter &, int x, int baseline);
|
||
|
///
|
||
|
void Write(std::ostream &, bool fragile);
|
||
|
///
|
||
|
void Metrics();
|
||
|
///
|
||
|
bool Inside(int, int);
|
||
|
private:
|
||
|
///
|
||
|
int hmax, wbody;
|
||
|
};
|
||
|
#endif
|