Home
last modified time | relevance | path

Searched refs:textui_framework (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/libUI/
Dtextui.c10 struct scm_ui_framework_t textui_framework; variable
100 memcpy((void *)buf->vaddr, (void *)(textui_framework.buf->vaddr), textui_framework.buf->size); in textui_change_handler()
101 textui_framework.buf = buf; in textui_change_handler()
321 memset(&textui_framework, 0, sizeof(struct scm_ui_framework_t)); in textui_init()
326 strcpy(textui_framework.name, name); in textui_init()
328 textui_framework.ui_ops = &textui_ops; in textui_init()
329 textui_framework.type = 0; in textui_init()
332 int retval = scm_register(&textui_framework); in textui_init()
340 uint16_t chars_per_vline = textui_framework.buf->width / TEXTUI_CHAR_WIDTH; in textui_init()
341 uint16_t total_vlines = textui_framework.buf->height / TEXTUI_CHAR_HEIGHT; in textui_init()
[all …]
Dtextui-render.c19 extern struct scm_ui_framework_t textui_framework;
124 uint32_t *fb = (uint32_t *)textui_framework.buf->vaddr; in __textui_render_chromatic()
138 addr = (uint32_t *)(fb + textui_framework.buf->width * (y + i) + x); in __textui_render_chromatic()