Lines Matching refs:window
31 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id) in textui_refresh_vline() argument
33 if (textui_is_chromatic(window->flags)) in textui_refresh_vline()
34 return textui_refresh_characters(window, vline_id, 0, window->chars_per_line); in textui_refresh_vline()
36 return textui_refresh_characters(window, vline_id, 0, window->chars_per_line); in textui_refresh_vline()
39 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count) in textui_refresh_vlines() argument
43 for (int i = start; i < window->vlines_num && count > 0; ++i, --count) in textui_refresh_vlines()
47 textui_refresh_vline(window, i); in textui_refresh_vlines()
56 textui_refresh_vline(window, start); in textui_refresh_vlines()
73 int textui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, ui… in textui_refresh_characters() argument
75 if (window->id != __textui_get_current_window_id()) in textui_refresh_characters()
78 if (unlikely(vline_id >= window->vlines_num && (start + count) > window->chars_per_line)) in textui_refresh_characters()
82 int actual_line_id = (int)vline_id - window->top_vline; in textui_refresh_characters()
90 if (textui_is_chromatic(window->flags)) in textui_refresh_characters()
92 struct textui_vline_chromatic_t *vline = &(window->vlines.chromatic)[vline_id]; in textui_refresh_characters()