mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
51e0c8bd1f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2413 a592a061-630c-0410-9148-cb99ea01b6c8
30 lines
509 B
C++
30 lines
509 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_SQRTINSET_H
|
|
#define MATH_SQRTINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** The square root inset.
|
|
\author Alejandro Aguilar Siearra
|
|
*/
|
|
class MathSqrtInset : public MathNestInset {
|
|
public:
|
|
///
|
|
MathSqrtInset();
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(Painter &, int x, int baseline);
|
|
///
|
|
void write(std::ostream &, bool fragile) const;
|
|
///
|
|
void writeNormal(std::ostream &) const;
|
|
///
|
|
void metrics(MathStyles st);
|
|
};
|
|
#endif
|