diff -r 4dff9cc488fe -r b598b4eb4b44 src/window.c --- a/src/window.c Sun Jun 15 21:02:29 2025 +0200 +++ b/src/window.c Mon Jun 16 20:24:47 2025 +0200 @@ -194,10 +194,6 @@ return i; } -void asc_add_ui_node(AscSceneNode *node) { - asc_scene_add_node(&asc_active_window->ui, node); -} - AscScene *asc_window_scene(unsigned int index) { return &asc_active_window->scenes[index]; } @@ -212,23 +208,3 @@ } return asc_vec2u_new(dm.w, dm.h); } - -void asc_ui_scale(float scale) { - asc_active_window->ui_scale = scale; -} - -float asc_ui_get_scale(void) { - return asc_active_window->ui_scale; -} - -void asc_ui_scale_auto(void) { - asc_vec2u res = asc_window_display_resolution(); - // TODO: debug why this is wrong under GNOME or just throw GNOME away - if (res.width > 3000) { - asc_ui_scale(1.5f); - } else if (res.width > 2000) { - asc_ui_scale(1.2f); - } else { - return asc_ui_scale(1.f); - } -}