Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/libUI/
Dtextui.c10 struct scm_ui_framework_t textui_framework; variable
94 memcpy((void *)buf->vaddr, (void *)(textui_framework.buf->vaddr), textui_framework.buf->size); in textui_change_handler()
95 textui_framework.buf = buf; in textui_change_handler()
308 memset(&textui_framework, 0, sizeof(struct scm_ui_framework_t)); in textui_init()
313 strcpy(textui_framework.name, name); in textui_init()
315 textui_framework.ui_ops = &textui_ops; in textui_init()
316 textui_framework.type = 0; in textui_init()
319 int retval = scm_register(&textui_framework); in textui_init()
327 uint16_t chars_per_vline = textui_framework.buf->width / TEXTUI_CHAR_WIDTH; in textui_init()
328 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()