--- a/src/ascension/ui.h Sun Jul 27 23:54:33 2025 +0200 +++ b/src/ascension/ui.h Mon Jul 28 23:11:30 2025 +0200 @@ -51,8 +51,9 @@ * * @note you need to call this function again when the window changes the display * // TODO: check if there is an SDL event when the window changes the display and implement a reaction + * @return the scaling factor that was applied */ -void asc_ui_scale_auto(void); +float asc_ui_scale_auto(void); /** * Adds a node to the active window's UI.