Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 42ac1e248ed9feb35207e4a433509aca > files > 37

alevt-debug-1.6.1-7mdv2008.1.x86_64.rpm

#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