[client] imgui: use improved high DPI rendering

This actually makes imgui render at a higher resolution, avoiding scaling
and resulting blurriness.
This commit is contained in:
Quantum
2021-07-23 00:01:10 -04:00
committed by Geoffrey McRae
parent b5c5ecc074
commit 5d053128ac
11 changed files with 122 additions and 18 deletions

View File

@@ -23,6 +23,15 @@
#include "common/types.h"
#ifdef __cplusplus
extern "C" {
#endif
void overlayGetImGuiRect(struct Rect * rect);
void imGuiResetStyle(void);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -46,4 +46,7 @@ static inline double util_clamp(double x, double min, double max)
return x;
}
#define DEFAULT_FONT_NAME "DejaVu Sans Mono"
char * util_getUIFont(const char * fontName);
#endif