lyx_mirror/src/mathed/math_dotsinset.h

34 lines
572 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_DOTSINSET_H
#define MATH_DOTSINSET_H
#include "math_inset.h"
#include "math_defs.h"
#ifdef __GNUG__
#pragma interface
#endif
/// The different kinds of ellipsis
class MathDotsInset : public MathInset {
public:
///
MathDotsInset(string const &, int);
///
MathInset * clone() const;
///
void draw(Painter &, int, int);
///
void Write(std::ostream &, bool fragile) const;
///
void WriteNormal(std::ostream &) const;
///
void Metrics(MathStyles st, int asc = 0, int des = 0);
protected:
///
int dh_;
///
int code_;
};
#endif