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