lyx_mirror/src/lyxcursor.h
Jean-Marc Lasgouttes f807fe1d6c Broadwood fixes from Garst; toc/ref menus fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@763 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-22 13:20:51 +00:00

42 lines
806 B
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
#ifndef LYXCURSOR_H
#define LYXCURSOR_H
#include "lyxparagraph.h"
struct Row;
/** All these variables should be explained. Matthias?
*/
struct LyXCursor {
///
LyXParagraph * par;
///
LyXParagraph::size_type pos;
///
int x;
///
int x_fix;
///
unsigned long y;
///
Row * row;
///
inline bool operator==(const LyXCursor &a) const
{ return (a.par == par) && (a.pos == pos); }
inline bool operator!=(const LyXCursor &a) const
{ return (a.par != par) || (a.pos != pos); }
};
#endif