Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/libs/libUI/
Dtextui.c33 static int __textui_init_window(struct textui_window_t *window, uint8_t flags, uint16_t vlines_num,… in __textui_init_window() argument
43 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()
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