Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* screen.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int conceal_cursor_line(win_T *wp); |
Bram Moolenaar | b946482 | 2018-05-10 15:09:49 +0200 | [diff] [blame] | 3 | void conceal_check_cursor_line(void); |
Bram Moolenaar | a540f8a | 2019-06-14 19:23:57 +0200 | [diff] [blame] | 4 | int get_wcr_attr(win_T *wp); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 5 | void win_draw_end(win_T *wp, int c1, int c2, int draw_margin, int row, int endrow, hlf_T hl); |
| 6 | int compute_foldcolumn(win_T *wp, int col); |
| 7 | void fill_foldcolumn(char_u *p, win_T *wp, int closed, linenr_T lnum); |
Bram Moolenaar | cb8bbe9 | 2017-07-16 13:48:22 +0200 | [diff] [blame] | 8 | int screen_get_current_line_off(void); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 9 | void reset_screen_attr(void); |
Bram Moolenaar | 68a4b04 | 2019-05-29 22:28:29 +0200 | [diff] [blame] | 10 | void screen_line(int row, int coloff, int endcol, int clear_width, int flags); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 11 | void rl_mirror(char_u *str); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 12 | void draw_vsep_win(win_T *wp, int row); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 13 | void win_redr_status_matches(expand_T *xp, int num_matches, char_u **matches, int match, int showtail); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 14 | int stl_connected(win_T *wp); |
Bram Moolenaar | 73ac0c4 | 2016-07-24 16:17:59 +0200 | [diff] [blame] | 15 | int get_keymap_str(win_T *wp, char_u *fmt, char_u *buf, int len); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 16 | void win_redr_custom(win_T *wp, int draw_ruler); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 17 | void screen_putchar(int c, int row, int col, int attr); |
| 18 | void screen_getbytes(int row, int col, char_u *bytes, int *attrp); |
| 19 | void screen_puts(char_u *text, int row, int col, int attr); |
| 20 | void screen_puts_len(char_u *text, int textlen, int row, int col, int attr); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 21 | void start_search_hl(void); |
| 22 | void end_search_hl(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 23 | void screen_stop_highlight(void); |
| 24 | void reset_cterm_colors(void); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 25 | void screen_char(unsigned off, int row, int col); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 26 | void screen_draw_rectangle(int row, int col, int height, int width, int invert); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 27 | void space_to_screenline(int off, int attr); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 28 | void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr); |
| 29 | void check_for_delay(int check_msg_scroll); |
| 30 | int screen_valid(int doclear); |
| 31 | void screenalloc(int doclear); |
| 32 | void free_screenlines(void); |
| 33 | void screenclear(void); |
| 34 | int can_clear(char_u *p); |
| 35 | void screen_start(void); |
| 36 | void windgoto(int row, int col); |
| 37 | void setcursor(void); |
Bram Moolenaar | 987723e | 2018-03-06 11:43:04 +0100 | [diff] [blame] | 38 | void setcursor_mayforce(int force); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 39 | int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear); |
Bram Moolenaar | cfce717 | 2017-08-17 20:31:48 +0200 | [diff] [blame] | 40 | int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear, int clear_attr); |
| 41 | int screen_ins_lines(int off, int row, int line_count, int end, int clear_attr, win_T *wp); |
Bram Moolenaar | 02e177d | 2017-08-26 23:43:28 +0200 | [diff] [blame] | 42 | int screen_del_lines(int off, int row, int line_count, int end, int force, int clear_attr, win_T *wp); |
Bram Moolenaar | cb574f4 | 2019-01-25 22:29:57 +0100 | [diff] [blame] | 43 | int skip_showmode(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 44 | int showmode(void); |
| 45 | void unshowmode(int force); |
Bram Moolenaar | fd773e9 | 2016-04-02 19:39:16 +0200 | [diff] [blame] | 46 | void clearmode(void); |
Bram Moolenaar | e12bab3 | 2019-01-08 22:02:56 +0100 | [diff] [blame] | 47 | void draw_tabline(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 48 | void get_trans_bufname(buf_T *buf); |
Bram Moolenaar | 7528d1f | 2019-09-19 23:06:20 +0200 | [diff] [blame] | 49 | int fillchar_status(int *attr, win_T *wp); |
| 50 | int fillchar_vsep(int *attr); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 51 | int redrawing(void); |
| 52 | int messaging(void); |
Bram Moolenaar | e677df8 | 2019-09-02 22:31:11 +0200 | [diff] [blame] | 53 | void comp_col(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 54 | int number_width(win_T *wp); |
| 55 | int screen_screencol(void); |
| 56 | int screen_screenrow(void); |
Bram Moolenaar | e677df8 | 2019-09-02 22:31:11 +0200 | [diff] [blame] | 57 | char *set_chars_option(char_u **varp); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 58 | /* vim: set ft=c : */ |