diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-06-30 16:16:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-06-30 16:16:41 +0000 |
commit | 843ee41eb8258ac50ed81976757d8b228382a880 (patch) | |
tree | d0fcdff9e19b05b182de1bb1be46b2e6f5b8b0b7 /src/proto | |
parent | f4b8e57ffd048f9ca46dd7618939ba7a1b2294ec (diff) |
updated for version 7.0003
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/gui_kde.pro | 19 | ||||
-rw-r--r-- | src/proto/gui_kde_x11.pro | 62 | ||||
-rw-r--r-- | src/proto/misc2.pro | 2 | ||||
-rw-r--r-- | src/proto/os_mswin.pro | 2 |
4 files changed, 85 insertions, 0 deletions
diff --git a/src/proto/gui_kde.pro b/src/proto/gui_kde.pro new file mode 100644 index 0000000000..3a52fa77c5 --- /dev/null +++ b/src/proto/gui_kde.pro @@ -0,0 +1,19 @@ +/* gui_kde.c */ +void gui_mch_add_menu __ARGS((vimmenu_T *menu, int idx)); +void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx)); +void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h)); +void gui_gtk_set_mnemonics __ARGS((int enable)); +void gui_mch_toggle_tearoffs __ARGS((int enable)); +void gui_mch_destroy_menu __ARGS((vimmenu_T *menu)); +void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max)); +void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h)); +void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient)); +void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb)); +char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter)); +int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield)); +void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu)); +void gui_mch_find_dialog __ARGS((exarg_T *eap)); +void gui_mch_replace_dialog __ARGS((exarg_T *eap)); +void ex_helpfind __ARGS((exarg_T *eap)); +void gui_make_popup __ARGS((char_u *path_name)); +/* vim: set ft=c : */ diff --git a/src/proto/gui_kde_x11.pro b/src/proto/gui_kde_x11.pro new file mode 100644 index 0000000000..7d968d9c5a --- /dev/null +++ b/src/proto/gui_kde_x11.pro @@ -0,0 +1,62 @@ +/* gui_kde_x11.c */ +void gui_mch_prepare __ARGS((int *argc, char **argv)); +void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); +void gui_mch_stop_blink __ARGS((void)); +void gui_mch_start_blink __ARGS((void)); +int gui_mch_init_check __ARGS((void)); +int gui_mch_init __ARGS((void)); +void gui_mch_new_colors __ARGS((void)); +int gui_mch_open __ARGS((void)); +void gui_mch_exit __ARGS((int rc)); +int gui_mch_get_winpos __ARGS((int *x, int *y)); +void gui_mch_set_winpos __ARGS((int x, int y)); +void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height)); +void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); +void gui_mch_enable_menu __ARGS((int flag)); +void gui_mch_show_toolbar __ARGS((int showit)); +int gui_mch_adjust_charsize __ARGS((void)); +GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int report_error, int fixed_width)); +int gui_mch_init_font __ARGS((char_u *font_name, int fontset)); +GuiFont gui_mch_get_font __ARGS((char_u *name, int report_error)); +void gui_mch_set_font __ARGS((GuiFont font)); +void gui_mch_set_fontset __ARGS((GuiFontset fontset)); +void gui_mch_free_font __ARGS((GuiFont font)); +void gui_mch_free_fontset __ARGS((GuiFontset fontset)); +guicolor_T gui_mch_get_color __ARGS((char_u *name)); +void gui_mch_set_fg_color __ARGS((guicolor_T color)); +void gui_mch_set_bg_color __ARGS((guicolor_T color)); +void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); +int gui_mch_haskey __ARGS((char_u *name)); +int gui_get_x11_windis __ARGS((Window *win, Display **dis)); +void gui_mch_beep __ARGS((void)); +void gui_mch_flash __ARGS((int msec)); +void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); +void gui_mch_iconify __ARGS((void)); +void gui_mch_set_foreground __ARGS((void)); +void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); +void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); +void gui_mch_update __ARGS((void)); +int gui_mch_wait_for_chars __ARGS((long wtime)); +void gui_mch_flush __ARGS((void)); +void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); +void gui_mch_clear_all __ARGS((void)); +void gui_mch_delete_lines __ARGS((int row, int num_lines)); +void gui_mch_insert_lines __ARGS((int row, int num_lines)); +void clip_mch_request_selection __ARGS((VimClipboard *cbd)); +void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); +int clip_mch_own_selection __ARGS((VimClipboard *cbd)); +void clip_mch_set_selection __ARGS((VimClipboard *cbd)); +void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); +void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); +void gui_mch_draw_menubar __ARGS((void)); +void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag)); +long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); +int gui_mch_get_mouse_x __ARGS((void)); +int gui_mch_get_mouse_y __ARGS((void)); +void gui_mch_setmouse __ARGS((int x, int y)); +void gui_mch_mousehide __ARGS((int hide)); +void mch_set_mouse_shape __ARGS((int shape)); +char_u *gui_mch_font_dialog __ARGS((char_u *oldval)); +void gui_mch_settitle __ARGS((char_u *title,char_u *icon)); +void gui_mch_update_codec __ARGS((void)); +/* vim: set ft=c : */ diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index cbe2af759c..899018be54 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -17,7 +17,9 @@ void check_cursor __ARGS((void)); void adjust_cursor_col __ARGS((void)); int leftcol_changed __ARGS((void)); void vim_mem_profile_dump __ARGS((void)); +#ifndef __cplusplus char_u *alloc __ARGS((unsigned size)); +#endif char_u *alloc_clear __ARGS((unsigned size)); char_u *alloc_check __ARGS((unsigned size)); char_u *lalloc_clear __ARGS((long_u size, int message)); diff --git a/src/proto/os_mswin.pro b/src/proto/os_mswin.pro index b4612f0d0a..c9e495d619 100644 --- a/src/proto/os_mswin.pro +++ b/src/proto/os_mswin.pro @@ -33,6 +33,8 @@ char_u *ucs2_to_enc __ARGS((short_u *str, int *lenp)); void clip_mch_request_selection __ARGS((VimClipboard *cbd)); void clip_mch_set_selection __ARGS((VimClipboard *cbd)); void DumpPutS __ARGS((const char *psz)); +int mch_get_winpos __ARGS((int *x, int *y)); +void mch_set_winpos __ARGS((int x, int y)); void mch_print_cleanup __ARGS((void)); int mch_print_init __ARGS((prt_settings_T *psettings, char_u *jobname, int forceit)); int mch_print_begin __ARGS((prt_settings_T *psettings)); |