From 9ed4da85e64cb78b4eb55f12cac11e2dca9610a7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 May 2013 16:30:34 +0300 Subject: Add ability to load theme xml files depend on screen density. Known densities: low medium tv high xhigh xxhigh Xml file name example with density: window_high.xml if file with density missing, will be loaded file without density. --- src/gui/theme.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/theme.h') diff --git a/src/gui/theme.h b/src/gui/theme.h index 222d0d098..809729590 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -450,6 +450,7 @@ class Theme final : public Palette, public ConfigListener static std::string mThemePath; static std::string mThemeName; + static std::string mScreenDensity; static Theme *mInstance; static bool tryThemePath(std::string themePath) A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50