lyx_mirror/src/mathed/math_deliminset.h

34 lines
512 B
C
Raw Normal View History

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