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