Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* gui.c */ |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 2 | void gui_start __ARGS((void)); |
| 3 | void gui_prepare __ARGS((int *argc, char **argv)); |
| 4 | int gui_init_check __ARGS((void)); |
| 5 | void gui_init __ARGS((void)); |
| 6 | void gui_exit __ARGS((int rc)); |
| 7 | void gui_shell_closed __ARGS((void)); |
| 8 | int gui_init_font __ARGS((char_u *font_list, int fontset)); |
| 9 | int gui_get_wide_font __ARGS((void)); |
| 10 | void gui_set_cursor __ARGS((int row, int col)); |
| 11 | void gui_update_cursor __ARGS((int force, int clear_selection)); |
| 12 | void gui_position_menu __ARGS((void)); |
| 13 | int gui_get_base_width __ARGS((void)); |
| 14 | int gui_get_base_height __ARGS((void)); |
| 15 | void gui_resize_shell __ARGS((int pixel_width, int pixel_height)); |
| 16 | void gui_may_resize_shell __ARGS((void)); |
| 17 | int gui_get_shellsize __ARGS((void)); |
| 18 | void gui_set_shellsize __ARGS((int mustset, int fit_to_display, int direction)); |
| 19 | void gui_new_shellsize __ARGS((void)); |
| 20 | void gui_reset_scroll_region __ARGS((void)); |
| 21 | void gui_start_highlight __ARGS((int mask)); |
| 22 | void gui_stop_highlight __ARGS((int mask)); |
| 23 | void gui_clear_block __ARGS((int row1, int col1, int row2, int col2)); |
| 24 | void gui_update_cursor_later __ARGS((void)); |
| 25 | void gui_write __ARGS((char_u *s, int len)); |
| 26 | void gui_dont_update_cursor __ARGS((void)); |
| 27 | void gui_can_update_cursor __ARGS((void)); |
| 28 | int gui_outstr_nowrap __ARGS((char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back)); |
| 29 | void gui_undraw_cursor __ARGS((void)); |
| 30 | void gui_redraw __ARGS((int x, int y, int w, int h)); |
| 31 | int gui_redraw_block __ARGS((int row1, int col1, int row2, int col2, int flags)); |
| 32 | int gui_wait_for_chars __ARGS((long wtime)); |
| 33 | void gui_send_mouse_event __ARGS((int button, int x, int y, int repeated_click, int_u modifiers)); |
| 34 | int gui_xy2colrow __ARGS((int x, int y, int *colp)); |
| 35 | void gui_menu_cb __ARGS((vimmenu_T *menu)); |
| 36 | void gui_init_which_components __ARGS((char_u *oldval)); |
| 37 | int gui_use_tabline __ARGS((void)); |
| 38 | void gui_update_tabline __ARGS((void)); |
| 39 | void get_tabline_label __ARGS((tabpage_T *tp, int tooltip)); |
| 40 | int send_tabline_event __ARGS((int nr)); |
| 41 | void send_tabline_menu_event __ARGS((int tabidx, int event)); |
| 42 | void gui_remove_scrollbars __ARGS((void)); |
| 43 | void gui_create_scrollbar __ARGS((scrollbar_T *sb, int type, win_T *wp)); |
| 44 | scrollbar_T *gui_find_scrollbar __ARGS((long ident)); |
| 45 | void gui_drag_scrollbar __ARGS((scrollbar_T *sb, long value, int still_dragging)); |
Bram Moolenaar | 746ebd3 | 2009-06-16 14:01:43 +0000 | [diff] [blame] | 46 | void gui_may_update_scrollbars __ARGS((void)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 47 | void gui_update_scrollbars __ARGS((int force)); |
| 48 | int gui_do_scroll __ARGS((void)); |
Bram Moolenaar | 5e109c4 | 2010-07-26 22:51:28 +0200 | [diff] [blame] | 49 | int gui_do_horiz_scroll __ARGS((long_u leftcol, int compute_longest_lnum)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 50 | void gui_check_colors __ARGS((void)); |
| 51 | guicolor_T gui_get_color __ARGS((char_u *name)); |
| 52 | int gui_get_lightness __ARGS((guicolor_T pixel)); |
| 53 | void gui_new_scrollbar_colors __ARGS((void)); |
| 54 | void gui_focus_change __ARGS((int in_focus)); |
| 55 | void gui_mouse_moved __ARGS((int x, int y)); |
| 56 | void gui_mouse_correct __ARGS((void)); |
| 57 | void ex_gui __ARGS((exarg_T *eap)); |
| 58 | int gui_find_bitmap __ARGS((char_u *name, char_u *buffer, char *ext)); |
| 59 | void gui_find_iconfile __ARGS((char_u *name, char_u *buffer, char *ext)); |
| 60 | void display_errors __ARGS((void)); |
| 61 | int no_console_input __ARGS((void)); |
| 62 | void gui_update_screen __ARGS((void)); |
| 63 | char_u *get_find_dialog_text __ARGS((char_u *arg, int *wwordp, int *mcasep)); |
| 64 | int gui_do_findrepl __ARGS((int flags, char_u *find_text, char_u *repl_text, int down)); |
| 65 | void gui_handle_drop __ARGS((int x, int y, int_u modifiers, char_u **fnames, int count)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 66 | /* vim: set ft=c : */ |