Mercurial > vim
comparison src/proto/gui_x11.pro @ 1125:96cd8222a819
updated for version 7.1a
author | vimboss |
---|---|
date | Sat, 05 May 2007 18:24:42 +0000 |
parents | f40f1a8520ff |
children | 21b0a39d13ed |
comparison
equal
deleted
inserted
replaced
1124:da2a955f150a | 1125:96cd8222a819 |
---|---|
1 /* gui_x11.c */ | 1 /* gui_x11.c */ |
2 extern void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum)); | 2 void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum)); |
3 extern void gui_mch_prepare __ARGS((int *argc, char **argv)); | 3 void gui_mch_prepare __ARGS((int *argc, char **argv)); |
4 extern int gui_mch_init_check __ARGS((void)); | 4 int gui_mch_init_check __ARGS((void)); |
5 extern int gui_mch_init __ARGS((void)); | 5 int gui_mch_init __ARGS((void)); |
6 extern void gui_mch_uninit __ARGS((void)); | 6 void gui_mch_uninit __ARGS((void)); |
7 extern void gui_mch_new_colors __ARGS((void)); | 7 void gui_mch_new_colors __ARGS((void)); |
8 extern int gui_mch_open __ARGS((void)); | 8 int gui_mch_open __ARGS((void)); |
9 extern void gui_init_tooltip_font __ARGS((void)); | 9 void gui_init_tooltip_font __ARGS((void)); |
10 extern void gui_init_menu_font __ARGS((void)); | 10 void gui_init_menu_font __ARGS((void)); |
11 extern void gui_mch_exit __ARGS((int rc)); | 11 void gui_mch_exit __ARGS((int rc)); |
12 extern int gui_mch_get_winpos __ARGS((int *x, int *y)); | 12 int gui_mch_get_winpos __ARGS((int *x, int *y)); |
13 extern void gui_mch_set_winpos __ARGS((int x, int y)); | 13 void gui_mch_set_winpos __ARGS((int x, int y)); |
14 extern void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction)); | 14 void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction)); |
15 extern void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); | 15 void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); |
16 extern int gui_mch_init_font __ARGS((char_u *font_name, int do_fontset)); | 16 int gui_mch_init_font __ARGS((char_u *font_name, int do_fontset)); |
17 extern GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing)); | 17 GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing)); |
18 extern char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name)); | 18 char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name)); |
19 extern int gui_mch_adjust_charheight __ARGS((void)); | 19 int gui_mch_adjust_charheight __ARGS((void)); |
20 extern void gui_mch_set_font __ARGS((GuiFont font)); | 20 void gui_mch_set_font __ARGS((GuiFont font)); |
21 extern void gui_mch_set_fontset __ARGS((GuiFontset fontset)); | 21 void gui_mch_set_fontset __ARGS((GuiFontset fontset)); |
22 extern void gui_mch_free_font __ARGS((GuiFont font)); | 22 void gui_mch_free_font __ARGS((GuiFont font)); |
23 extern void gui_mch_free_fontset __ARGS((GuiFontset fontset)); | 23 void gui_mch_free_fontset __ARGS((GuiFontset fontset)); |
24 extern GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int giveErrorIfMissing, int fixed_width)); | 24 GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int giveErrorIfMissing, int fixed_width)); |
25 extern int fontset_height __ARGS((XFontSet fs)); | 25 int fontset_height __ARGS((XFontSet fs)); |
26 extern int fontset_height2 __ARGS((XFontSet fs)); | 26 int fontset_height2 __ARGS((XFontSet fs)); |
27 extern guicolor_T gui_mch_get_color __ARGS((char_u *reqname)); | 27 guicolor_T gui_mch_get_color __ARGS((char_u *reqname)); |
28 extern void gui_mch_set_fg_color __ARGS((guicolor_T color)); | 28 void gui_mch_set_fg_color __ARGS((guicolor_T color)); |
29 extern void gui_mch_set_bg_color __ARGS((guicolor_T color)); | 29 void gui_mch_set_bg_color __ARGS((guicolor_T color)); |
30 extern void gui_mch_set_sp_color __ARGS((guicolor_T color)); | 30 void gui_mch_set_sp_color __ARGS((guicolor_T color)); |
31 extern void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); | 31 void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); |
32 extern int gui_mch_haskey __ARGS((char_u *name)); | 32 int gui_mch_haskey __ARGS((char_u *name)); |
33 extern int gui_get_x11_windis __ARGS((Window *win, Display **dis)); | 33 int gui_get_x11_windis __ARGS((Window *win, Display **dis)); |
34 extern void gui_mch_beep __ARGS((void)); | 34 void gui_mch_beep __ARGS((void)); |
35 extern void gui_mch_flash __ARGS((int msec)); | 35 void gui_mch_flash __ARGS((int msec)); |
36 extern void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); | 36 void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); |
37 extern void gui_mch_iconify __ARGS((void)); | 37 void gui_mch_iconify __ARGS((void)); |
38 extern void gui_mch_set_foreground __ARGS((void)); | 38 void gui_mch_set_foreground __ARGS((void)); |
39 extern void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); | 39 void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); |
40 extern void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); | 40 void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); |
41 extern void gui_mch_update __ARGS((void)); | 41 void gui_mch_update __ARGS((void)); |
42 extern int gui_mch_wait_for_chars __ARGS((long wtime)); | 42 int gui_mch_wait_for_chars __ARGS((long wtime)); |
43 extern void gui_mch_flush __ARGS((void)); | 43 void gui_mch_flush __ARGS((void)); |
44 extern void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); | 44 void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); |
45 extern void gui_mch_clear_all __ARGS((void)); | 45 void gui_mch_clear_all __ARGS((void)); |
46 extern void gui_mch_delete_lines __ARGS((int row, int num_lines)); | 46 void gui_mch_delete_lines __ARGS((int row, int num_lines)); |
47 extern void gui_mch_insert_lines __ARGS((int row, int num_lines)); | 47 void gui_mch_insert_lines __ARGS((int row, int num_lines)); |
48 extern void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); | 48 void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); |
49 extern int clip_mch_own_selection __ARGS((VimClipboard *cbd)); | 49 int clip_mch_own_selection __ARGS((VimClipboard *cbd)); |
50 extern void clip_mch_request_selection __ARGS((VimClipboard *cbd)); | 50 void clip_mch_request_selection __ARGS((VimClipboard *cbd)); |
51 extern void clip_mch_set_selection __ARGS((VimClipboard *cbd)); | 51 void clip_mch_set_selection __ARGS((VimClipboard *cbd)); |
52 extern void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); | 52 void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); |
53 extern void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); | 53 void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); |
54 extern void gui_mch_draw_menubar __ARGS((void)); | 54 void gui_mch_draw_menubar __ARGS((void)); |
55 extern void gui_x11_menu_cb __ARGS((Widget w, XtPointer client_data, XtPointer call_data)); | 55 void gui_x11_menu_cb __ARGS((Widget w, XtPointer client_data, XtPointer call_data)); |
56 extern void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); | 56 void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); |
57 extern void gui_mch_stop_blink __ARGS((void)); | 57 void gui_mch_stop_blink __ARGS((void)); |
58 extern void gui_mch_start_blink __ARGS((void)); | 58 void gui_mch_start_blink __ARGS((void)); |
59 extern long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); | 59 long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); |
60 extern void gui_x11_callbacks __ARGS((Widget textArea, Widget vimForm)); | 60 void gui_x11_callbacks __ARGS((Widget textArea, Widget vimForm)); |
61 extern void gui_mch_getmouse __ARGS((int *x, int *y)); | 61 void gui_mch_getmouse __ARGS((int *x, int *y)); |
62 extern void gui_mch_setmouse __ARGS((int x, int y)); | 62 void gui_mch_setmouse __ARGS((int x, int y)); |
63 extern XButtonPressedEvent *gui_x11_get_last_mouse_event __ARGS((void)); | 63 XButtonPressedEvent *gui_x11_get_last_mouse_event __ARGS((void)); |
64 extern void gui_mch_drawsign __ARGS((int row, int col, int typenr)); | 64 void gui_mch_drawsign __ARGS((int row, int col, int typenr)); |
65 extern void *gui_mch_register_sign __ARGS((char_u *signfile)); | 65 void *gui_mch_register_sign __ARGS((char_u *signfile)); |
66 extern void gui_mch_destroy_sign __ARGS((void *sign)); | 66 void gui_mch_destroy_sign __ARGS((void *sign)); |
67 extern void gui_mch_mousehide __ARGS((int hide)); | 67 void gui_mch_mousehide __ARGS((int hide)); |
68 extern void mch_set_mouse_shape __ARGS((int shape)); | 68 void mch_set_mouse_shape __ARGS((int shape)); |
69 extern void gui_mch_menu_set_tip __ARGS((vimmenu_T *menu)); | 69 void gui_mch_menu_set_tip __ARGS((vimmenu_T *menu)); |
70 /* vim: set ft=c : */ | 70 /* vim: set ft=c : */ |