lyx_mirror/src/mathed/math_binominset.h

33 lines
541 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_BINOMINSET_H
#define MATH_DINOMINSET_H
#include "math_fracbase.h"
/** Binom like objects
* \author Andr<EFBFBD> P<EFBFBD>nitz
*/
class MathBinomInset : public MathFracbaseInset {
public:
///
explicit MathBinomInset(bool choose = false);
///
MathInset * clone() const;
///
void write(WriteStream & os) const;
///
void normalize(NormalStream &) const;
///
Dimension metrics(MetricsInfo & mi) const;
///
void draw(PainterInfo &, int x, int y) const;
private:
///
int dw() const;
///
bool choose_;
};
#endif