lyx_mirror/src/mathed/math_deliminset.h

39 lines
635 B
C
Raw Normal View History

// -*- 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 MathDelimInset : public MathNestInset {
public:
///
MathDelimInset(string const &, string 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:
///
int dw() const;
///
string left_;
///
string right_;
///
static string latexName(string const & name);
};
#endif