Home
last modified time | relevance | path

Searched refs:vlines_num (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/libUI/
Dtextui.c36 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window() argument
46 window->vlines_num = vlines_num; in __textui_init_window()
147 if (unlikely(window->vline_operating == window->vlines_num)) in __textui_new_line()
153 if (likely(window->vlines_used == window->vlines_num)) // 需要滚动屏幕 in __textui_new_line()
158 if (unlikely(window->top_vline >= window->vlines_num)) in __textui_new_line()
162 textui_refresh_vlines(window, window->top_vline, window->vlines_num); in __textui_new_line()
270 window->vline_operating = window->vlines_num - 1; in textui_putchar_window()
277 window->top_vline = window->vlines_num - 1; in textui_putchar_window()
Dtextui-render.c43 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()
Dtextui.h97 int16_t vlines_num; // 虚拟行总数 member