From 235c648a6828bdd8201e1151b7e2815a4daf1201 Mon Sep 17 00:00:00 2001 From: that Date: Sun, 24 Jan 2016 21:59:00 +0100 Subject: gui: use XML-based page for splash screen instead of a static jpg For devices with an unusual aspect ratio, stretching a bitmap to the screen resolution is sub-optimal. So let's reuse our XML engine that allows assembling the splash screen from individual parts. The splash page is loaded from a separate XML file for quick loading. Change-Id: I2d3dad26e42fcefaf563dacdf0ffa61f209dada1 --- gui/theme/watch_mdpi/images/curtain.jpg | Bin 28427 -> 0 bytes gui/theme/watch_mdpi/images/splashlogo.png | Bin 0 -> 5597 bytes gui/theme/watch_mdpi/images/splashteamwin.png | Bin 0 -> 983 bytes gui/theme/watch_mdpi/splash.xml | 52 ++++++++++++++++++++++++++ 4 files changed, 52 insertions(+) delete mode 100644 gui/theme/watch_mdpi/images/curtain.jpg create mode 100755 gui/theme/watch_mdpi/images/splashlogo.png create mode 100755 gui/theme/watch_mdpi/images/splashteamwin.png create mode 100755 gui/theme/watch_mdpi/splash.xml (limited to 'gui/theme/watch_mdpi') diff --git a/gui/theme/watch_mdpi/images/curtain.jpg b/gui/theme/watch_mdpi/images/curtain.jpg deleted file mode 100644 index 1d1d49e87..000000000 Binary files a/gui/theme/watch_mdpi/images/curtain.jpg and /dev/null differ diff --git a/gui/theme/watch_mdpi/images/splashlogo.png b/gui/theme/watch_mdpi/images/splashlogo.png new file mode 100755 index 000000000..757c74058 Binary files /dev/null and b/gui/theme/watch_mdpi/images/splashlogo.png differ diff --git a/gui/theme/watch_mdpi/images/splashteamwin.png b/gui/theme/watch_mdpi/images/splashteamwin.png new file mode 100755 index 000000000..94546f8e6 Binary files /dev/null and b/gui/theme/watch_mdpi/images/splashteamwin.png differ diff --git a/gui/theme/watch_mdpi/splash.xml b/gui/theme/watch_mdpi/splash.xml new file mode 100755 index 000000000..81bef4513 --- /dev/null +++ b/gui/theme/watch_mdpi/splash.xml @@ -0,0 +1,52 @@ + + +
+ + TeamWin + TWRP + Default basic theme + preview.jpg + 1 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Recovery Project %tw_version% + + + +
+ -- cgit v1.2.3