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