lyx_mirror/src/mathed/math_sqrtinset.h
Lars Gullik Bjønnes 2be247f6ef fix macro, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1623 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 12:53:35 +00:00

35 lines
532 B
C++

// -*- C++ -*-
#ifndef MATH_SQRTINSET_H
#define MATH_SQRTINSET_H
#include "math_parinset.h"
#ifdef __GNUG__
#pragma interface
#endif
/** 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