forked from Kenix3/libultraship
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow ImGui to scale itself by dpi and added Open Sans as default font to have a nice looking UI on HighDPI Monitors. * - Changed OpenSans-Regular to OpenSans-Semibold witch is better readable and adjusted the font config for the new font. - Changed the names of the new variables. - Simplifyed the dpi stuff and moved the two new floats to the Header as private. - Added comments to the changes. * Run clang-format * Removed new font * Reworked GUI scaling by getting display dpi and apply the scale on events. * Using ImGui_ImplWin32_GetDpiScaleForMonitor to support Windows 8.1 Get DpiScale instaed of DPI in window events * Put SDL_GetDisplayDPI into if statement to prevent crash on Switch. --------- Co-authored-by: Mirco <you@example.com>
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters