[409b67]: joe / tw.h Maximize Restore History

Download this file

tw.h    43 lines (36 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Text editing windows
* Copyright
* (C) 1992 Joseph H. Allen
*
* This file is part of JOE (Joe's Own Editor)
*/
#ifndef _JOE_TW_H
#define _JOE_TW_H 1
/* Text window (a BW) */
struct tw {
unsigned char *stalin; /* Status line info */
unsigned char *staright;
int staon; /* Set if status line was on */
long prevline; /* Previous cursor line number */
int changed; /* Previous changed value */
B *prev_b; /* Previous buffer (we need to update status line on nbuf/pbuf) */
};
BW *wmktw PARAMS((Screen *t, B *b));
int usplitw PARAMS((BW *bw));
int uduptw PARAMS((BW *bw));
int utw0 PARAMS((BASE *b));
int utw1 PARAMS((BASE *b));
int uabortbuf PARAMS((BW *bw));
int ucancel PARAMS((BW *bw, int k));
int uabort PARAMS((BW *bw, int k));
int uabort1 PARAMS((BW *bw, int k));
void setline PARAMS((B *b, long int line));
int abortit PARAMS((BW *bw));
extern int staen;
extern int staupd;
extern int keepup;
extern int bg_stalin;
extern WATOM watomtw;
unsigned char *stagen(unsigned char *stalin, BW *bw, unsigned char *s, int fill);
#endif