[w3m-dev 03372] tab browser
* display.c (displayBuffer): add ny rootY offset by tab tab line (cursorDown): offset rootY (arrangeCursor): offset rootY * etc.c (columnSkip): offset rootY (lineSkip): offset rootY (currentLineSkip): offset rootY * file.c (HTMLlineproc2body): ATTR_TARGET * fm.h (MapArea): add target (Buffer): add rootY (TabBuffer): added (Currentbuf): comment out (Firstbuf): comment out (CurrentTab): added (FirstTab): added (LastTab): added (open_tab_blank): added (close_tab_back): added (nTab): added (TabCols): added (N_TAB): added (Currentbuf): CurrentTab->currentBuffer (Firstbuf): CurrentTab->firstBuffer * funcname.tab (CLOSE_TAB): added (NEW_TAB): added (NEXT_TAB): added (PREV_TAB): added (TAB_GOTO): added (TAB_GOTO_RELATIVE): added (TAB_LEFT): added (TAB_LINK): added (TAB_MENU): added (TAB_RIGHT): added * html.c (ALST_AREA): add ATTR_TARGET * image.c (showImageProgress): offset rootY * main.c (_newT): added (followTab): added (moveTab): added (check_target): added (MAIN): init tab related values buf => tab (nscroll): offset rootY (pgFore): offset rootY (pgBack): offset rootY (ctrCsrV): offset rootY (_movD): offset rootY (_movU): offset rootY (_goLine): offset rootY (_mark): offset rootY (followA): check target (_followForm): offset rootY (drawAnchorCursor0): offset rootY (drawAnchorCursor): offset rootY (backBf): check close_tab_back (follow_map): rewrite for tab, check target (posTab): added (process_mouse): tab operation offset rootY (deleteFiles): for all buffers in all tabs (newTab): added (newT): added (numTab): added (deleteTab): added (closeT): added (nextT): added (prevT): added (followTab): added (tabA): added (tabURL0): added (tabURL): added (tabrURL): added (moveTab): added (tabR): added (tabL): added * map.c (follow_map_menu): return MapArea (newMapArea): add target args * menu.c (SelTabMenu): added (SelTabV): added (initSelTabMenu): added (smChTab): added (smDelTab): added (MainMenuItem): add Select Tab on New Tab (popupMenu): add initSelTabMenu() offset rootY (mainMn): offset rootY (selMn): offset rootY (initSelectMenu): offset rootY (tabMn): added * proto.h (newT): added (closeT): added (nextT): added (prevT): added (tabA): added (tabURL): added (tabrURL): added (tabR): added (tabL): added (newTab): added (deleteTab): added (follow_map_menu): return MapArea (newMapArea): add target arg (tabMn): added * rc.c (CMT_OPEN_TAB_BLANK): added (CMT_CLOSE_TAB_BACK): added (open_tab_blank): added (close_tab_back): added * doc/README.func (CLOSE_TAB): added (NEW_TAB): added (NEXT_TAB): added (PREV_TAB): added (TAB_GOTO): added (TAB_GOTO_RELATIVE): added (TAB_LEFT): added (TAB_LINK): added (TAB_MENU): added (TAB_RIGHT): added * doc-jp/README.func: ditto doc/README.func From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
22
proto.h
22
proto.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: proto.h,v 1.50 2002/11/05 16:03:14 ukai Exp $ */
|
||||
/* $Id: proto.h,v 1.51 2002/11/05 17:10:07 ukai Exp $ */
|
||||
/*
|
||||
* This file was automatically generated by version 1.7 of cextract.
|
||||
* Manual editing not recommended.
|
||||
@@ -119,6 +119,16 @@ extern void setAlarmEvent(int sec, short status, int cmd, void *data);
|
||||
#endif
|
||||
extern void reinit(void);
|
||||
extern void defKey(void);
|
||||
extern void newT(void);
|
||||
extern void closeT(void);
|
||||
extern void nextT(void);
|
||||
extern void prevT(void);
|
||||
extern void tabA(void);
|
||||
extern void tabURL(void);
|
||||
extern void tabrURL(void);
|
||||
extern void tabR(void);
|
||||
extern void tabL(void);
|
||||
|
||||
extern int currentLn(Buffer *buf);
|
||||
extern void tmpClearBuffer(Buffer *buf);
|
||||
extern char *filename_extension(char *patch, int is_url);
|
||||
@@ -209,6 +219,8 @@ extern char *inputAnswer(char *prompt);
|
||||
extern int matchattr(char *p, char *attr, int len, Str *value);
|
||||
extern void readHeader(URLFile *uf, Buffer *newBuf, int thru, ParsedURL *pu);
|
||||
extern char *checkHeader(Buffer *buf, char *field);
|
||||
extern TabBuffer *newTab(void);
|
||||
extern TabBuffer *deleteTab(TabBuffer *tab);
|
||||
extern Buffer *newBuffer(int width);
|
||||
extern Buffer *nullBuffer(void);
|
||||
extern void clearBuffer(Buffer *buf);
|
||||
@@ -340,15 +352,16 @@ extern void form_write_from_file(FILE * f, char *boundary, char *name,
|
||||
char *filename, char *file);
|
||||
extern void follow_map(struct parsed_tagarg *arg);
|
||||
#ifdef MENU_MAP
|
||||
extern char *follow_map_menu(Buffer *buf, struct parsed_tagarg *arg,
|
||||
Anchor *a_img, int x, int y);
|
||||
extern MapArea *follow_map_menu(Buffer *buf, struct parsed_tagarg *arg,
|
||||
Anchor *a_img, int x, int y);
|
||||
#else
|
||||
extern Buffer *follow_map_panel(Buffer *buf, struct parsed_tagarg *arg);
|
||||
#endif
|
||||
#ifdef USE_IMAGE
|
||||
extern int getMapXY(Buffer *buf, Anchor *a, int *x, int *y);
|
||||
#endif
|
||||
extern MapArea *newMapArea(char *url, char *alt, char *shape, char *coords);
|
||||
extern MapArea *newMapArea(char *url, char *target, char *alt, char *shape,
|
||||
char *coords);
|
||||
extern Buffer *page_info_panel(Buffer *buf);
|
||||
extern struct frame_body *newFrame(struct parsed_tag *tag, Buffer *buf);
|
||||
extern struct frameset *newFrameSet(struct parsed_tag *tag);
|
||||
@@ -624,6 +637,7 @@ extern void popupMenu(int x, int y, Menu *menu);
|
||||
extern void mainMenu(int x, int y);
|
||||
extern void mainMn(void);
|
||||
extern void selMn(void);
|
||||
extern void tabMn(void);
|
||||
extern void optionMenu(int x, int y, char **label, int *variable, int initial,
|
||||
void (*func) ());
|
||||
extern void initMenu(void);
|
||||
|
Reference in New Issue
Block a user