[client] egl: scale UI elements on high DPI displays

This is done by actually rendering the text at high DPI.
This commit is contained in:
Quantum
2021-02-21 01:25:54 -05:00
committed by Geoffrey McRae
parent 89bdaec95a
commit fd50426dda
7 changed files with 82 additions and 11 deletions

View File

@@ -30,4 +30,5 @@ void egl_alert_free(EGL_Alert ** alert);
void egl_alert_set_color(EGL_Alert * alert, const uint32_t color);
void egl_alert_set_text (EGL_Alert * alert, const char * str);
void egl_alert_set_font (EGL_Alert * alert, LG_Font * fontObj);
void egl_alert_render (EGL_Alert * alert, const float scaleX, const float scaleY);