aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-03 01:26:14 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-03 01:26:14 +0200
commit6fbd76171b1f8f357524de20009380a93ca9bbf9 (patch)
treec6ac00d9ad26151f6357bc9b0823cc4b93481ccd /include
parent8c4e3217bf3e3c675f181c34f79448ba036dfcaf (diff)
Add QM_FONT_SCALE environment variable to set font scale. Also add QM_SCALE to not have to rely on GDK_SCALE or xft.dpi
Diffstat (limited to 'include')
-rw-r--r--include/Utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Utils.hpp b/include/Utils.hpp
index cdef844..08bf4db 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -5,6 +5,7 @@
namespace QuickMedia {
float get_ui_scale();
+ float get_font_scale();
void show_virtual_keyboard();
void hide_virtual_keyboard();
bool is_touch_enabled();