mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
f807fe1d6c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@763 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
806 B
C++
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
|