mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
0024f42724
MathScriptInset/MathBigOpInset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
34 lines
572 B
C++
34 lines
572 B
C++
// -*- 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
|