File: ui.h

package info (click to toggle)
alevt 1%3A1.6.0-10
  • links: PTS
  • area: main
  • in suites: woody
  • size: 748 kB
  • ctags: 653
  • sloc: ansic: 6,222; makefile: 142; perl: 104; sh: 16
file content (41 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (9)
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
#ifndef UI_H
#define UI_H

#include "vt.h"
#include "xio.h"
#include "vbi.h"
#include "edline.h"
#include "search.h"

extern int enab_editor;

#define N_HISTORY	(1 << 6)	// number of history entries

struct vtwin
{
    struct vtwin *parent, *child;
    struct xio_win *xw;
    struct vbi *vbi;
    struct {
	int pgno;
	int subno;
    } hist[N_HISTORY];
    int hist_top;
    int searching;
    int revealed;
    int hold;
    int pgno, subno;
    struct vt_page *vtp;
    struct edline *edline;
    struct search *search;
    int searchdir;
    int status;
    u8 statusline[W+1];
    struct export *export;
};


extern struct vtwin *vtwin_new(struct xio *xio, struct vbi *vbi, char *geom,
				    struct vtwin *parent, int pgno, int subno);

#endif