1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995 Matthias Ettrich
|
|
|
|
*
|
|
|
|
*======================================================*/
|
|
|
|
|
1999-11-04 01:40:20 +00:00
|
|
|
#ifndef LYXCURSOR_H
|
|
|
|
#define LYXCURSOR_H
|
|
|
|
|
|
|
|
#include "lyxparagraph.h"
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
struct Row;
|
|
|
|
|
|
|
|
/** All these variavles should be explained. Matthias?
|
|
|
|
*/
|
|
|
|
struct LyXCursor {
|
|
|
|
///
|
1999-11-04 01:40:20 +00:00
|
|
|
LyXParagraph * par;
|
|
|
|
#ifdef NEW_TEXT
|
|
|
|
///
|
|
|
|
LyXParagraph::size_type pos;
|
|
|
|
#else
|
1999-09-27 18:44:28 +00:00
|
|
|
///
|
|
|
|
int pos;
|
1999-11-04 01:40:20 +00:00
|
|
|
#endif
|
1999-09-27 18:44:28 +00:00
|
|
|
///
|
|
|
|
int x;
|
|
|
|
///
|
|
|
|
int x_fix;
|
|
|
|
///
|
|
|
|
long y;
|
|
|
|
///
|
1999-11-04 01:40:20 +00:00
|
|
|
Row * row;
|
1999-09-27 18:44:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|