lyx_mirror/src/mathed/math_xyarrowinset.h
Lars Gullik Bjønnes 2b8ef58dc0 ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00

54 lines
888 B
C++

// -*- C++ -*-
#ifndef MATH_XYARROWINSET_H
#define MATH_ARROWINSET_H
#include "math_nestinset.h"
#ifdef __GNUG__
#pragma interface
#endif
// for the \ar stuff in \xymatrix
class MathXYMatrixInset;
class MathXYArrowInset : public MathNestInset {
public:
///
MathXYArrowInset();
///
MathInset * clone() const;
///
void metrics(MathMetricsInfo const & st) const;
///
void draw(Painter & pain, int x, int y) const;
///
MathXYArrowInset * asXYArrowInset() { return this; }
///
void normalize();
///
void write(WriteStream & os) const;
///
void normalize(NormalStream &) const;
public:
///
MathXYMatrixInset const * targetMatrix() const;
///
MathXArray const & targetCell() const;
///
MathXArray const & sourceCell() const;
///
bool up_;
///
mutable MathMetricsInfo mi_;
///
mutable LyXFont font_;
///
mutable MathXYMatrixInset const * target_;
};
#endif