lyx_mirror/src/mathed/math_deliminset.h
André Pönitz c06f5351cf rework of MathDelimInset almost finished... did that break anything?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2471 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 16:02:43 +00:00

41 lines
679 B
C++

// -*- C++ -*-
#ifndef MATH_DELIMINSET_H
#define MATH_DELIMINSET_H
#include "math_nestinset.h"
#include "LString.h"
#ifdef __GNUG__
#pragma interface
#endif
/** A delimiter
\author Alejandro Aguilar Sierra
*/
class latexkeys;
class MathDelimInset : public MathNestInset {
public:
///
MathDelimInset(latexkeys const *, latexkeys const *);
///
MathInset * clone() const;
///
void draw(Painter &, int x, int y) const;
///
void write(std::ostream &, bool fragile) const;
///
void metrics(MathStyles st) const;
private:
///
static string latexName(latexkeys const *);
///
int dw() const;
///
latexkeys const * left_;
///
latexkeys const * right_;
};
#endif