Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* ui.c */ |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 2 | void ui_write __ARGS((char_u *s, int len)); |
| 3 | void ui_inchar_undo __ARGS((char_u *s, int len)); |
| 4 | int ui_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt)); |
| 5 | int ui_char_avail __ARGS((void)); |
| 6 | void ui_delay __ARGS((long msec, int ignoreinput)); |
| 7 | void ui_suspend __ARGS((void)); |
| 8 | void suspend_shell __ARGS((void)); |
| 9 | int ui_get_shellsize __ARGS((void)); |
| 10 | void ui_set_shellsize __ARGS((int mustset)); |
| 11 | void ui_new_shellsize __ARGS((void)); |
| 12 | void ui_breakcheck __ARGS((void)); |
| 13 | void clip_init __ARGS((int can_use)); |
Bram Moolenaar | c0885aa | 2012-07-10 16:49:23 +0200 | [diff] [blame] | 14 | void clip_update_selection __ARGS((VimClipboard *clip)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 15 | void clip_own_selection __ARGS((VimClipboard *cbd)); |
| 16 | void clip_lose_selection __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 6b1ee34 | 2014-08-06 18:17:11 +0200 | [diff] [blame] | 17 | void start_global_changes __ARGS((void)); |
| 18 | void end_global_changes __ARGS((void)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 19 | void clip_auto_select __ARGS((void)); |
Bram Moolenaar | c0885aa | 2012-07-10 16:49:23 +0200 | [diff] [blame] | 20 | int clip_isautosel_star __ARGS((void)); |
| 21 | int clip_isautosel_plus __ARGS((void)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 22 | void clip_modeless __ARGS((int button, int is_click, int is_drag)); |
| 23 | void clip_start_selection __ARGS((int col, int row, int repeated_click)); |
| 24 | void clip_process_selection __ARGS((int button, int col, int row, int_u repeated_click)); |
| 25 | void clip_may_redraw_selection __ARGS((int row, int col, int len)); |
Bram Moolenaar | c0885aa | 2012-07-10 16:49:23 +0200 | [diff] [blame] | 26 | void clip_clear_selection __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 27 | void clip_may_clear_selection __ARGS((int row1, int row2)); |
| 28 | void clip_scroll_selection __ARGS((int rows)); |
| 29 | void clip_copy_modeless_selection __ARGS((int both)); |
| 30 | int clip_gen_own_selection __ARGS((VimClipboard *cbd)); |
| 31 | void clip_gen_lose_selection __ARGS((VimClipboard *cbd)); |
| 32 | void clip_gen_set_selection __ARGS((VimClipboard *cbd)); |
| 33 | void clip_gen_request_selection __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 1a0316c | 2013-03-13 17:50:25 +0100 | [diff] [blame] | 34 | int clip_gen_owner_exists __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 35 | int vim_is_input_buf_full __ARGS((void)); |
| 36 | int vim_is_input_buf_empty __ARGS((void)); |
| 37 | int vim_free_in_input_buf __ARGS((void)); |
| 38 | int vim_used_in_input_buf __ARGS((void)); |
| 39 | char_u *get_input_buf __ARGS((void)); |
| 40 | void set_input_buf __ARGS((char_u *p)); |
| 41 | void add_to_input_buf __ARGS((char_u *s, int len)); |
| 42 | void add_to_input_buf_csi __ARGS((char_u *str, int len)); |
| 43 | void push_raw_key __ARGS((char_u *s, int len)); |
| 44 | void trash_input_buf __ARGS((void)); |
| 45 | int read_from_input_buf __ARGS((char_u *buf, long maxlen)); |
| 46 | void fill_input_buf __ARGS((int exit_on_error)); |
| 47 | void read_error_exit __ARGS((void)); |
| 48 | void ui_cursor_shape __ARGS((void)); |
| 49 | int check_col __ARGS((int col)); |
| 50 | int check_row __ARGS((int row)); |
| 51 | void open_app_context __ARGS((void)); |
| 52 | void x11_setup_atoms __ARGS((Display *dpy)); |
Bram Moolenaar | 6df6f47 | 2010-07-18 18:04:50 +0200 | [diff] [blame] | 53 | void x11_setup_selection __ARGS((Widget w)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 54 | void clip_x11_request_selection __ARGS((Widget myShell, Display *dpy, VimClipboard *cbd)); |
| 55 | void clip_x11_lose_selection __ARGS((Widget myShell, VimClipboard *cbd)); |
| 56 | int clip_x11_own_selection __ARGS((Widget myShell, VimClipboard *cbd)); |
| 57 | void clip_x11_set_selection __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 1a0316c | 2013-03-13 17:50:25 +0100 | [diff] [blame] | 58 | int clip_x11_owner_exists __ARGS((VimClipboard *cbd)); |
Bram Moolenaar | 218116c | 2010-05-20 21:46:00 +0200 | [diff] [blame] | 59 | void yank_cut_buffer0 __ARGS((Display *dpy, VimClipboard *cbd)); |
Bram Moolenaar | 756ec0f | 2007-05-05 17:59:48 +0000 | [diff] [blame] | 60 | int jump_to_mouse __ARGS((int flags, int *inclusive, int which_button)); |
| 61 | int mouse_comp_pos __ARGS((win_T *win, int *rowp, int *colp, linenr_T *lnump)); |
| 62 | win_T *mouse_find_win __ARGS((int *rowp, int *colp)); |
| 63 | int get_fpos_of_mouse __ARGS((pos_T *mpos)); |
| 64 | int vcol2col __ARGS((win_T *wp, linenr_T lnum, int vcol)); |
| 65 | void ui_focus_change __ARGS((int in_focus)); |
| 66 | void im_save_status __ARGS((long *psave)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 67 | /* vim: set ft=c : */ |