Searched refs:vlines_num (Results 1 – 3 of 3) sorted by relevance
33 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window() argument43 window->vlines_num = vlines_num; in __textui_init_window()141 if (unlikely(window->vline_operating == window->vlines_num)) in __textui_new_line()147 if (likely(window->vlines_used == window->vlines_num)) // 需要滚动屏幕 in __textui_new_line()152 if (unlikely(window->top_vline >= window->vlines_num)) in __textui_new_line()156 textui_refresh_vlines(window, window->top_vline, window->vlines_num); in __textui_new_line()257 window->vline_operating = window->vlines_num - 1; in textui_putchar_window()264 window->top_vline = window->vlines_num - 1; in textui_putchar_window()
43 for (int i = start; i < window->vlines_num && count > 0; ++i, --count) in textui_refresh_vlines()78 if (unlikely(vline_id >= window->vlines_num && (start + count) > window->chars_per_line)) in textui_refresh_characters()
97 int16_t vlines_num; // 虚拟行总数 member