Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/libUI/
Dscreen_manager.c136 …struct scm_ui_framework_t *ui = (struct scm_ui_framework_t *)kmalloc(sizeof(struct scm_ui_framewor… in scm_register_alloc() local
137 memset(ui, 0, sizeof(struct scm_ui_framework_t)); in scm_register_alloc()
138 strncpy(ui->name, name, 15); in scm_register_alloc()
139 ui->type = type; in scm_register_alloc()
140 ui->ui_ops = ops; in scm_register_alloc()
141 list_init(&ui->list); in scm_register_alloc()
144 ui->id = scm_ui_max_id++; in scm_register_alloc()
148 ui->buf = __create_buffer(ui->type); in scm_register_alloc()
149 if ((uint64_t)(ui->buf) == (uint64_t)-ENOMEM) in scm_register_alloc()
151 kfree(ui); in scm_register_alloc()
[all …]
Dscreen_manager.h80 int scm_register(struct scm_ui_framework_t *ui);
88 int scm_unregister(struct scm_ui_framework_t *ui);
96 int scm_unregister_alloc(struct scm_ui_framework_t *ui);
118 int scm_framework_enable(struct scm_ui_framework_t *ui);