~ubuntu-branches/ubuntu/dapper/screen/dapper-updates

« back to all changes in this revision

Viewing changes to mark.h

  • Committer: Bazaar Package Importer
  • Author(s): Nathaniel McCallum
  • Date: 2004-09-03 15:15:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040903151533-px02yqlrchs4fv2t
Tags: upstream-4.0.2
ImportĀ upstreamĀ versionĀ 4.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 1993-2002
 
2
 *      Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
 
3
 *      Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
 
4
 * Copyright (c) 1987 Oliver Laumann
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2, or (at your option)
 
9
 * any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program (see the file COPYING); if not, write to the
 
18
 * Free Software Foundation, Inc.,
 
19
 * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
 
20
 *
 
21
 ****************************************************************
 
22
 * $Id: mark.h,v 1.1.1.1 1993/06/16 23:51:13 jnweiger Exp $ FAU
 
23
 */
 
24
 
 
25
struct markdata
 
26
{
 
27
  struct win *md_window;/* pointer to window we are working on */
 
28
  struct acluser *md_user;      /* The user who brought us up */
 
29
  int   cx, cy;         /* cursor Position in WIN coords*/
 
30
  int   x1, y1;         /* first mark in WIN coords */
 
31
  int   second;         /* first mark dropped flag */
 
32
  int   left_mar, right_mar, nonl;
 
33
  int   rep_cnt;        /* number of repeats */
 
34
  int   append_mode;    /* shall we overwrite or append to copybuffer */
 
35
  int   write_buffer;   /* shall we do a KEY_WRITE_EXCHANGE right away? */
 
36
  int   hist_offset;    /* how many lines are on top of the screen */
 
37
  char  isstr[100];     /* string we are searching for */
 
38
  int   isstrl;
 
39
  char  isistr[200];    /* string of chars user has typed */
 
40
  int   isistrl;
 
41
  int   isdir;          /* current search direction */
 
42
  int   isstartpos;     /* position where isearch was started */
 
43
  int   isstartdir;     /* direction when isearch was started */
 
44
};
 
45
 
 
46
 
 
47
#define W2D(y) ((y) - markdata->hist_offset)
 
48
#define D2W(y) ((y) + markdata->hist_offset)
 
49