Home
last modified time | relevance | path

Searched refs:window (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
36 memset((window), 0, sizeof(struct textui_window_t)); in __textui_init_window()
37 list_init(&(window)->list); in __textui_init_window()
38 window->lock.lock = 1; in __textui_init_window()
40 window->id = __window_max_id++; in __textui_init_window()
42 window->flags = flags; in __textui_init_window()
43 window->vlines_num = vlines_num; in __textui_init_window()
44 window->vlines_used = 1; in __textui_init_window()
45 window->top_vline = 0; in __textui_init_window()
46 window->vline_operating = 0; in __textui_init_window()
[all …]
Dtextui-render.c31 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()
[all …]
Dtextui.h128 int textui_refresh_vline(struct textui_window_t *window, uint16_t vline_id);
130 int textui_refresh_vlines(struct textui_window_t *window, uint16_t start, uint16_t count);
141 int textui_refresh_characters(struct textui_window_t *window, uint16_t vline_id, uint16_t start, ui…
152 int textui_putchar_window(struct textui_window_t *window, uint16_t character, uint32_t FRcolor, uin…