f0rmz: new subproject to create a form/wizard setup thing

This commit is contained in:
Clayton Craft 2025-09-23 01:48:35 -07:00 committed by Johannes Marbach
parent b12ce978b1
commit 47b046da73
36 changed files with 4693 additions and 241 deletions

View file

@ -46,8 +46,8 @@ static int parsing_handler(void* user_data, const char* section, const char* key
return 1;
}
} else if (strcmp(key, "backend") == 0) {
ul_backends_backend_id_t id = ul_backends_find_backend_with_name(value);
if (id != UL_BACKENDS_BACKEND_NONE) {
bbx_backends_backend_id_t id = bbx_backends_find_backend_with_name(value);
if (id != BBX_BACKENDS_BACKEND_NONE) {
opts->general.backend = id;
return 1;
}
@ -139,7 +139,7 @@ static int parsing_handler(void* user_data, const char* section, const char* key
void ul_config_init_opts(ul_config_opts *opts) {
opts->general.animations = false;
opts->general.backend = ul_backends_backends[0] == NULL ? UL_BACKENDS_BACKEND_NONE : 0;
opts->general.backend = bbx_backends_backends[0] == NULL ? BBX_BACKENDS_BACKEND_NONE : 0;
opts->general.timeout = 0;
opts->keyboard.autohide = true;
opts->keyboard.layout_id = SQ2LV_LAYOUT_US;