Reduce themes to 5 and rely on scaling

This will significantly reduce theme maintainence and should be a
lot more sustainable over time. Eliminate most themes leaving only
5 remaining in 3 categores:
 * watch_mdpi: 320x320
 * portrait_mdpi: 480x800
 * portrait_hdpi: 1080x1920
 * landscape_mdpi: 800x480
 * landscape_hdpi: 1920x1200

Add handling to map the old DEVICE RESOLUTION to the new TW_THEME
build flag. New devices should specify a theme using the new
TW_THEME build flag using one of the 5 values from the list above.
Long term we will eliminate the use of the DEVICE_RESOLUTION flag
in favor of the new flag.

Change the way sliders render so that they completely follow the
placement="5". This will probably break some custom themes but is
necessary so that we can retain the aspect ratio on slider images
and still have them rendered at the center of the screen.

Add code to the console slideout button so that it can be centered.
Centering the slideout button allows us to keep the button at the
center of the screen when retaining aspect ratios on the image.

Add more retain aspect ratios for home, back, slideout, folder,
file, and lock screen images.

Change the way we build the top bar in TWRP. It is now mostly
drawn using fill objects and the TWRP logo is a separate image so
that we can retain its aspect ratio during scaling. Thanks to Mark
Norelus for providing the TWRP logo.

