SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.68k stars 1.12k forks source link

HUD scaling for high-DPI displays #673

Open TheJJ opened 7 years ago

TheJJ commented 7 years ago

Our Qt-GUI should easily be scalable by some slider to be big on high-DPI displays as well.

As the system supports arbitrary resolutions, it should also be zoomable to have the size the user desires.

VelorumS commented 7 years ago

The UI scale is based around the font. Currently, the font is taken from the OS. So, if player can see the text on the desktop - then the scale of the game UI would be hopefully fine too.

A font size slider won't hurt ingame. That's also the beginning of the "settings" subsystem (or we have something like that already?).

TheJJ commented 7 years ago

We have the cvar stuff, which is the base for the settings I'd say. But yes, that would be a good start to have some settings UI and also store the updated font factor then.