diff options
Diffstat (limited to '')
-rw-r--r-- | proto.h | 46 |
1 files changed, 42 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.32 2002/01/31 03:55:35 ukai Exp $ */ +/* $Id: proto.h,v 1.33 2002/01/31 17:54:56 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -102,6 +102,13 @@ extern void rFrame(void); extern void extbrz(void); extern void linkbrz(void); extern void curlno(void); +#ifdef USE_IMAGE +extern void dispI(void); +extern void stopI(void); +#else +#define dispI nulcmd +#define stopI nulcmd +#endif #ifdef USE_ALARM extern void setAlarm(void); extern void setAlarmEvent(int sec, short status, int cmd, void *data); @@ -137,7 +144,14 @@ extern void save_fonteffect(struct html_feed_environ *h_env, struct readbuffer *obuf); extern void restore_fonteffect(struct html_feed_environ *h_env, struct readbuffer *obuf); -extern Str process_img(struct parsed_tag *tag); +#ifdef USE_IMAGE +extern void deleteImage(Buffer *buf); +extern void getAllImage(Buffer *buf); +extern void loadImage(int flag); +extern ImageCache *getImage(Image * image, ParsedURL *current, int flag); +extern int getImageSize(ImageCache * cache); +#endif +extern Str process_img(struct parsed_tag *tag, int width); extern Str process_anchor(struct parsed_tag *tag, char *tagbuf); extern Str process_input(struct parsed_tag *tag); extern void process_select(struct parsed_tag *tag); @@ -168,6 +182,9 @@ extern Buffer *loadHTMLString(Str page); extern Buffer *loadGopherDir(URLFile *uf, Buffer *newBuf); #endif /* USE_GOPHER */ extern Buffer *loadBuffer(URLFile *uf, Buffer *newBuf); +#ifdef USE_IMAGE +extern Buffer *loadImageBuffer(URLFile *uf, Buffer *newBuf); +#endif extern void saveBuffer(Buffer *buf, FILE * f); extern void saveBufferDelNum(Buffer *buf, FILE * f, int del); extern Buffer *getshell(char *cmd); @@ -316,11 +333,15 @@ 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, int x, - int y); +extern char *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 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); @@ -397,6 +418,9 @@ extern void toggle_stand(void); extern char getch(void); extern void bell(void); extern void sleep_till_anykey(int sec, int purge); +#ifdef USE_IMAGE +extern void touch_cursor(); +#endif #ifdef JP_CHARSET extern char *GetSICode(char key); extern char *GetSOCode(char key); @@ -526,6 +550,11 @@ extern void reMark(void); #define prevMk nulcmd #define reMark nulcmd #endif /* not USE_MARK */ +#ifdef JP_CHARSET +extern char *cURLcode(char *url, char code); +#else +#define cURLcode(url,buf) (url) +#endif #ifdef USE_MOUSE extern void mouse(void); @@ -539,6 +568,15 @@ extern void msToggle(void); #define msToggle nulcmd #endif /* not USE_MOUSE */ +#ifdef USE_IMAGE +extern void initImage(void); +extern void termImage(void); +extern void addImage(ImageCache * cache, int x, int y, int sx, int sy, int w, + int h); +extern void drawImage(void); +extern void clearImage(void); +#endif + extern char *searchKeyData(void); extern void initKeymap(void); |