Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/libUI/
Dtextui.c45 window->top_vline = 0; in __textui_init_window()
150 ++window->top_vline; in __textui_new_line()
152 if (unlikely(window->top_vline >= window->vlines_num)) in __textui_new_line()
153 window->top_vline = 0; in __textui_new_line()
156 textui_refresh_vlines(window, window->top_vline, window->vlines_num); in __textui_new_line()
262 --window->top_vline; in textui_putchar_window()
263 if (unlikely(window->top_vline < 0)) in textui_putchar_window()
264 window->top_vline = window->vlines_num - 1; in textui_putchar_window()
267 textui_refresh_vlines(window, window->top_vline, __private_info.actual_line); in textui_putchar_window()
Dtextui.h107 int16_t top_vline; // 位于最顶上的那一个虚拟行的行号 member
Dtextui-render.c82 int actual_line_id = (int)vline_id - window->top_vline; in textui_refresh_characters()