[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

@@ -29,4 +29,5 @@ bool egl_help_init(EGL_Help ** help, const LG_Font * font, LG_FontObj fontObj);
void egl_help_free(EGL_Help ** help);
void egl_help_set_text(EGL_Help * help, const char * help_text);
void egl_help_set_font(EGL_Help * help, LG_FontObj fontObj);
void egl_help_render(EGL_Help * help, const float scaleX, const float scaleY);