Change-Id: I801a7b3163cad9ef353461f4c327690a9ccbb3aa
This commit is contained in:
Ethan Yonker
2015-03-11 11:17:15 -05:00
parent 4142408225
commit 591b920536
534 changed files with 225 additions and 6147 deletions
+55 -41
View File
@@ -29,9 +29,9 @@ LOCAL_SRC_FILES := \
scrolllist.cpp
ifneq ($(TWRP_CUSTOM_KEYBOARD),)
LOCAL_SRC_FILES += $(TWRP_CUSTOM_KEYBOARD)
LOCAL_SRC_FILES += $(TWRP_CUSTOM_KEYBOARD)
else
LOCAL_SRC_FILES += hardwarekeyboard.cpp
LOCAL_SRC_FILES += hardwarekeyboard.cpp
endif
LOCAL_SHARED_LIBRARIES += libminuitwrp libc libstdc++ libminzip libaosprecovery
@@ -43,10 +43,10 @@ LOCAL_CFLAGS += -D_EVENT_LOGGING
endif
ifneq ($(TW_NO_SCREEN_BLANK),)
LOCAL_CFLAGS += -DTW_NO_SCREEN_BLANK
LOCAL_CFLAGS += -DTW_NO_SCREEN_BLANK
endif
ifneq ($(TW_NO_SCREEN_TIMEOUT),)
LOCAL_CFLAGS += -DTW_NO_SCREEN_TIMEOUT
LOCAL_CFLAGS += -DTW_NO_SCREEN_TIMEOUT
endif
ifeq ($(HAVE_SELINUX), true)
LOCAL_CFLAGS += -DHAVE_SELINUX
@@ -58,31 +58,13 @@ ifeq ($(TW_DISABLE_TTF), true)
LOCAL_CFLAGS += -DTW_DISABLE_TTF
endif
ifneq ($(TW_X_OFFSET),)
LOCAL_CFLAGS += -DTW_X_OFFSET=$(TW_X_OFFSET)
LOCAL_CFLAGS += -DTW_X_OFFSET=$(TW_X_OFFSET)
endif
ifneq ($(TW_Y_OFFSET),)
LOCAL_CFLAGS += -DTW_Y_OFFSET=$(TW_Y_OFFSET)
LOCAL_CFLAGS += -DTW_Y_OFFSET=$(TW_Y_OFFSET)
endif
ifeq ($(TW_ROUND_SCREEN), true)
LOCAL_CFLAGS += -DTW_ROUND_SCREEN
endif
ifeq ($(DEVICE_RESOLUTION),)
$(warning ********************************************************************************)
$(warning * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk )
$(warning * Please see http://tinyw.in/50tg for details. )
$(warning ********************************************************************************)
$(error stopping)
endif
ifeq ($(TW_CUSTOM_THEME),)
ifeq "$(wildcard $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION))" ""
$(warning ********************************************************************************)
$(warning * DEVICE_RESOLUTION ($(DEVICE_RESOLUTION)) does NOT EXIST in $(commands_recovery_local_path)/gui/devices )
$(warning * Please choose an existing theme or create a new one for your device. )
$(warning ********************************************************************************)
$(error stopping)
endif
LOCAL_CFLAGS += -DTW_ROUND_SCREEN
endif
LOCAL_C_INCLUDES += bionic external/stlport/stlport $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)
@@ -100,32 +82,64 @@ TWRP_RES_LOC := $(commands_recovery_local_path)/gui/devices/common/res
TWRP_COMMON_XML := $(hide) echo "No common TWRP XML resources"
ifeq ($(TW_CUSTOM_THEME),)
PORTRAIT := 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560
LANDSCAPE := 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600
WATCH := 240x240 280x280 320x320
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)/res
ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT)),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE)),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifneq ($(filter $(DEVICE_RESOLUTION), $(WATCH)),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/watch/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
endif
ifeq ($(TW_THEME),)
# This converts the old DEVICE_RESOLUTION flag to the new TW_THEME flag
PORTRAIT_MDPI := 320x480 480x800 480x854 540x960
PORTRAIT_HDPI := 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560
WATCH_MDPI := 240x240 280x280 320x320
LANDSCAPE_MDPI := 800x480 1024x600 1024x768
LANDSCAPE_HDPI := 1280x800 1920x1200 2560x1600
ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT_MDPI)),)
TW_THEME := portrait_mdpi
else ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT_HDPI)),)
TW_THEME := portrait_hdpi
else ifneq ($(filter $(DEVICE_RESOLUTION), $(WATCH_MDPI)),)
TW_THEME := watch_mdpi
else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE_MDPI)),)
TW_THEME := landscape_mdpi
else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE_HDPI)),)
TW_THEME := landscape_hdpi
endif
endif
ifeq ($(TW_THEME), portrait_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/480x800/res
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifeq ($(TW_THEME), portrait_hdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/1080x1920/res
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifeq ($(TW_THEME), watch_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/320x320/res
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/watch/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifeq ($(TW_THEME), landscape_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/800x480/res
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else ifeq ($(TW_THEME), landscape_hdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/1920x1200/res
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
else
$(warning ****************************************************************************)
$(warning * TW_THEME ($(TW_THEME)) is not valid.)
$(warning * Please choose an appropriate TW_THEME or create a new one for your device.)
$(warning * Valid options are portrait_mdpi portrait_hdpi watch_mdpi)
$(warning * landscape_mdpi landscape_hdpi)
$(warning ****************************************************************************)
$(error stopping)
endif
else
TWRP_THEME_LOC := $(TW_CUSTOM_THEME)
TWRP_THEME_LOC := $(TW_CUSTOM_THEME)
endif
ifeq ($(TW_DISABLE_TTF), true)
TWRP_REMOVE_FONT := rm -f $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)fonts/*.ttf
TWRP_REMOVE_FONT := rm -f $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)fonts/*.ttf
else
TWRP_REMOVE_FONT := rm -f $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)fonts/*.dat
TWRP_REMOVE_FONT := rm -f $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)fonts/*.dat
endif
TWRP_RES_GEN := $(intermediates)/twrp
ifneq ($(TW_USE_TOOLBOX), true)
TWRP_SH_TARGET := /sbin/busybox
TWRP_SH_TARGET := /sbin/busybox
else
TWRP_SH_TARGET := /sbin/mksh
TWRP_SH_TARGET := /sbin/mksh
endif
$(TWRP_RES_GEN):
+7 -1
View File
@@ -130,7 +130,7 @@ GUIConsole::GUIConsole(xml_node<>* node) : GUIScrollList(node)
{
mSlideout = 1;
mSlideoutState = hidden;
LoadPlacement(child, &mSlideoutX, &mSlideoutY);
LoadPlacement(child, &mSlideoutX, &mSlideoutY, &mSlideoutW, &mSlideoutH, &mPlacement);
mSlideoutImage = LoadAttrImage(child, "resource");
@@ -138,6 +138,12 @@ GUIConsole::GUIConsole(xml_node<>* node) : GUIScrollList(node)
{
mSlideoutW = mSlideoutImage->GetWidth();
mSlideoutH = mSlideoutImage->GetHeight();
if (mPlacement == CENTER || mPlacement == CENTER_X_ONLY) {
mSlideoutX = mSlideoutX - (mSlideoutW / 2);
if (mPlacement == CENTER) {
mSlideoutY = mSlideoutY - (mSlideoutH / 2);
}
}
}
}
}
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

-441
View File
@@ -1,441 +0,0 @@
<?xml version="1.0"?>
<recovery>
<details>
<resolution width="1024" height="600" />
<author>TeamWin</author>
<title>Backup Naowz</title>
<description>Default basic theme</description>
<preview>preview.jpg</preview>
</details>
<include>
<xmlfile name="landscape.xml" />
</include>
<resources>
<resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="20" fallback="Roboto-Regular-20" />
<resource name="base" type="image" filename="background.jpg" />
<resource name="main_button" type="image" filename="button" />
<resource name="file_icon" type="image" filename="file" />
<resource name="folder_icon" type="image" filename="folder" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
<resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" />
<resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
<resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
<resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
<resource name="medium_button" type="image" filename="medium-button" />
<resource name="mediumwide_button" type="image" filename="mediumwide-button" />
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
<resource name="home_icon" type="image" filename="home-icon" />
<resource name="back_icon" type="image" filename="back-icon" />
<resource name="console_button" type="image" filename="console-toggle" />
<resource name="slider" type="image" filename="slider" />
<resource name="slider-used" type="image" filename="slider-used" />
<resource name="slider-touch" type="image" filename="slider-touch" />
<resource name="unlock-icon" type="image" filename="unlock" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
<resource name="keyboard4" type="image" filename="keyboard4" />
<resource name="cursor" type="image" filename="cursor" retainaspect="1" />
</resources>
<variables>
<variable name="col1_x" value="23" />
<variable name="col2_x" value="269" />
<variable name="col3_x" value="515" />
<variable name="col4_x" value="761" />
<variable name="row1_y" value="127" />
<variable name="row2_y" value="388" />
<variable name="col_center_x" value="392" />
<variable name="center_x" value="512" />
<variable name="screen_width" value="1024" />
<variable name="screen_height" value="600" />
<variable name="col_progressbar_x" value="386" />
<variable name="row_progressbar_y" value="540" />
<variable name="col1_medium_x" value="257" />
<variable name="col2_medium_x" value="387" />
<variable name="col3_medium_x" value="517" />
<variable name="col4_medium_x" value="647" />
<variable name="row1_medium_y" value="105" />
<variable name="row2_medium_y" value="200" />
<variable name="row3_medium_y" value="245" />
<variable name="row4_medium_y" value="440" />
<variable name="row5_medium_y" value="405" />
<variable name="row1_text_y" value="58" />
<variable name="row2_text_y" value="105" />
<variable name="row3_text_y" value="140" />
<variable name="row4_text_y" value="170" />
<variable name="row5_text_y" value="200" />
<variable name="row6_text_y" value="230" />
<variable name="row7_text_y" value="260" />
<variable name="row8_text_y" value="290" />
<variable name="row9_text_y" value="320" />
<variable name="row10_text_y" value="350" />
<variable name="row11_text_y" value="380" />
<variable name="row12_text_y" value="410" />
<variable name="row13_text_y" value="440" />
<variable name="row14_text_y" value="470" />
<variable name="row15_text_y" value="500" />
<variable name="row16_text_y" value="530" />
<variable name="row17_text_y" value="560" />
<variable name="row18_text_y" value="590" />
<variable name="row_offsetmedium_y" value="465" />
<variable name="home_button_x" value="813" />
<variable name="home_button_y" value="5" />
<variable name="back_button_x" value="883" />
<variable name="back_button_y" value="5" />
<variable name="console_button_x" value="953" />
<variable name="console_button_y" value="5" />
<variable name="nandcheck_col1" value="150" />
<variable name="nandcheck_col2" value="450" />
<variable name="nandcheck_row1" value="150" />
<variable name="nandcheck_row2" value="195" />
<variable name="nandcheck_row3" value="240" />
<variable name="nandcheck_row4" value="285" />
<variable name="nandcheck_row5" value="330" />
<variable name="nandcheck_row6" value="375" />
<variable name="nandcheck_row7" value="410" />
<variable name="nandcheck_row8" value="445" />
<variable name="button_text_color" value="#AAAAAA" />
<variable name="text_color" value="#A0A0A0" />
<variable name="text_success_color" value="#33B5E5" />
<variable name="text_fail_color" value="#FF0101" />
<variable name="highlight_color" value="#90909080" />
<variable name="caps_highlight_color" value="#33B5E580" />
<variable name="slider_x" value="307" />
<variable name="slider_y" value="470" />
<variable name="slider_text_y" value="520" />
<variable name="sort_text_x" value="270" />
<variable name="sort_asc_text_y" value="510" />
<variable name="sort_asc_button_y" value="505" />
<variable name="sort_desc_text_y" value="545" />
<variable name="sort_desc_button_y" value="542" />
<variable name="sort_col1_button_x" value="440" />
<variable name="sort_col2_button_x" value="510" />
<variable name="sort_col3_button_x" value="580" />
<variable name="col1_sdext_x" value="370" />
<variable name="col2_sdext_x" value="600" />
<variable name="row1_sdext_y" value="115" />
<variable name="row2_sdext_y" value="180" />
<variable name="row_extsize_y" value="115" />
<variable name="row_swapsize_y" value="180" />
<variable name="input_x" value="28" />
<variable name="input_width" value="944" />
<variable name="input_height" value="30" />
<variable name="input_background_color" value="#303030" />
<variable name="input_cursor_color" value="#33B5E5" />
<variable name="input_cursor_width" value="3" />
<variable name="console_x" value="25" />
<variable name="console_width" value="974" />
<variable name="console_foreground" value="#A0A0A0" />
<variable name="warning" value="#F8F8A0" />
<variable name="error" value="#FF4040" />
<variable name="highlight" value="#33B5E5" />
<variable name="console_background" value="#303030" />
<variable name="console_scroll" value="#303030" />
<variable name="console_action_height" value="320" />
<variable name="console_install_height" value="440" />
<variable name="console_installdone_height" value="300" />
<variable name="fileselector_folder_x" value="28" />
<variable name="fileselector_folder_width" value="282" />
<variable name="fileselector_folderonly_width" value="460" />
<variable name="fileselector_file_x" value="317" />
<variable name="fileselector_file_width" value="682" />
<variable name="fileselector_install_y" value="120" />
<variable name="fileselector_install_height" value="382" />
<variable name="fileselector_header_background" value="#202020" />
<variable name="fileselector_header_textcolor" value="#AAAAAA" />
<variable name="fileselector_header_separatorcolor" value="#33B5E5" />
<variable name="fileselector_header_separatorheight" value="3" />
<variable name="fileselector_separatorcolor" value="#505050" />
<variable name="fileselector_separatorheight" value="2" />
<variable name="fileselector_background" value="#303030" />
<variable name="fileselector_highlight_color" value="#505050" />
<variable name="fileselector_highlight_font_color" value="#33B5E5" />
<variable name="fileselector_spacing" value="18" />
<variable name="fastscroll_linecolor" value="#50505080" />
<variable name="fastscroll_rectcolor" value="#33B5E580" />
<variable name="fastscroll_w" value="32" />
<variable name="fastscroll_linew" value="2" />
<variable name="fastscroll_rectw" value="12" />
<variable name="fastscroll_recth" value="22" />
<variable name="zipstorage_text_y" value="88" />
<variable name="listbox_x" value="269" />
<variable name="listbox_y" value="90" />
<variable name="listbox_width" value="460" />
<variable name="listbox_tz_height" value="290" />
<variable name="listbox_background" value="#303030" />
<variable name="listbox_spacing" value="18" />
<variable name="sd_plus_x" value="280" />
<variable name="lock_x" value="312" />
<variable name="lock_y" value="184" />
<variable name="filemanager_select_x" value="761" />
<variable name="filemanager_select_y" value="495" />
<variable name="backup_name_text_y" value="440" />
<variable name="backup_name_button_y" value="240" />
<variable name="col_right_x" value="996" />
<variable name="cancel_button_y" value="220" />
<variable name="terminal_console_y" value="0" />
<variable name="terminal_console_height" value="300" />
<variable name="terminal_text_y" value="307" />
<variable name="terminal_button_y" value="298" />
<variable name="terminal_input_width" value="775" />
<variable name="button_fill_color" value="#303030" />
<variable name="button_fill_full_width" value="512" />
<variable name="button_fill_main_width" value="486" />
<variable name="button_fill_main_height" value="150" />
<variable name="button_fill_half_height" value="50" />
<variable name="button_fill_quarter_height" value="30" />
<variable name="button_full_center_x" value="256" />
<variable name="flash_list_height" value="200" />
<variable name="backup_list_x" value="23" />
<variable name="backup_list_y" value="105" />
<variable name="backup_list_width" value="486" />
<variable name="backup_list_height" value="360" />
<variable name="backup_storage_y" value="250" />
<variable name="backup_encrypt_y" value="310" />
<variable name="restore_list_y" value="140" />
<variable name="restore_list_height" value="320" />
<variable name="mount_list_height" value="400" />
<variable name="mount_storage_row" value="500" />
<variable name="wipe_list_height" value="300" />
<variable name="wipe_button_y" value="190" />
<variable name="slidervalue_x" value="256" />
<variable name="slidervalue_w" value="512" />
<variable name="slidervalue_line_clr" value="#FFFFFF" />
<variable name="slidervalue_slider_clr" value="#33B5E5" />
<variable name="slidervalue_lineh" value="2" />
<variable name="slidervalue_padding" value="0" />
<variable name="slidervalue_sliderw" value="10" />
<variable name="slidervalue_sliderh" value="50" />
</variables>
<mousecursor>
<placement w="15" h="15" />
<background color="#FFFF00FF" resource="cursor" />
<speed multiplier="2" />
</mousecursor>
<templates>
<template name="header">
<background color="#000000FF" />
<object type="image">
<image resource="base" />
<placement x="0" y="0" />
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="200" y="5" />
<text>Team Win Recovery Project v%tw_version%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="200" y="30" />
<conditions>
<condition var1="tw_no_battery_percent" var2="0" />
<condition var1="tw_battery" op="&gt;" var2="0" />
<condition var1="tw_battery" op="&lt;" var2="101" />
</conditions>
<text>Battery Level: %tw_battery%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="400" y="30" />
<text>%tw_time%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="700" y="30" />
<conditions>
<condition var1="tw_no_cpu_temp" var2="0" />
</conditions>
<text>CPU: %tw_cpu_temp% C</text>
</object>
<object type="text" color="%text_color%">
<condition var1="tw_simulate_actions" var2="1" />
<font resource="font" />
<placement x="475" y="30" />
<text>SIMULATING ACTIONS</text>
</object>
<object type="button">
<placement x="%home_button_x%" y="%home_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
<image resource="home_icon" />
<condition var1="tw_busy" var2="0" />
<action function="key">home</action>
</object>
<object type="button">
<placement x="%back_button_x%" y="%back_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
<image resource="back_icon" />
<condition var1="tw_busy" var2="0" />
<action function="key">back</action>
</object>
<object type="action">
<touch key="power" />
<action function="overlay">lock</action>
</object>
<object type="action">
<touch key="power+voldown" />
<action function="screenshot" />
</object>
</template>
<template name="progress_bar">
<object type="progressbar">
<placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
<resource empty="progress_empty" full="progress_full" />
<data name="ui_progress" />
</object>
<object type="animation">
<placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
<resource name="progress" />
<speed fps="15" render="2" />
<loop frame="1" />
</object>
</template>
<template name="sort_options">
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_asc_text_y%" />
<text>Sort Ascending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=3</action>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_desc_text_y%" />
<text>Sort Descending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-3</action>
</object>
</template>
<template name="flash_zip_console">
<object type="console">
<placement x="%console_x%" y="85" w="%console_width%" h="340" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="action_page_console">
<object type="console">
<placement x="%console_x%" y="200" w="%console_width%" h="265" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="footer">
<object type="console">
<slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
<placement x="%console_x%" y="75" w="%console_width%" h="497" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="keyboardtemplate">
<object type="keyboard">
<placement x="0" y="341" />
<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
<highlight color="%highlight_color%" />
<capshighlight color="%caps_highlight_color%" />
<layout1>
<keysize height="65" width="92" />
<row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" key11="104:c:8" />
<row2 key01="138:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="l" key10="150:action" />
<row3 key01="102:layout2" key02="91:z" key03="91:x" key04="91:c" key05="91:v" key06="91:b" key07="91:n" key08="91:m" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
<row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
</layout1>
<layout2>
<keysize height="65" width="92" capslock="0" revert_layout="1" />
<row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" key11="104:c:8" />
<row2 key01="138:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="L" key10="150:action" />
<row3 key01="102:layout1" key02="91:Z" key03="91:X" key04="91:C" key05="91:V" key06="91:B" key07="91:N" key08="91:M" key09="91:," long09="!" key10="91:." long10="?" key11="103::" long11="+" />
<row4 key01="132:layout3" key02="92:" key03="/" long03="@" key04="404: " key05="'" long05="92:c:34" key06="-" long06="_" />
</layout2>
<layout3>
<keysize height="65" width="92" />
<row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" key11="104:c:8" />
<row2 key01="138:#" key02="$" key03="%" key04="&amp;" key05="*" key06="-" key07="+" key08="(" key09=")" key10="150:action" />
<row3 key01="102:layout4" key02="91:&lt;" key03="91:&gt;" key04="91:=" key05="91::" key06="91:;" key07="91:," key08="91:." key09="91:!" key10="91:?" key11="103:/" />
<row4 key01="132:layout1" key02="92:" key03="@" key04="404: " key05="92:c:34" key06="_" />
</layout3>
<layout4>
<keysize height="65" width="92" />
<row1 key01="~" key02="`" key03="|" key04="92:" key05="92:" key06="92:" key07="92:" key08="92:" key09="92:" key10="92:" key11="104:c:8" />
<row2 key01="138:" key02="92:" key03="92:" key04="92:" key05="^" key06="92:" key07="92:" key08="{" key09="}" key10="150:action" />
<row3 key01="102:layout3" key02="91:\" key03="91:" key04="91:" key05="91:" key06="91:" key07="91:[" key08="91:]" key09="91:!" key10="91:?" />
<row4 key01="132:layout1" key02="92:" key03="92:" key04="404: " />
</layout4>
</object>
</template>
</templates>
</recovery>
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

-441
View File
@@ -1,441 +0,0 @@
<?xml version="1.0"?>
<recovery>
<details>
<resolution width="1024" height="768" />
<author>TeamWin</author>
<title>Backup Naowz</title>
<description>Default basic theme</description>
<preview>preview.jpg</preview>
</details>
<include>
<xmlfile name="landscape.xml" />
</include>
<resources>
<resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="20" fallback="Roboto-Regular-20" />
<resource name="base" type="image" filename="background.jpg" />
<resource name="main_button" type="image" filename="button" />
<resource name="file_icon" type="image" filename="file" />
<resource name="folder_icon" type="image" filename="folder" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
<resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" />
<resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" />
<resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" />
<resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" />
<resource name="medium_button" type="image" filename="medium-button" />
<resource name="mediumwide_button" type="image" filename="mediumwide-button" />
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
<resource name="home_icon" type="image" filename="home-icon" />
<resource name="back_icon" type="image" filename="back-icon" />
<resource name="console_button" type="image" filename="console-toggle" />
<resource name="slider" type="image" filename="slider" />
<resource name="slider-used" type="image" filename="slider-used" />
<resource name="slider-touch" type="image" filename="slider-touch" />
<resource name="unlock-icon" type="image" filename="unlock" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
<resource name="keyboard4" type="image" filename="keyboard4" />
<resource name="cursor" type="image" filename="cursor" retainaspect="1" />
</resources>
<variables>
<variable name="col1_x" value="23" />
<variable name="col2_x" value="269" />
<variable name="col3_x" value="515" />
<variable name="col4_x" value="761" />
<variable name="row1_y" value="127" />
<variable name="row2_y" value="388" />
<variable name="col_center_x" value="392" />
<variable name="center_x" value="512" />
<variable name="screen_width" value="1024" />
<variable name="screen_height" value="768" />
<variable name="col_progressbar_x" value="386" />
<variable name="row_progressbar_y" value="700" />
<variable name="col1_medium_x" value="257" />
<variable name="col2_medium_x" value="387" />
<variable name="col3_medium_x" value="517" />
<variable name="col4_medium_x" value="647" />
<variable name="row1_medium_y" value="105" />
<variable name="row2_medium_y" value="245" />
<variable name="row3_medium_y" value="245" />
<variable name="row4_medium_y" value="450" />
<variable name="row5_medium_y" value="405" />
<variable name="row1_text_y" value="58" />
<variable name="row2_text_y" value="105" />
<variable name="row3_text_y" value="140" />
<variable name="row4_text_y" value="170" />
<variable name="row5_text_y" value="200" />
<variable name="row6_text_y" value="230" />
<variable name="row7_text_y" value="260" />
<variable name="row8_text_y" value="290" />
<variable name="row9_text_y" value="320" />
<variable name="row10_text_y" value="350" />
<variable name="row11_text_y" value="380" />
<variable name="row12_text_y" value="410" />
<variable name="row13_text_y" value="440" />
<variable name="row14_text_y" value="470" />
<variable name="row15_text_y" value="500" />
<variable name="row16_text_y" value="530" />
<variable name="row17_text_y" value="560" />
<variable name="row18_text_y" value="590" />
<variable name="row_offsetmedium_y" value="465" />
<variable name="home_button_x" value="813" />
<variable name="home_button_y" value="5" />
<variable name="back_button_x" value="883" />
<variable name="back_button_y" value="5" />
<variable name="console_button_x" value="953" />
<variable name="console_button_y" value="5" />
<variable name="nandcheck_col1" value="150" />
<variable name="nandcheck_col2" value="450" />
<variable name="nandcheck_row1" value="150" />
<variable name="nandcheck_row2" value="200" />
<variable name="nandcheck_row3" value="250" />
<variable name="nandcheck_row4" value="300" />
<variable name="nandcheck_row5" value="350" />
<variable name="nandcheck_row6" value="400" />
<variable name="nandcheck_row7" value="450" />
<variable name="nandcheck_row8" value="500" />
<variable name="button_text_color" value="#AAAAAA" />
<variable name="text_color" value="#A0A0A0" />
<variable name="text_success_color" value="#33B5E5" />
<variable name="text_fail_color" value="#FF0101" />
<variable name="highlight_color" value="#90909080" />
<variable name="caps_highlight_color" value="#33B5E580" />
<variable name="slider_x" value="307" />
<variable name="slider_y" value="600" />
<variable name="slider_text_y" value="650" />
<variable name="sort_text_x" value="270" />
<variable name="sort_asc_text_y" value="655" />
<variable name="sort_asc_button_y" value="650" />
<variable name="sort_desc_text_y" value="700" />
<variable name="sort_desc_button_y" value="695" />
<variable name="sort_col1_button_x" value="440" />
<variable name="sort_col2_button_x" value="510" />
<variable name="sort_col3_button_x" value="580" />
<variable name="col1_sdext_x" value="370" />
<variable name="col2_sdext_x" value="600" />
<variable name="row1_sdext_y" value="115" />
<variable name="row2_sdext_y" value="180" />
<variable name="row_extsize_y" value="115" />
<variable name="row_swapsize_y" value="180" />
<variable name="input_x" value="28" />
<variable name="input_width" value="944" />
<variable name="input_height" value="30" />
<variable name="input_background_color" value="#303030" />
<variable name="input_cursor_color" value="#33B5E5" />
<variable name="input_cursor_width" value="3" />
<variable name="console_x" value="25" />
<variable name="console_width" value="974" />
<variable name="console_foreground" value="#A0A0A0" />
<variable name="warning" value="#F8F8A0" />
<variable name="error" value="#FF4040" />
<variable name="highlight" value="#33B5E5" />
<variable name="console_background" value="#303030" />
<variable name="console_scroll" value="#303030" />
<variable name="console_action_height" value="320" />
<variable name="console_install_height" value="440" />
<variable name="console_installdone_height" value="300" />
<variable name="fileselector_folder_x" value="28" />
<variable name="fileselector_folder_width" value="282" />
<variable name="fileselector_folderonly_width" value="460" />
<variable name="fileselector_file_x" value="317" />
<variable name="fileselector_file_width" value="682" />
<variable name="fileselector_install_y" value="120" />
<variable name="fileselector_install_height" value="510" />
<variable name="fileselector_header_background" value="#202020" />
<variable name="fileselector_header_textcolor" value="#AAAAAA" />
<variable name="fileselector_header_separatorcolor" value="#33B5E5" />
<variable name="fileselector_header_separatorheight" value="3" />
<variable name="fileselector_separatorcolor" value="#505050" />
<variable name="fileselector_separatorheight" value="2" />
<variable name="fileselector_background" value="#303030" />
<variable name="fileselector_highlight_color" value="#505050" />
<variable name="fileselector_highlight_font_color" value="#33B5E5" />
<variable name="fileselector_spacing" value="18" />
<variable name="fastscroll_linecolor" value="#50505080" />
<variable name="fastscroll_rectcolor" value="#33B5E580" />
<variable name="fastscroll_w" value="32" />
<variable name="fastscroll_linew" value="2" />
<variable name="fastscroll_rectw" value="12" />
<variable name="fastscroll_recth" value="22" />
<variable name="zipstorage_text_y" value="88" />
<variable name="listbox_x" value="269" />
<variable name="listbox_y" value="90" />
<variable name="listbox_width" value="460" />
<variable name="listbox_tz_height" value="290" />
<variable name="listbox_background" value="#303030" />
<variable name="listbox_spacing" value="18" />
<variable name="sd_plus_x" value="280" />
<variable name="lock_x" value="312" />
<variable name="lock_y" value="184" />
<variable name="filemanager_select_x" value="761" />
<variable name="filemanager_select_y" value="620" />
<variable name="backup_name_text_y" value="440" />
<variable name="backup_name_button_y" value="240" />
<variable name="col_right_x" value="996" />
<variable name="cancel_button_y" value="240" />
<variable name="terminal_console_y" value="0" />
<variable name="terminal_console_height" value="362" />
<variable name="terminal_text_y" value="368" />
<variable name="terminal_button_y" value="358" />
<variable name="terminal_input_width" value="775" />
<variable name="button_fill_color" value="#303030" />
<variable name="button_fill_full_width" value="512" />
<variable name="button_fill_main_width" value="486" />
<variable name="button_fill_main_height" value="150" />
<variable name="button_fill_half_height" value="50" />
<variable name="button_fill_quarter_height" value="30" />
<variable name="button_full_center_x" value="256" />
<variable name="flash_list_height" value="200" />
<variable name="backup_list_x" value="23" />
<variable name="backup_list_y" value="105" />
<variable name="backup_list_width" value="486" />
<variable name="backup_list_height" value="450" />
<variable name="backup_storage_y" value="250" />
<variable name="backup_encrypt_y" value="310" />
<variable name="restore_list_y" value="140" />
<variable name="restore_list_height" value="400" />
<variable name="mount_list_height" value="500" />
<variable name="mount_storage_row" value="500" />
<variable name="wipe_list_height" value="400" />
<variable name="wipe_button_y" value="190" />
<variable name="slidervalue_x" value="256" />
<variable name="slidervalue_w" value="512" />
<variable name="slidervalue_line_clr" value="#FFFFFF" />
<variable name="slidervalue_slider_clr" value="#33B5E5" />
<variable name="slidervalue_lineh" value="2" />
<variable name="slidervalue_padding" value="0" />
<variable name="slidervalue_sliderw" value="10" />
<variable name="slidervalue_sliderh" value="50" />
</variables>
<mousecursor>
<placement w="15" h="15" />
<background color="#FFFF00FF" resource="cursor" />
<speed multiplier="2" />
</mousecursor>
<templates>
<template name="header">
<background color="#000000FF" />
<object type="image">
<image resource="base" />
<placement x="0" y="0" />
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="200" y="5" />
<text>Team Win Recovery Project v%tw_version%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="200" y="30" />
<conditions>
<condition var1="tw_no_battery_percent" var2="0" />
<condition var1="tw_battery" op="&gt;" var2="0" />
<condition var1="tw_battery" op="&lt;" var2="101" />
</conditions>
<text>Battery Level: %tw_battery%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="400" y="30" />
<text>%tw_time%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="700" y="30" />
<conditions>
<condition var1="tw_no_cpu_temp" var2="0" />
</conditions>
<text>CPU: %tw_cpu_temp% C</text>
</object>
<object type="text" color="%text_color%">
<condition var1="tw_simulate_actions" var2="1" />
<font resource="font" />
<placement x="475" y="30" />
<text>SIMULATING ACTIONS</text>
</object>
<object type="button">
<placement x="%home_button_x%" y="%home_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
<image resource="home_icon" />
<condition var1="tw_busy" var2="0" />
<action function="key">home</action>
</object>
<object type="button">
<placement x="%back_button_x%" y="%back_button_y%" />
<font resource="font" color="%button_text_color%" />
<text></text>
<image resource="back_icon" />
<condition var1="tw_busy" var2="0" />
<action function="key">back</action>
</object>
<object type="action">
<touch key="power" />
<action function="overlay">lock</action>
</object>
<object type="action">
<touch key="power+voldown" />
<action function="screenshot" />
</object>
</template>
<template name="progress_bar">
<object type="progressbar">
<placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
<resource empty="progress_empty" full="progress_full" />
<data name="ui_progress" />
</object>
<object type="animation">
<placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
<resource name="progress" />
<speed fps="15" render="2" />
<loop frame="1" />
</object>
</template>
<template name="sort_options">
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_asc_text_y%" />
<text>Sort Ascending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=3</action>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_desc_text_y%" />
<text>Sort Descending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" />
<action function="set">tw_gui_sort_order=-3</action>
</object>
</template>
<template name="flash_zip_console">
<object type="console">
<placement x="%console_x%" y="85" w="%console_width%" h="430" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="action_page_console">
<object type="console">
<placement x="%console_x%" y="200" w="%console_width%" h="380" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="footer">
<object type="console">
<slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
<placement x="%console_x%" y="75" w="%console_width%" h="665" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="keyboardtemplate">
<object type="keyboard">
<placement x="0" y="408" />
<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
<highlight color="%highlight_color%" />
<capshighlight color="%caps_highlight_color%" />
<layout1>
<keysize height="90" width="85" />
<row1 key01="80:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="94:c:8" />
<row2 key01="115:layout3" key02="83:a" key03="83:s" key04="83:d" key05="83:f" key06="83:g" key07="83:h" key08="83:j" key09="83:k" key10="83:l" key11="162:action" />
<row3 key01="140:layout2" key02="82:z" key03="82:x" key04="82:c" key05="82:v" key06="82:b" key07="82:n" key08="82:m" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout2" />
<row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
</layout1>
<layout2>
<keysize height="90" width="85" capslock="0" revert_layout="1" />
<row1 key01="80:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="94:c:8" />
<row2 key01="115:layout3" key02="83:A" key03="83:S" key04="83:D" key05="83:F" key06="83:G" key07="83:H" key08="83:J" key09="83:K" key10="83:L" key11="162:action" />
<row3 key01="140:layout1" key02="82:Z" key03="82:X" key04="82:C" key05="82:V" key06="82:B" key07="82:N" key08="82:M" key09="82:," long09="!" key10="82:." long10="?" key11="144:layout1" />
<row4 key01="320:" key02="385: " key03="80:/" long03=":" key04="80:-" long04="_" />
</layout2>
<layout3>
<keysize height="90" width="85" />
<row1 key01="80:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="94:c:8" />
<row2 key01="115:layout1" key02="83:#" key03="83:$" key04="83:%" key05="83:&amp;" key06="83:*" key07="83:-" key08="83:+" key09="83:(" key10="83:)" key11="162:action" />
<row3 key01="140:layout4" key02="82:&lt;" key03="82:&gt;" key04="82:=" key05="82:'" key06="82:;" key07="82:," key08="82:." key09="82:!" key10="82:?" key11="144:layout4" />
<row4 key01="155:" key02="85:/" key03="85:@" key04="385: " key05="80:c:34" key06="_" />
</layout3>
<layout4>
<keysize height="90" width="85" />
<row1 key01="80:" key02="~" key03="`" key04="|" key05="85:" key06="85:" key07="85:" key08="85:" key09="85:" key10="85:" key11="85:" key12="94:c:8" />
<row2 key01="115:layout1" key02="83:" key03="83:" key04="83:" key05="83:" key06="83:^" key07="83:" key08="83:" key09="83:{" key10="83:}" key11="162:action" />
<row3 key01="140:layout3" key02="82:\" key03="82:" key04="82:" key05="82:" key06="82:" key07="82:[" key08="82:]" key09="82:!" key10="82:?" key11="144:layout3" />
<row4 key01="320:" key02="385: " />
</layout4>
</object>
</template>
</templates>
</recovery>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

+24 -18
View File
@@ -17,11 +17,11 @@
<resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
<resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
<resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="40" fallback="Roboto-Condensed-40" />
<resource name="top_bar" type="image" filename="top-bar.jpg" />
<resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" />
<resource name="main_button" type="image" filename="menu-button" />
<resource name="file_icon" type="image" filename="file" />
<resource name="folder_icon" type="image" filename="folder" />
<resource name="slideout" type="image" filename="slideout" />
<resource name="file_icon" type="image" filename="file" retainaspect="1" />
<resource name="folder_icon" type="image" filename="folder" retainaspect="1" />
<resource name="slideout" type="image" filename="slideout" retainaspect="1" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
@@ -33,12 +33,12 @@
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
<resource name="home_icon" type="image" filename="home-icon" />
<resource name="back_icon" type="image" filename="back-icon" />
<resource name="slider" type="image" filename="slider" />
<resource name="slider-used" type="image" filename="slider-used" />
<resource name="slider-touch" type="image" filename="slider-touch" />
<resource name="unlock-icon" type="image" filename="unlock" />
<resource name="home_icon" type="image" filename="home-icon" retainaspect="1" />
<resource name="back_icon" type="image" filename="back-icon" retainaspect="1" />
<resource name="slider" type="image" filename="slider" retainaspect="1" />
<resource name="slider-used" type="image" filename="slider-used" retainaspect="1" />
<resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" />
<resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
@@ -98,7 +98,6 @@
<variable name="row5_medium_y" value="795" />
<variable name="row6_medium_y" value="1260" />
<variable name="row7_medium_y" value="730" />
<variable name="slider_x" value="101" />
<variable name="slider_y" value="1575" />
<variable name="slider_text_y" value="1676" />
<variable name="button_text_color" value="#AAAAAA" />
@@ -109,7 +108,7 @@
<variable name="caps_highlight_color" value="#33B5E580" />
<variable name="home_button_x" value="10" />
<variable name="home_button_y" value="1839" />
<variable name="back_button_x" value="944" />
<variable name="back_button_x" value="1070" />
<variable name="back_button_y" value="1839" />
<variable name="sort_text_x" value="10" />
<variable name="sort_asc_text_y" value="1635" />
@@ -167,8 +166,7 @@
<variable name="sdswap_text_y" value="405" />
<variable name="sdfilesystem_text_y" value="510" />
<variable name="sdfilesystem_button_y" value="570" />
<variable name="lock_x" value="240" />
<variable name="lock_y" value="600" />
<variable name="lock_y" value="700" />
<variable name="filemanager_select_x" value="840" />
<variable name="filemanager_select_y" value="1620" />
<variable name="backup_name_y" value="825" />
@@ -212,9 +210,17 @@
<template name="header">
<background color="#000000FF" />
<object type="fill" color="%button_fill_color%">
<placement x="0" y="0" w="1080" h="176" />
</object>
<object type="fill" color="%highlight%">
<placement x="0" y="176" w="1080" h="4" />
</object>
<object type="image">
<image resource="top_bar" />
<placement x="0" y="0" />
<image resource="twrplogo" />
<placement x="85" y="85" placement="4" />
</object>
<object type="text" color="%text_color%">
@@ -268,7 +274,7 @@
<object type="button">
<highlight color="%highlight_color%" />
<placement x="%back_button_x%" y="%back_button_y%" />
<placement x="%back_button_x%" y="%back_button_y%" placement="1" />
<font resource="font" color="%button_text_color%" />
<text></text>
<image resource="back_icon" />
@@ -380,7 +386,7 @@
<template name="footer">
<object type="console">
<slideout resource="slideout" x="500" y="1841" />
<slideout resource="slideout" x="%center_x%" y="1841" placement="5" />
<placement x="%console_x%" y="0" w="%console_width%" h="1841" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Some files were not shown because too many files have changed in this diff Show More