2001-02-13 13:28:32 +00:00
|
|
|
#ifndef MATH_DOTSINSET_H
|
|
|
|
#define MATH_DOTSINSET_H
|
|
|
|
|
|
|
|
#include "math_inset.h"
|
2001-02-13 19:10:18 +00:00
|
|
|
#include "math_defs.h"
|
2001-02-13 13:28:32 +00:00
|
|
|
|
2001-02-16 09:25:43 +00:00
|
|
|
/// The different kinds of ellipsis
|
2001-02-13 13:28:32 +00:00
|
|
|
class MathDotsInset: public MathedInset {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
MathDotsInset(string const &, int, short st = LM_ST_TEXT);
|
|
|
|
///
|
|
|
|
MathedInset * Clone();
|
|
|
|
///
|
|
|
|
void draw(Painter &, int, int);
|
|
|
|
///
|
|
|
|
void Write(std::ostream &, bool fragile);
|
|
|
|
///
|
|
|
|
void Metrics();
|
|
|
|
protected:
|
|
|
|
///
|
2001-02-16 09:25:43 +00:00
|
|
|
int dh_;
|
|
|
|
///
|
|
|
|
int code_;
|
2001-02-13 13:28:32 +00:00
|
|
|
};
|
|
|
|
#endif
|