diff options
author | Dees Troy <dees_troy@teamw.in> | 2017-01-18 22:52:38 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2017-01-18 22:52:38 +0100 |
commit | 88040ccb0ebe0c171c7bf2440fd76df9ab3bf915 (patch) | |
tree | c33c06ce556808c96cc881cc44075f1e36066bbd /gui | |
parent | bldrmsg: Only emmc /misc is supported (diff) | |
parent | gui: bump theme version to 2 (diff) | |
download | android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar.gz android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar.bz2 android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar.lz android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar.xz android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.tar.zst android_bootable_recovery-88040ccb0ebe0c171c7bf2440fd76df9ab3bf915.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/pages.cpp | 4 | ||||
-rw-r--r-- | gui/theme/landscape_hdpi/splash.xml | 2 | ||||
-rw-r--r-- | gui/theme/landscape_hdpi/ui.xml | 2 | ||||
-rw-r--r-- | gui/theme/landscape_mdpi/splash.xml | 2 | ||||
-rw-r--r-- | gui/theme/landscape_mdpi/ui.xml | 2 | ||||
-rw-r--r-- | gui/theme/portrait_hdpi/splash.xml | 2 | ||||
-rw-r--r-- | gui/theme/portrait_hdpi/ui.xml | 2 | ||||
-rw-r--r-- | gui/theme/portrait_mdpi/splash.xml | 2 | ||||
-rw-r--r-- | gui/theme/portrait_mdpi/ui.xml | 2 | ||||
-rw-r--r-- | gui/theme/watch_mdpi/splash.xml | 2 | ||||
-rw-r--r-- | gui/theme/watch_mdpi/ui.xml | 2 |
11 files changed, 13 insertions, 11 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp index 5c647c334..b2a978f4d 100644 --- a/gui/pages.cpp +++ b/gui/pages.cpp @@ -51,7 +51,9 @@ extern "C" { #include "objects.hpp" #include "blanktimer.hpp" -#define TW_THEME_VERSION 1 +// version 2 requires theme to handle power button as action togglebacklight +#define TW_THEME_VERSION 2 + #define TW_THEME_VER_ERR -2 extern int gGuiRunning; diff --git a/gui/theme/landscape_hdpi/splash.xml b/gui/theme/landscape_hdpi/splash.xml index 6616038dd..8da2fe6ea 100644 --- a/gui/theme/landscape_hdpi/splash.xml +++ b/gui/theme/landscape_hdpi/splash.xml @@ -5,7 +5,7 @@ <author>TeamWin</author> <title>TWRP</title> <description>splash screen</description> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <resources> diff --git a/gui/theme/landscape_hdpi/ui.xml b/gui/theme/landscape_hdpi/ui.xml index 16efc8812..34ef530e3 100644 --- a/gui/theme/landscape_hdpi/ui.xml +++ b/gui/theme/landscape_hdpi/ui.xml @@ -6,7 +6,7 @@ <title>Backup Naowz</title> <description>Default basic theme</description> <preview>preview.png</preview> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <include> diff --git a/gui/theme/landscape_mdpi/splash.xml b/gui/theme/landscape_mdpi/splash.xml index 115d5bd90..ac71c2301 100644 --- a/gui/theme/landscape_mdpi/splash.xml +++ b/gui/theme/landscape_mdpi/splash.xml @@ -5,7 +5,7 @@ <author>TeamWin</author> <title>TWRP</title> <description>splash screen</description> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <resources> diff --git a/gui/theme/landscape_mdpi/ui.xml b/gui/theme/landscape_mdpi/ui.xml index bb8f1726a..c2cfc4fb3 100644 --- a/gui/theme/landscape_mdpi/ui.xml +++ b/gui/theme/landscape_mdpi/ui.xml @@ -6,7 +6,7 @@ <title>Backup Naowz</title> <description>Default basic theme</description> <preview>preview.png</preview> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <include> diff --git a/gui/theme/portrait_hdpi/splash.xml b/gui/theme/portrait_hdpi/splash.xml index 02717e274..93932b983 100644 --- a/gui/theme/portrait_hdpi/splash.xml +++ b/gui/theme/portrait_hdpi/splash.xml @@ -5,7 +5,7 @@ <author>TeamWin</author> <title>TWRP</title> <description>splash screen</description> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <resources> diff --git a/gui/theme/portrait_hdpi/ui.xml b/gui/theme/portrait_hdpi/ui.xml index 67eaa5aaf..4bce1465c 100644 --- a/gui/theme/portrait_hdpi/ui.xml +++ b/gui/theme/portrait_hdpi/ui.xml @@ -6,7 +6,7 @@ <title>Backup Naowz</title> <description>Default basic theme</description> <preview>preview.png</preview> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <include> diff --git a/gui/theme/portrait_mdpi/splash.xml b/gui/theme/portrait_mdpi/splash.xml index e238ce15b..80338eb82 100644 --- a/gui/theme/portrait_mdpi/splash.xml +++ b/gui/theme/portrait_mdpi/splash.xml @@ -5,7 +5,7 @@ <author>TeamWin</author> <title>TWRP</title> <description>splash screen</description> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <resources> diff --git a/gui/theme/portrait_mdpi/ui.xml b/gui/theme/portrait_mdpi/ui.xml index 8d424dbd5..94c142863 100644 --- a/gui/theme/portrait_mdpi/ui.xml +++ b/gui/theme/portrait_mdpi/ui.xml @@ -6,7 +6,7 @@ <title>Backup Naowz</title> <description>Default basic theme</description> <preview>preview.png</preview> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <include> diff --git a/gui/theme/watch_mdpi/splash.xml b/gui/theme/watch_mdpi/splash.xml index 2c2538a93..2d70e5948 100644 --- a/gui/theme/watch_mdpi/splash.xml +++ b/gui/theme/watch_mdpi/splash.xml @@ -5,7 +5,7 @@ <author>TeamWin</author> <title>TWRP</title> <description>splash screen</description> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <resources> diff --git a/gui/theme/watch_mdpi/ui.xml b/gui/theme/watch_mdpi/ui.xml index b2f069d09..3ef71aff0 100644 --- a/gui/theme/watch_mdpi/ui.xml +++ b/gui/theme/watch_mdpi/ui.xml @@ -7,7 +7,7 @@ <title>Backup Naowz</title> <description>Default basic theme</description> <preview>preview.png</preview> - <themeversion>1</themeversion> + <themeversion>2</themeversion> </details> <include> |