paint: custom layer res

This commit is contained in:
luboslenco
2026-06-04 20:45:16 +02:00
parent 4dd9bdd588
commit e0da7ca817
13 changed files with 65 additions and 104 deletions
+2 -18
View File
@@ -403,31 +403,15 @@ void box_preferences_usage_tab() {
ui_handle_t *h_layer_res = ui_handle(__ID__);
h_layer_res->i = g_config->layer_res;
#if defined(IRON_ANDROID) || defined(IRON_IOS)
string_array_t *res_combo = any_array_create_from_raw(
(void *[]){
"128",
"256",
"512",
"1024",
"2048",
"4096",
},
6);
#else
string_array_t *res_combo = any_array_create_from_raw(
(void *[]){
"128",
"256",
"512",
"1024",
"2048",
"4096",
"8192",
"16384",
},
8);
#endif
4);
g_config->layer_res = ui_combo(h_layer_res, res_combo, tr("Default Layer Resolution"), true, UI_ALIGN_LEFT, true);
ui_handle_t *h_scene_atlas_res = ui_handle(__ID__);