📄 protos.h
字号:
void rxvt_scr_add_lines __PROTO((rxvt_t* r, int page, const unsigned char* str, int nlines, int len));void rxvt_scr_backspace __PROTO((rxvt_t* r, int page));void rxvt_scr_tab __PROTO((rxvt_t* r, int page, int count));void rxvt_scr_backindex __PROTO((rxvt_t* r, int page));void rxvt_scr_forwardindex __PROTO((rxvt_t* r, int page));void rxvt_scr_gotorc __PROTO((rxvt_t* r, int page, int row, int col, int relative));void rxvt_scr_index __PROTO((rxvt_t* r, int page, enum page_dirn direction));void rxvt_scr_erase_line __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_erase_screen __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_E __PROTO((rxvt_t* r, int page));void rxvt_scr_insdel_lines __PROTO((rxvt_t* r, int page, int count, int insdel));void rxvt_scr_insdel_chars __PROTO((rxvt_t* r, int page, int count, int insdel));void rxvt_scr_scroll_region __PROTO((rxvt_t* r, int page, int top, int bot));void rxvt_scr_cursor_visible __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_autowrap __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_relative_origin __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_insert_mode __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_set_tab __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_rvideo_mode __PROTO((rxvt_t* r, int page, int mode));void rxvt_scr_report_position __PROTO((rxvt_t* r, int page));void rxvt_scr_charset_choose __PROTO((rxvt_t* r, int page, int set));void rxvt_scr_charset_set __PROTO((rxvt_t* r, int page, int set, unsigned int ch));int rxvt_scr_get_fgcolor __PROTO((rxvt_t *r));int rxvt_scr_get_bgcolor __PROTO((rxvt_t *r));void rxvt_scr_expose __PROTO((rxvt_t* r, int page, int x, int y, int width, int height, Bool refresh));void rxvt_scr_touch __PROTO((rxvt_t* r, int page, Bool refresh));int rxvt_scr_move_to __PROTO((rxvt_t* r, int page, int y, int len));int rxvt_scr_page __PROTO((rxvt_t* r, int page, enum page_dirn direction, int nlines));void rxvt_scr_bell __PROTO((rxvt_t *r, int page));void rxvt_scr_printscreen __PROTO((rxvt_t* r, int page, int fullhist, int pretty, int linecont, const char *pipeName));void rxvt_scr_refresh __PROTO((rxvt_t* r, int page, unsigned char refresh_type));void rxvt_scr_clear __PROTO((rxvt_t* r, int page));void rxvt_scr_dump __PROTO((rxvt_t* r, int page, int fd));void rxvt_selection_check __PROTO((rxvt_t* r, int page, int check_more));int rxvt_selection_paste __PROTO((rxvt_t* r, Window win, Atom prop, Bool delete_prop));void rxvt_selection_property __PROTO((rxvt_t* r, Window win, Atom prop));void rxvt_selection_request __PROTO((rxvt_t* r, int page, Time tm, int x, int y));void rxvt_selection_request_by_sel __PROTO((rxvt_t* r, int page, Time tm, int x, int y, int sel));void rxvt_process_selectionclear __PROTO((rxvt_t* r, int page));void rxvt_selection_make __PROTO((rxvt_t* r, int page, Time tm));void rxvt_selection_click __PROTO((rxvt_t* r, int page, int clicks, int x, int y));void rxvt_selection_extend __PROTO((rxvt_t* r, int page, int x, int y, int flag));void rxvt_selection_rotate __PROTO((rxvt_t* r, int page, int x, int y));void rxvt_paste_file __PROTO((rxvt_t* r, int page, Time tm, int x, int y, char* filename));void rxvt_process_selectionrequest __PROTO((rxvt_t* r, int page, const XSelectionRequestEvent *rq));void rxvt_pixel_position __PROTO((rxvt_t* r, int *x, int *y));/* End prototypes of screen.c *//* Begin prototypes of scrollbar-next.c */#ifdef NEXT_SCROLLBARvoid rxvt_scrollbar_init_next __PROTO((rxvt_t *r));void rxvt_scrollbar_exit_next __PROTO((rxvt_t *r));int rxvt_scrollbar_show_next __PROTO((rxvt_t* r, int update, int last_top, int last_bot, int scroller_len));#endif/* End prototypes of scrollbar-next.c *//* Begin prototypes of scrollbar-rxvt.c */#ifdef RXVT_SCROLLBARvoid rxvt_scrollbar_init_rxvt __PROTO((rxvt_t *r));void rxvt_scrollbar_exit_rxvt __PROTO((rxvt_t *r));int rxvt_scrollbar_show_rxvt __PROTO((rxvt_t* r, int update __attribute__((unused)), int last_top, int last_bot, int scroller_len));#endif/* End prototypes of scrollbar-rxvt.c *//* Begin prototypes of scrollbar-xterm.c */#ifdef XTERM_SCROLLBARvoid rxvt_scrollbar_init_xterm __PROTO((rxvt_t *r));void rxvt_scrollbar_exit_xterm __PROTO((rxvt_t *r));int rxvt_scrollbar_show_xterm __PROTO((rxvt_t* r, int update __attribute__((unused)), int last_top, int last_bot, int scroller_len));#endif/* End prototypes of scrollbar-xterm.c *//* Begin prototypes of scrollbar-plain.c */#ifdef PLAIN_SCROLLBARvoid rxvt_scrollbar_init_plain __PROTO((rxvt_t *r));void rxvt_scrollbar_exit_plain __PROTO((rxvt_t *r));int rxvt_scrollbar_show_plain __PROTO((rxvt_t* r, int update __attribute__((unused)), int last_top, int last_bot, int scroller_len));#endif/* End prototypes of scrollbar-plain.c *//* Begin prototypes of scrollbar-sgi.c */#ifdef SGI_SCROLLBARvoid rxvt_scrollbar_init_sgi __PROTO((rxvt_t *r));void rxvt_scrollbar_exit_sgi __PROTO((rxvt_t *r));int rxvt_scrollbar_show_sgi __PROTO((rxvt_t* r, int update __attribute__((unused)), int last_top, int last_bot, int scroller_len));#endif/* End prototypes of scrollbar-sgi.c *//* Begin prototypes of scrollbar.c */#ifdef HAVE_SCROLLBARSint rxvt_scrollbar_visible __PROTO((rxvt_t* r));void rxvt_scrollbar_init __PROTO((rxvt_t* r));void rxvt_scrollbar_create __PROTO((rxvt_t* r));void rxvt_scrollbar_clean_exit __PROTO((rxvt_t* r));void rxvt_scrollbar_resize __PROTO((rxvt_t* r));int rxvt_scrollbar_hide __PROTO((rxvt_t* r));int rxvt_scrollbar_show __PROTO((rxvt_t* r));int rxvt_scrollbar_update __PROTO((rxvt_t* r, int update));unsigned short rxvt_scrollbar_width __PROTO((rxvt_t* r));unsigned short rxvt_scrollbar_rwidth __PROTO((rxvt_t* r));int rxvt_is_scrollbar_win __PROTO((rxvt_t* r, Window w));unsigned long rxvt_scrollbar_bg __PROTO((rxvt_t* r));#endif/* End prototypes of scrollbar.c *//* Begin prototypes of strings.c */#ifdef HAVE_WCHAR_Hchar* rxvt_wcstombs __PROTO((const wchar_t* str, int len));wchar_t* rxvt_mbstowcs __PROTO((const char* str));char* rxvt_wcstoutf8 __PROTO((const wchar_t* str));wchar_t* rxvt_utf8towcs __PROTO((const char* str));#endif /* HAVE_WCHAR_H */int ma_strcasecmp __PROTO((const char* s1, const char* s2));int ma_strncasecmp __PROTO((const char* s1, const char* s2, size_t n));char* ma_strcpy __PROTO((char* d, const char* s));char* ma_strncpy __PROTO((char* d, const char* s, size_t len));int ma_strcmp __PROTO((const char* s1, const char* s2));int ma_strncmp __PROTO((const char* s1, const char* s2, size_t len));char* ma_strcat __PROTO((char* s1, const char* s2));char* ma_strncat __PROTO((char* s1, const char* s2, size_t len));size_t ma_strlen __PROTO((const char* s));char* ma_strdup __PROTO((const char* s));char UNTAINTED * ma_strndup __PROTO((const char TAINTED * s, size_t sz));char* ma_index __PROTO((const char* s, int c));char* ma_strchr __PROTO((const char* s, int c));char* ma_rindex __PROTO((const char* s, int c));char* ma_strrchr __PROTO((const char* s, int c));void* ma_memcpy __PROTO((void *s1, const void *s2, size_t len));void* ma_memmove __PROTO((void *d, const void *s, size_t len));void ma_bzero __PROTO((void *b, size_t len));void* ma_memset __PROTO((void *p, int c1, size_t len));char* ma_strcasestr __PROTO((const char* phaystack, const char *pneedle));/* End prototypes of strings.c *//* Begin prototypes of transparent.c */int rxvt_set_opacity __PROTO((rxvt_t*));void rxvt_process_reparentnotify __PROTO((rxvt_t*, XEvent*));#ifdef TRANSPARENTvoid rxvt_toggle_transparency __PROTO((rxvt_t*));void refreshRootBGVars __PROTO((rxvt_t*));int rxvt_check_our_parents __PROTO((rxvt_t*));#endif#if defined(TRANSPARENT) || defined(BACKGROUND_IMAGE)void rxvt_refresh_bg_image __PROTO((rxvt_t*, int, Bool));#endif#ifdef TINTING_SUPPORT# if defined(HAVE_LIBXRENDER)void xrenderShadeParentPixmap __PROTO((rxvt_t*, Pixmap, int, int, unsigned, unsigned, Bool));# elsevoid rxvt_shade_pixmap __PROTO((rxvt_t*, Drawable, int, int, unsigned, unsigned));# endif#endif/* End prototypes of transparent.c *//* Begin prototypes of xdefaults.c */void rxvt_usage __PROTO((int type));int rxvt_save_options __PROTO((rxvt_t* r, const char* filename));void rxvt_get_options __PROTO((rxvt_t* r, int argc, const char* const *argv));void rxvt_extract_resources __PROTO((rxvt_t* r, Display *display __attribute__((unused)), const char* name));/* End prototypes of xdefaults.c */#if defined(BACKGROUND_IMAGE) || defined(TRANSPARENT)/* Begin prototypes of pixmap.c */int rxvt_scale_pixmap __PROTO((rxvt_t* r, int page, const char* geom));void rxvt_resize_pixmap __PROTO((rxvt_t* r, int page));Pixmap rxvt_load_bg_pixmap __PROTO((rxvt_t* r, int page, const char* file));Pixmap rxvt_load_pixmap __PROTO((rxvt_t* r, const char* file, long* pw, long* ph));/* End prototypes of pixmap.c *//* Begin prototypes of jpg.c */#ifdef USE_JPEGlong JpegReadFileToPixmap __PROTO((Display* display, Window window, GC gc, char* filename, Pixmap* pixmap, long* w, long* h));#endif/* End prototypes of jpg.c *//* Begin prototypes of png.c */#ifdef USE_PNGlong PngReadFileToPixmap __PROTO((Display* display, Window window, GC gc, char* filename, Pixmap* pixmap, long* w, long* h));#endif/* End prototypes of png.c */#endif /* BACKGROUND_IMAGE || TRANSPARENT *//* Begin prototypes of tabbar.c */void rxvt_append_page __PROTO((rxvt_t*, int profile, const char TAINTED *title, const char *command));void rxvt_kill_page __PROTO((rxvt_t*, short));void rxvt_remove_page __PROTO((rxvt_t*, short));void rxvt_activate_page __PROTO((rxvt_t*, short));void rxvt_tabbar_set_visible_tabs __PROTO((rxvt_t*, Bool));void refresh_tabbar_tab __PROTO((rxvt_t*, int));void rxvt_tabbar_set_title __PROTO((rxvt_t*, short, const unsigned char TAINTED *));void rxvt_tabbar_resize __PROTO((rxvt_t*));void rxvt_tabbar_dispatcher __PROTO((rxvt_t*, XButtonEvent*));void rxvt_tabbar_button_release __PROTO((rxvt_t*, XButtonEvent*));int rxvt_tabbar_visible __PROTO((rxvt_t*));void rxvt_tabbar_expose __PROTO((rxvt_t*, XEvent*));int rxvt_tabbar_hide __PROTO((rxvt_t*));int rxvt_tabbar_show __PROTO((rxvt_t*));void rxvt_tabbar_create __PROTO((rxvt_t*));void rxvt_tabbar_clean_exit __PROTO((rxvt_t*));unsigned short rxvt_tabbar_height __PROTO((rxvt_t*));unsigned short rxvt_tabbar_rheight __PROTO((rxvt_t*));unsigned int rxvt_tab_width __PROTO((rxvt_t*, const char*));int rxvt_is_tabbar_win __PROTO((rxvt_t*, Window));void rxvt_tabbar_draw_buttons __PROTO((rxvt_t*));void rxvt_adjust_fd_number __PROTO((rxvt_t* r));void rxvt_tabbar_change_color __PROTO((rxvt_t*, int, const char*));void rxvt_tabbar_highlight_tab __PROTO((rxvt_t*, short, Bool));void rxvt_tabbar_move_tab __PROTO((rxvt_t*, short));void sync_tab_title __PROTO((rxvt_t*, int));/* End prototypes of tabbar.c *//* Begin prototypes of session.c */#ifdef HAVE_X11_SM_SMLIB_Hvoid rxvt_process_ice_msgs __PROTO((rxvt_t* r));void rxvt_session_init __PROTO((rxvt_t* r));void rxvt_session_exit __PROTO((rxvt_t* r));#endif /* HAVE_X11_SM_SMLIB_H *//* End prototypes of session.c *//* Begin prototypes of debug.c */int rxvt_msg __PROTO((uint32_t, uint32_t, const char*, ...));void rxvt_parse_dbg_arguments __PROTO((int argc, const char* const*));/* End prototypes of debug.c */#endif /* __PROTOS_H__ *//*----------------------- end-of-file (H source) -----------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -