1/* gui_x11.c */ 2void 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 *name); 28guicolor_T gui_mch_get_rgb_color(int r, int g, int b); 29void gui_mch_set_fg_color(guicolor_T color); 30void gui_mch_set_bg_color(guicolor_T color); 31void gui_mch_set_sp_color(guicolor_T color); 32void gui_mch_draw_string(int row, int col, char_u *s, int len, int flags); 33int gui_mch_haskey(char_u *name); 34int gui_get_x11_windis(Window *win, Display **dis); 35void gui_mch_beep(void); 36void gui_mch_flash(int msec); 37void gui_mch_invert_rectangle(int r, int c, int nr, int nc); 38void gui_mch_iconify(void); 39void gui_mch_set_foreground(void); 40void gui_mch_draw_hollow_cursor(guicolor_T color); 41void gui_mch_draw_part_cursor(int w, int h, guicolor_T color); 42void gui_mch_update(void); 43int gui_mch_wait_for_chars(long wtime); 44void gui_mch_flush(void); 45void gui_mch_clear_block(int row1, int col1, int row2, int col2); 46void gui_mch_clear_all(void); 47void gui_mch_delete_lines(int row, int num_lines); 48void gui_mch_insert_lines(int row, int num_lines); 49void clip_mch_lose_selection(Clipboard_T *cbd); 50int clip_mch_own_selection(Clipboard_T *cbd); 51void clip_mch_request_selection(Clipboard_T *cbd); 52void clip_mch_set_selection(Clipboard_T *cbd); 53void gui_mch_menu_grey(vimmenu_T *menu, int grey); 54void gui_mch_menu_hidden(vimmenu_T *menu, int hidden); 55void gui_mch_draw_menubar(void); 56void gui_x11_menu_cb(Widget w, XtPointer client_data, XtPointer call_data); 57int gui_mch_is_blinking(void); 58int gui_mch_is_blink_off(void); 59void gui_mch_set_blinking(long waittime, long on, long off); 60void gui_mch_stop_blink(int may_call_gui_update_cursor); 61void gui_mch_start_blink(void); 62guicolor_T gui_mch_get_rgb(guicolor_T pixel); 63void gui_x11_callbacks(Widget textArea, Widget vimForm); 64void gui_mch_getmouse(int *x, int *y); 65void gui_mch_setmouse(int x, int y); 66XButtonPressedEvent *gui_x11_get_last_mouse_event(void); 67void gui_mch_drawsign(int row, int col, int typenr); 68void *gui_mch_register_sign(char_u *signfile); 69void gui_mch_destroy_sign(void *sign); 70void gui_mch_mousehide(int hide); 71void mch_set_mouse_shape(int shape); 72void gui_mch_menu_set_tip(vimmenu_T *menu); 73/* vim: set ft=c : */ 74