From e0ae7b688b174f8518246af1b794ef578284fa19 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 13 Dec 2002 02:19:01 +0000 Subject: [w3m-dev 03564] clean up displayBuffer() * display.c (delayed_msg): static (drawAnchorCursor): static (redrawBuffer): define (redrawNLine): static (redrawLine): static (redrawLineRegion): static (do_effects): static (do_color): static (make_lastline_link): added (make_lastline_message): added (displayBuffer): rewrite with make_lastline_message() (drawAnchorCursor0): added (drawAnchorCursor): added * main.c (main): remove onA() (keyPressEventProc): remove onA() (disp_srchresult): static disp_message TRUE (isrch): remove onA() (srch): displayBuffer remove onA() (srch_nxtprv): remove onA() (pipeBuf): disp_message TRUE (pipesh): disp_message TRUE (readsh): disp_message TRUE (_mark): dispBuffer (_followForm): break, always dispBuffer (drawAnchorCursor0): deleted (drawAnchorCursor): deleted (onA): deleted (anchorMn): delete onA() (svBuf): displayBuffer B_NORMAL (reload): disp_err_message TRUE displayBuffer (rFrame): displayBuffer (invoke_browser): displayBuffer (extbrz): disp_err_message TRUE (process_mouse): onA -> displayBuffer (movMs): delete onA() (menuMs): onA -> displayBuffer (closeTMs): disp_message TRUE (wrapToggle): disp_message TRUE (execdict): disp_message TRUE (SigAlarm): displayBuffer, delete onA (reinit): displayBuffer * map.c (getCurrentMapLabel): deleted (retrieveCurrentMapArea): added * proto.h (redrawBuffer): deleted (redrawNLine): deleted (redrawLine): deleted (redrawLineRegion): deleted (do_effects): deleted (do_color): deleted (message_list): deleted (getCurrentMapLabel): deleted (retrieveCurrentMapArea): added From: Hironori SAKAMOTO --- proto.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 37860a5..94c9b0e 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.70 2002/12/12 23:55:30 ukai Exp $ */ +/* $Id: proto.h,v 1.71 2002/12/13 02:19:01 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -271,16 +271,7 @@ extern int readBufferCache(Buffer *buf); extern void fmTerm(void); extern void fmInit(void); extern void displayBuffer(Buffer *buf, int mode); -extern void redrawBuffer(Buffer *buf); -extern void redrawNLine(Buffer *buf, int n); -extern Line *redrawLine(Buffer *buf, Line *l, int i); -extern int redrawLineRegion(Buffer *buf, Line *l, int i, int bpos, int epos); -extern void do_effects(Lineprop m); -#ifdef USE_ANSI_COLOR -extern void do_color(Linecolor c); -#endif extern void addChar(char c, Lineprop mode); -extern GeneralList *message_list; extern void record_err_message(char *s); extern Buffer *message_list_panel(void); extern void message(char *s, int return_x, int return_y); @@ -390,7 +381,7 @@ extern Buffer *follow_map_panel(Buffer *buf, char *name); #endif #ifdef USE_IMAGE extern int getMapXY(Buffer *buf, Anchor *a, int *x, int *y); -extern Str getCurrentMapLabel(Buffer *buf); +extern MapArea *retrieveCurrentMapArea(Buffer *buf); #endif extern Anchor *retrieveCurrentMap(Buffer *buf); extern MapArea *newMapArea(char *url, char *target, char *alt, char *shape, -- cgit v1.2.3