mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
9a3176581d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
31 lines
476 B
C++
31 lines
476 B
C++
|
|
#ifndef MATH_SQRTINSET_H
|
|
#define MATH_SQRTINSET_H
|
|
|
|
#include "math_parinset.h"
|
|
|
|
/** The square root inset.
|
|
\author Alejandro Aguilar Siearra
|
|
*/
|
|
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_;
|
|
///
|
|
int wbody_;
|
|
};
|
|
#endif
|