2003-08-22 16:01:13 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file math_oversetinset.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef MATH_OVERSETINSET_H
|
|
|
|
|
#define MATH_OVERSETINSET_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "math_fracbase.h"
|
|
|
|
|
|
|
|
|
|
/// Inset for overset
|
|
|
|
|
class MathOversetInset : public MathFracbaseInset {
|
|
|
|
|
public:
|
|
|
|
|
///
|
2003-08-22 16:14:26 +00:00
|
|
|
|
std::auto_ptr<InsetBase> clone() const;
|
2003-08-22 16:01:13 +00:00
|
|
|
|
///
|
|
|
|
|
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
|
|
|
|
///
|
|
|
|
|
void draw(PainterInfo & pi, int x, int y) const;
|
2003-08-22 16:14:26 +00:00
|
|
|
|
///
|
2004-01-16 12:36:23 +00:00
|
|
|
|
bool idxFirst(LCursor &) const;
|
2003-08-22 16:14:26 +00:00
|
|
|
|
///
|
2004-01-16 12:36:23 +00:00
|
|
|
|
bool idxLast(LCursor &) const;
|
2003-08-22 16:01:13 +00:00
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
|
///
|
|
|
|
|
void normalize(NormalStream &) const;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|