lyx_mirror/src/mathed/math_deliminset.h
André Pönitz 0024f42724 split super/subscript handling in new base class MathUpDownInset and
MathScriptInset/MathBigOpInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00

34 lines
530 B
C++

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