blob: 111cac7c996dfb2e2024a06fe027defbb6dfdd7c [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* gui_gtk_x11.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002void gui_mch_prepare(int *argc, char **argv);
3void gui_mch_free_all(void);
Bram Moolenaar703a8042016-06-04 16:24:32 +02004int gui_mch_is_blinking(void);
Bram Moolenaar9d5d3c92016-07-07 16:43:02 +02005int gui_mch_is_blink_off(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01006void gui_mch_set_blinking(long waittime, long on, long off);
Bram Moolenaar1dd45fb2018-01-31 21:10:01 +01007void gui_mch_stop_blink(int may_call_gui_update_cursor);
Bram Moolenaaref269542016-01-19 13:22:12 +01008void gui_mch_start_blink(void);
Bram Moolenaar717e1962016-08-10 21:28:44 +02009int gui_mch_early_init_check(int give_message);
Bram Moolenaaref269542016-01-19 13:22:12 +010010int gui_mch_init_check(void);
11void gui_mch_show_tabline(int showit);
12int gui_mch_showing_tabline(void);
13void gui_mch_update_tabline(void);
14void gui_mch_set_curtab(int nr);
15void gui_gtk_set_selection_targets(void);
16void gui_gtk_set_dnd_targets(void);
17int gui_mch_init(void);
18void gui_mch_forked(void);
19void gui_mch_new_colors(void);
20int gui_mch_open(void);
21void gui_mch_exit(int rc);
22int gui_mch_get_winpos(int *x, int *y);
23void gui_mch_set_winpos(int x, int y);
24int gui_mch_maximized(void);
25void gui_mch_unmaximize(void);
26void gui_mch_newfont(void);
27void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction);
Bram Moolenaar3f6a16f2018-08-19 22:58:45 +020028void gui_gtk_get_screen_geom_of_win(GtkWidget *wid, int *screen_x, int *screen_y, int *width, int *height);
Bram Moolenaaref269542016-01-19 13:22:12 +010029void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h);
30void gui_mch_settitle(char_u *title, char_u *icon);
31void gui_mch_enable_menu(int showit);
32void gui_mch_show_toolbar(int showit);
33int gui_mch_adjust_charheight(void);
34char_u *gui_mch_font_dialog(char_u *oldval);
35int gui_mch_init_font(char_u *font_name, int fontset);
36GuiFont gui_mch_get_font(char_u *name, int report_error);
37char_u *gui_mch_get_fontname(GuiFont font, char_u *name);
38void gui_mch_free_font(GuiFont font);
39guicolor_T gui_mch_get_color(char_u *name);
Bram Moolenaar26af85d2017-07-23 16:45:10 +020040guicolor_T gui_mch_get_rgb_color(int r, int g, int b);
Bram Moolenaaref269542016-01-19 13:22:12 +010041void gui_mch_set_fg_color(guicolor_T color);
42void gui_mch_set_bg_color(guicolor_T color);
43void gui_mch_set_sp_color(guicolor_T color);
44int gui_gtk2_draw_string(int row, int col, char_u *s, int len, int flags);
45int gui_mch_haskey(char_u *name);
46int gui_get_x11_windis(Window *win, Display **dis);
47Display *gui_mch_get_display(void);
48void gui_mch_beep(void);
49void gui_mch_flash(int msec);
50void gui_mch_invert_rectangle(int r, int c, int nr, int nc);
51void gui_mch_iconify(void);
52void gui_mch_set_foreground(void);
53void gui_mch_draw_hollow_cursor(guicolor_T color);
54void gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
55void gui_mch_update(void);
56int gui_mch_wait_for_chars(long wtime);
57void gui_mch_flush(void);
Bram Moolenaar26af85d2017-07-23 16:45:10 +020058void gui_mch_clear_block(int row1arg, int col1arg, int row2arg, int col2arg);
Bram Moolenaaref269542016-01-19 13:22:12 +010059void gui_mch_clear_all(void);
60void gui_mch_delete_lines(int row, int num_lines);
61void gui_mch_insert_lines(int row, int num_lines);
62void clip_mch_request_selection(VimClipboard *cbd);
63void clip_mch_lose_selection(VimClipboard *cbd);
64int clip_mch_own_selection(VimClipboard *cbd);
65void clip_mch_set_selection(VimClipboard *cbd);
66int clip_gtk_owner_exists(VimClipboard *cbd);
67void gui_mch_menu_grey(vimmenu_T *menu, int grey);
68void gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
69void gui_mch_draw_menubar(void);
70void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag);
Bram Moolenaar1b58cdd2016-08-22 23:04:33 +020071guicolor_T gui_mch_get_rgb(guicolor_T pixel);
Bram Moolenaaref269542016-01-19 13:22:12 +010072void gui_mch_getmouse(int *x, int *y);
73void gui_mch_setmouse(int x, int y);
74void gui_mch_mousehide(int hide);
75void mch_set_mouse_shape(int shape);
76void gui_mch_drawsign(int row, int col, int typenr);
77void *gui_mch_register_sign(char_u *signfile);
78void gui_mch_destroy_sign(void *sign);
Bram Moolenaar071d4272004-06-13 20:20:40 +000079/* vim: set ft=c : */