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