Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* gui_gtk_x11.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | void gui_mch_prepare(int *argc, char **argv); |
| 3 | void gui_mch_free_all(void); |
Bram Moolenaar | 703a804 | 2016-06-04 16:24:32 +0200 | [diff] [blame] | 4 | int gui_mch_is_blinking(void); |
Bram Moolenaar | 9d5d3c9 | 2016-07-07 16:43:02 +0200 | [diff] [blame] | 5 | int gui_mch_is_blink_off(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 6 | void gui_mch_set_blinking(long waittime, long on, long off); |
Bram Moolenaar | 1dd45fb | 2018-01-31 21:10:01 +0100 | [diff] [blame] | 7 | void gui_mch_stop_blink(int may_call_gui_update_cursor); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 8 | void gui_mch_start_blink(void); |
Bram Moolenaar | 717e196 | 2016-08-10 21:28:44 +0200 | [diff] [blame] | 9 | int gui_mch_early_init_check(int give_message); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 10 | int gui_mch_init_check(void); |
| 11 | void gui_mch_show_tabline(int showit); |
| 12 | int gui_mch_showing_tabline(void); |
| 13 | void gui_mch_update_tabline(void); |
| 14 | void gui_mch_set_curtab(int nr); |
| 15 | void gui_gtk_set_selection_targets(void); |
| 16 | void gui_gtk_set_dnd_targets(void); |
| 17 | int gui_mch_init(void); |
| 18 | void gui_mch_forked(void); |
| 19 | void gui_mch_new_colors(void); |
| 20 | int gui_mch_open(void); |
| 21 | void gui_mch_exit(int rc); |
| 22 | int gui_mch_get_winpos(int *x, int *y); |
| 23 | void gui_mch_set_winpos(int x, int y); |
| 24 | int gui_mch_maximized(void); |
| 25 | void gui_mch_unmaximize(void); |
| 26 | void gui_mch_newfont(void); |
| 27 | void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); |
Bram Moolenaar | 3f6a16f | 2018-08-19 22:58:45 +0200 | [diff] [blame^] | 28 | void gui_gtk_get_screen_geom_of_win(GtkWidget *wid, int *screen_x, int *screen_y, int *width, int *height); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 29 | void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h); |
| 30 | void gui_mch_settitle(char_u *title, char_u *icon); |
| 31 | void gui_mch_enable_menu(int showit); |
| 32 | void gui_mch_show_toolbar(int showit); |
| 33 | int gui_mch_adjust_charheight(void); |
| 34 | char_u *gui_mch_font_dialog(char_u *oldval); |
| 35 | int gui_mch_init_font(char_u *font_name, int fontset); |
| 36 | GuiFont gui_mch_get_font(char_u *name, int report_error); |
| 37 | char_u *gui_mch_get_fontname(GuiFont font, char_u *name); |
| 38 | void gui_mch_free_font(GuiFont font); |
| 39 | guicolor_T gui_mch_get_color(char_u *name); |
Bram Moolenaar | 26af85d | 2017-07-23 16:45:10 +0200 | [diff] [blame] | 40 | guicolor_T gui_mch_get_rgb_color(int r, int g, int b); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 41 | void gui_mch_set_fg_color(guicolor_T color); |
| 42 | void gui_mch_set_bg_color(guicolor_T color); |
| 43 | void gui_mch_set_sp_color(guicolor_T color); |
| 44 | int gui_gtk2_draw_string(int row, int col, char_u *s, int len, int flags); |
| 45 | int gui_mch_haskey(char_u *name); |
| 46 | int gui_get_x11_windis(Window *win, Display **dis); |
| 47 | Display *gui_mch_get_display(void); |
| 48 | void gui_mch_beep(void); |
| 49 | void gui_mch_flash(int msec); |
| 50 | void gui_mch_invert_rectangle(int r, int c, int nr, int nc); |
| 51 | void gui_mch_iconify(void); |
| 52 | void gui_mch_set_foreground(void); |
| 53 | void gui_mch_draw_hollow_cursor(guicolor_T color); |
| 54 | void gui_mch_draw_part_cursor(int w, int h, guicolor_T color); |
| 55 | void gui_mch_update(void); |
| 56 | int gui_mch_wait_for_chars(long wtime); |
| 57 | void gui_mch_flush(void); |
Bram Moolenaar | 26af85d | 2017-07-23 16:45:10 +0200 | [diff] [blame] | 58 | void gui_mch_clear_block(int row1arg, int col1arg, int row2arg, int col2arg); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 59 | void gui_mch_clear_all(void); |
| 60 | void gui_mch_delete_lines(int row, int num_lines); |
| 61 | void gui_mch_insert_lines(int row, int num_lines); |
| 62 | void clip_mch_request_selection(VimClipboard *cbd); |
| 63 | void clip_mch_lose_selection(VimClipboard *cbd); |
| 64 | int clip_mch_own_selection(VimClipboard *cbd); |
| 65 | void clip_mch_set_selection(VimClipboard *cbd); |
| 66 | int clip_gtk_owner_exists(VimClipboard *cbd); |
| 67 | void gui_mch_menu_grey(vimmenu_T *menu, int grey); |
| 68 | void gui_mch_menu_hidden(vimmenu_T *menu, int hidden); |
| 69 | void gui_mch_draw_menubar(void); |
| 70 | void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag); |
Bram Moolenaar | 1b58cdd | 2016-08-22 23:04:33 +0200 | [diff] [blame] | 71 | guicolor_T gui_mch_get_rgb(guicolor_T pixel); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 72 | void gui_mch_getmouse(int *x, int *y); |
| 73 | void gui_mch_setmouse(int x, int y); |
| 74 | void gui_mch_mousehide(int hide); |
| 75 | void mch_set_mouse_shape(int shape); |
| 76 | void gui_mch_drawsign(int row, int col, int typenr); |
| 77 | void *gui_mch_register_sign(char_u *signfile); |
| 78 | void gui_mch_destroy_sign(void *sign); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 79 | /* vim: set ft=c : */ |