summaryrefslogtreecommitdiffstats
path: root/gui/devices/1600x2560/res
diff options
context:
space:
mode:
Diffstat (limited to 'gui/devices/1600x2560/res')
-rw-r--r--gui/devices/1600x2560/res/ui.xml363
1 files changed, 352 insertions, 11 deletions
diff --git a/gui/devices/1600x2560/res/ui.xml b/gui/devices/1600x2560/res/ui.xml
index 1873d0b24..bb28c0a54 100644
--- a/gui/devices/1600x2560/res/ui.xml
+++ b/gui/devices/1600x2560/res/ui.xml
@@ -185,7 +185,8 @@
<variable name="mount_list_height" value="1377" />
<variable name="mount_storage_row" value="1649" />
<variable name="storage_list_height" value="1330" />
- <variable name="wipe_list_height" value="1736" />
+ <variable name="wipe_list_height" value="1620" />
+ <variable name="wipe_button_row1" value="1884" />
<variable name="wipe_button_y" value="1298" />
<variable name="slidervalue_w" value="1569" />
<variable name="slidervalue_line_clr" value="#FFFFFF" />
@@ -1168,7 +1169,10 @@
<font resource="font" color="%button_text_color%" />
<text>Advanced Wipe</text>
<image resource="main_button" />
- <action function="page">advancedwipe</action>
+ <actions>
+ <action function="set">partitionlisterror=0</action>
+ <action function="page">advancedwipe</action>
+ </actions>
</object>
<object type="button">
@@ -1221,6 +1225,10 @@
<page name="advancedwipe">
<object type="template" name="header" />
+ <object type="action">
+ <action function="set">tw_wipe_list=</action>
+ </object>
+
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%center_x%" y="%row1_header_y%" placement="5" />
@@ -1255,6 +1263,25 @@
</actions>
</object>
+ <object type="button">
+ <highlight color="%highlight_color%" />
+ <fill color="%button_fill_color%" />
+ <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Repair or Change File System</text>
+ <actions>
+ <action function="checkpartitionlist"></action>
+ <action function="page">checkpartitionlist</action>
+ </actions>
+ </object>
+
+ <object type="text" color="%text_fail_color%">
+ <condition var1="partitionlisterror" var2="1" />
+ <font resource="font" />
+ <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
+ <text>Invalid partition selection</text>
+ </object>
+
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
@@ -1352,6 +1379,320 @@
</object>
</page>
+ <page name="checkpartitionlist">
+ <object type="action">
+ <condition var1="tw_check_partition_list" op="=" var2="1" />
+ <actions>
+ <action function="set">partitionlisterror=0</action>
+ <action function="getpartitiondetails"></action>
+ <action function="page">partitionoptions</action>
+ </actions>
+ </object>
+
+ <object type="action">
+ <condition var1="tw_check_partition_list" op="!=" var2="1" />
+ <actions>
+ <action function="set">partitionlisterror=1</action>
+ <action function="set">tw_wipe_list=</action>
+ <action function="page">advancedwipe</action>
+ </actions>
+ </object>
+ </page>
+
+ <page name="partitionoptions">
+ <object type="template" name="header" />
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_header_y%" placement="5" />
+ <text>Partition Options for: %tw_partition_name%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_text_y%" placement="5" />
+ <text>Mount Point: %tw_partition_mount_point%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row2_text_y%" placement="5" />
+ <text>Current file system: %tw_partition_file_system%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <condition var1="tw_partition_is_present" op="!=" var2="0" />
+ <font resource="font" />
+ <placement x="%col1_x%" y="%row3_text_y%" />
+ <text>Present: Yes</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <condition var1="tw_partition_is_present" op="=" var2="0" />
+ <font resource="font" />
+ <placement x="%col1_x%" y="%row3_text_y%" />
+ <text>Present: No</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <condition var1="tw_partition_removable" op="!=" var2="0" />
+ <font resource="font" />
+ <placement x="%col2_x%" y="%row3_text_y%" />
+ <text>Removable: Yes</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <condition var1="tw_partition_removable" op="=" var2="0" />
+ <font resource="font" />
+ <placement x="%col2_x%" y="%row3_text_y%" />
+ <text>Removable: No</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%col1_x%" y="%row4_text_y%" />
+ <text>Size: %tw_partition_size%MB</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%col2_x%" y="%row4_text_y%" />
+ <text>Used: %tw_partition_used%MB</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%col1_x%" y="%row5_text_y%" />
+ <text>Free: %tw_partition_free%MB</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%col2_x%" y="%row5_text_y%" />
+ <text>Backup Size: %tw_partition_backup_size%MB</text>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_can_repair" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col1_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Repair</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=partitionoptions</action>
+ <action function="set">tw_action=repair</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Repair %tw_partition_name%?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Repairing...</action>
+ <action function="set">tw_complete_text1=Repair Complete</action>
+ <action function="set">tw_slider_text=Swipe to Repair</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>Change File System</text>
+ <image resource="main_button" />
+ <action function="page">selectfilesystem</action>
+ </object>
+
+ <object type="action">
+ <touch key="home" />
+ <action function="page">main</action>
+ </object>
+
+ <object type="action">
+ <touch key="back" />
+ <action function="page">advancedwipe</action>
+ </object>
+
+ <object type="template" name="footer" />
+ </page>
+
+ <page name="selectfilesystem">
+ <object type="template" name="header" />
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_header_y%" placement="5" />
+ <text>Change file system for: %tw_partition_name%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row1_text_y%" placement="5" />
+ <text>Mount Point: %tw_partition_mount_point%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row2_text_y%" placement="5" />
+ <text>Current file system: %tw_partition_file_system%</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row3_text_y%" placement="5" />
+ <text>Some ROMs or kernels may not support some</text>
+ </object>
+
+ <object type="text" color="%text_color%">
+ <font resource="font" />
+ <placement x="%center_x%" y="%row4_text_y%" placement="5" />
+ <text>file systems. Proceed with caution!</text>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_ext" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col1_x%" y="%row2_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>EXT2</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=ext2</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_ext" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row2_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>EXT3</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=ext3</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_ext" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col1_x%" y="%row3_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>EXT4</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=ext4</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_f2fs" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row3_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>F2FS</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=f2fs</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_vfat" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col1_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>FAT</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=vfat</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="button">
+ <condition var1="tw_partition_exfat" op="=" var2="1" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row4_y%" />
+ <font resource="font" color="%button_text_color%" />
+ <text>exFAT</text>
+ <image resource="main_button" />
+ <actions>
+ <action function="set">tw_back=selectfilesystem</action>
+ <action function="set">tw_action=changefilesystem</action>
+ <action function="set">tw_action_param=%tw_partition_mount_point%</action>
+ <action function="set">tw_action_new_file_system=exfat</action>
+ <action function="set">tw_has_action2=0</action>
+ <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
+ <action function="set">tw_text2=</action>
+ <action function="set">tw_action_text1=Formatting...</action>
+ <action function="set">tw_complete_text1=Format Complete</action>
+ <action function="set">tw_slider_text=Swipe to Change</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </object>
+
+ <object type="action">
+ <touch key="home" />
+ <action function="page">main</action>
+ </object>
+
+ <object type="action">
+ <touch key="back" />
+ <action function="page">partitionoptions</action>
+ </object>
+
+ <object type="template" name="footer" />
+ </page>
+
<page name="backup">
<object type="template" name="header" />
@@ -2477,19 +2818,20 @@
<object type="button">
<highlight color="%highlight_color%" />
- <placement x="%col2_x%" y="%row4_y%" />
+ <placement x="%col1_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
- <text>Vibration Duration</text>
+ <text>Restore Defaults</text>
<image resource="main_button" />
- <action function="page">Vibrate</action>
+ <action function="restoredefaultsettings"></action>
</object>
<object type="button">
- <placement x="%col_x%" y="%row4_y%" />
+ <highlight color="%highlight_color%" />
+ <placement x="%col2_x%" y="%row4_y%" />
<font resource="font" color="%button_text_color%" />
- <text>Restore Defaults</text>
+ <text>Vibration Duration</text>
<image resource="main_button" />
- <action function="restoredefaultsettings"></action>
+ <action function="page">Vibrate</action>
</object>
<object type="action">
@@ -2538,7 +2880,6 @@
<listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
<listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
<listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
-
<listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
<listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
<listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
@@ -3558,7 +3899,7 @@
<resource base="slider" used="slider-used" touch="slider-touch" />
<action function="page">filemanageracction</action>
</object>
-
+
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
@@ -3574,7 +3915,7 @@
<touch key="home" />
<action function="page">main</action>
</object>
-
+
<object type="template" name="footer" />
</page>