Files
w3m/frame.h
Fumitoshi UKAI 6e58e83e12 [w3m-dev 03686] Re: fold patch
* buffer.c (writeBufferCache): rewrite
	(readBufferCache): rewrite
* etc.c (calcPosition): short -> int realColumn
* fm.h (Line): short -> int len,width,size,bpos,bwidth
	(BufferPoint): short->int pos
	(Buffer): short->int currentColumn,pos,visualpos
	(BufferPos): short->int currentColumn,pos
* frame.h (frameset_queue): short->int pos,currentColumn
* main.c (clear_mark): short->int pos
	(dispincsrch): short->int pos
	(backBf): short->int pos
	(set_buffer_environ): short->int prev_pos
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-25 17:42:17 +00:00

63 lines
1.1 KiB
C

/* $Id: frame.h,v 1.6 2003/01/25 17:42:17 ukai Exp $ */
/*
* frame support
*/
struct frame_element {
char attr;
#define F_UNLOADED 0x00
#define F_BODY 0x01
#define F_FRAMESET 0x02
char dummy;
char *name;
};
struct frame_body {
char attr;
char flags;
#define FB_NO_BUFFER 0x01
char *name;
char *url;
ParsedURL *baseURL;
char *source;
char *type;
char *referer;
struct _anchorList *nameList;
FormList *request;
#ifdef USE_SSL
char *ssl_certificate;
#endif
};
union frameset_element {
struct frame_element *element;
struct frame_body *body;
struct frameset *set;
};
struct frameset {
char attr;
char dummy;
char *name;
ParsedURL *currentURL;
char **width;
char **height;
int col;
int row;
int i;
union frameset_element *frame;
};
struct frameset_queue {
struct frameset_queue *next;
struct frameset_queue *back;
struct frameset *frameset;
long linenumber;
long top_linenumber;
int pos;
int currentColumn;
struct _anchorList *formitem;
};
extern struct frameset *renderFrameSet;