2001-11-12 16:45:09 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
#ifndef MATH_CASESINSET_H
|
|
|
|
#define MATH_CASESINSET_H
|
|
|
|
|
|
|
|
#include "math_gridinset.h"
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
class MathCasesInset : public MathGridInset {
|
2002-03-21 17:42:56 +00:00
|
|
|
public:
|
2001-11-12 16:45:09 +00:00
|
|
|
///
|
|
|
|
explicit MathCasesInset(row_type rows = 1u);
|
|
|
|
///
|
|
|
|
MathInset * clone() const;
|
|
|
|
///
|
2002-05-30 07:09:54 +00:00
|
|
|
void metrics(MathMetricsInfo & st) const;
|
2001-11-12 16:45:09 +00:00
|
|
|
///
|
2002-05-30 07:09:54 +00:00
|
|
|
void draw(MathPainterInfo & pain, int x, int y) const;
|
2001-11-12 16:45:09 +00:00
|
|
|
|
|
|
|
///
|
|
|
|
void normalize(NormalStream &) const;
|
|
|
|
///
|
|
|
|
void maplize(MapleStream &) const;
|
|
|
|
///
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|