Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="720" height="1280" /> |
| 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <resources> |
| 13 | <resource name="font" type="font" filename="Roboto-Condensed-30" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 14 | <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 15 | <resource name="filelist" type="font" filename="Roboto-Condensed-30" /> |
| 16 | <resource name="top_bar" type="image" filename="top-bar.jpg" /> |
| 17 | <resource name="main_button" type="image" filename="menu-button" /> |
| 18 | <resource name="file_icon" type="image" filename="file" /> |
| 19 | <resource name="folder_icon" type="image" filename="folder" /> |
| 20 | <resource name="slideout" type="image" filename="slideout" /> |
| 21 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 22 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 23 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 24 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 25 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 26 | <resource name="radio_false" type="image" filename="radio_empty" /> |
| 27 | <resource name="radio_true" type="image" filename="radio_selected" /> |
| 28 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 29 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 30 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 31 | <resource name="plus_button" type="image" filename="plus-button" /> |
| 32 | <resource name="home_icon" type="image" filename="home-icon" /> |
| 33 | <resource name="back_icon" type="image" filename="back-icon" /> |
| 34 | <resource name="slider" type="image" filename="slider" /> |
| 35 | <resource name="slider-used" type="image" filename="slider-used" /> |
| 36 | <resource name="slider-touch" type="image" filename="slider-touch" /> |
| 37 | <resource name="unlock-icon" type="image" filename="unlock" /> |
| 38 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 39 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 40 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 41 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
| 42 | </resources> |
| 43 | |
| 44 | <variables> |
| 45 | <variable name="col1_x" value="10" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 46 | <variable name="col2_x" value="373" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 47 | <variable name="col_center_x" value="191" /> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 48 | <variable name="col_center_medium_x" value="275" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 49 | <variable name="center_x" value="360" /> |
| 50 | <variable name="row1_y" value="170" /> |
| 51 | <variable name="row2_y" value="410" /> |
| 52 | <variable name="row3_y" value="650" /> |
| 53 | <variable name="row4_y" value="890" /> |
| 54 | <variable name="col1_center_x" value="179" /> |
| 55 | <variable name="col2_center_x" value="552" /> |
| 56 | <variable name="row1_text2_y" value="310" /> |
| 57 | <variable name="row2_text2_y" value="550" /> |
| 58 | <variable name="row_queue_y" value="760" /> |
| 59 | <variable name="row1_header_y" value="120" /> |
| 60 | <variable name="row1_text_y" value="170" /> |
| 61 | <variable name="row2_text_y" value="220" /> |
| 62 | <variable name="row3_text_y" value="270" /> |
| 63 | <variable name="row4_text_y" value="320" /> |
| 64 | <variable name="row5_text_y" value="370" /> |
| 65 | <variable name="row6_text_y" value="420" /> |
| 66 | <variable name="row7_text_y" value="470" /> |
| 67 | <variable name="row8_text_y" value="520" /> |
| 68 | <variable name="row9_text_y" value="570" /> |
| 69 | <variable name="row10_text_y" value="620" /> |
| 70 | <variable name="row11_text_y" value="670" /> |
| 71 | <variable name="row12_text_y" value="720" /> |
| 72 | <variable name="row13_text_y" value="770" /> |
| 73 | <variable name="row14_text_y" value="820" /> |
| 74 | <variable name="row15_text_y" value="870" /> |
| 75 | <variable name="row16_text_y" value="920" /> |
| 76 | <variable name="row17_text_y" value="970" /> |
| 77 | <variable name="row18_text_y" value="1020" /> |
| 78 | <variable name="zip_status_y" value="615" /> |
| 79 | <variable name="tz_selected_y" value="160" /> |
| 80 | <variable name="tz_set_y" value="950" /> |
| 81 | <variable name="tz_current_y" value="1180" /> |
| 82 | <variable name="col_progressbar_x" value="234" /> |
| 83 | <variable name="row_progressbar_y" value="1100" /> |
| 84 | <variable name="col1_medium_x" value="10" /> |
| 85 | <variable name="col2_medium_x" value="185" /> |
| 86 | <variable name="col3_medium_x" value="365" /> |
| 87 | <variable name="col4_medium_x" value="540" /> |
| 88 | <variable name="row1_medium_y" value="130" /> |
| 89 | <variable name="row2_medium_y" value="230" /> |
| 90 | <variable name="row3_medium_y" value="330" /> |
| 91 | <variable name="row4_medium_y" value="430" /> |
| 92 | <variable name="row5_medium_y" value="530" /> |
| 93 | <variable name="row6_medium_y" value="840" /> |
| 94 | <variable name="row7_medium_y" value="730" /> |
| 95 | <variable name="slider_x" value="68" /> |
| 96 | <variable name="slider_y" value="1050" /> |
| 97 | <variable name="slider_text_y" value="1117" /> |
| 98 | <variable name="button_text_color" value="#AAAAAA" /> |
| 99 | <variable name="text_color" value="#FFFFFF" /> |
| 100 | <variable name="text_success_color" value="#33B5E5" /> |
| 101 | <variable name="text_fail_color" value="#FF0101" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 102 | <variable name="highlight_color" value="#90909080" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 103 | <variable name="home_button_x" value="10" /> |
| 104 | <variable name="home_button_y" value="1226" /> |
| 105 | <variable name="back_button_x" value="625" /> |
| 106 | <variable name="back_button_y" value="1226" /> |
| 107 | <variable name="sort_text_x" value="10" /> |
| 108 | <variable name="sort_asc_text_y" value="1090" /> |
| 109 | <variable name="sort_asc_button_y" value="1080" /> |
| 110 | <variable name="sort_desc_text_y" value="1150" /> |
| 111 | <variable name="sort_desc_button_y" value="1140" /> |
| 112 | <variable name="sort_col1_button_x" value="260" /> |
| 113 | <variable name="sort_col2_button_x" value="360" /> |
| 114 | <variable name="sort_col3_button_x" value="460" /> |
| 115 | <variable name="input_width" value="700" /> |
| 116 | <variable name="input_height" value="50" /> |
| 117 | <variable name="input_background_color" value="#303030" /> |
| 118 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 119 | <variable name="input_cursor_width" value="3" /> |
| 120 | <variable name="console_x" value="0" /> |
| 121 | <variable name="console_width" value="720" /> |
| 122 | <variable name="console_foreground" value="#A0A0A0" /> |
| 123 | <variable name="console_background" value="#303030" /> |
| 124 | <variable name="console_scroll" value="#303030" /> |
| 125 | <variable name="console_action_height" value="470" /> |
| 126 | <variable name="console_install_height" value="600" /> |
| 127 | <variable name="console_installdone_height" value="440" /> |
| 128 | <variable name="fileselector_x" value="5" /> |
| 129 | <variable name="fileselector_width" value="710" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 130 | <variable name="fileselector_install_height" value="780" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 131 | <variable name="fileselector_header_background" value="#202020" /> |
| 132 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 133 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 134 | <variable name="fileselector_header_separatorheight" value="3" /> |
| 135 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 136 | <variable name="fileselector_separatorheight" value="2" /> |
| 137 | <variable name="fileselector_background" value="#303030" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 138 | <variable name="fileselector_highlight_color" value="#505050" /> |
| 139 | <variable name="fileselector_highlight_font_color" value="#33B5E5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 140 | <variable name="fileselector_spacing" value="36" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 141 | <variable name="fastscroll_linecolor" value="#808080" /> |
| 142 | <variable name="fastscroll_rectcolor" value="#808080" /> |
| 143 | <variable name="fastscroll_w" value="60" /> |
| 144 | <variable name="fastscroll_linew" value="2" /> |
| 145 | <variable name="fastscroll_rectw" value="40" /> |
| 146 | <variable name="fastscroll_recth" value="70" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 147 | <variable name="listbox_x" value="5" /> |
| 148 | <variable name="listbox_width" value="710" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 149 | <variable name="listbox_tz_height" value="590" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 150 | <variable name="listbox_background" value="#303030" /> |
| 151 | <variable name="listbox_spacing" value="16" /> |
| 152 | <variable name="sd_plus_x" value="350" /> |
| 153 | <variable name="sdext_text_x" value="110" /> |
| 154 | <variable name="sdext_text_y" value="180" /> |
| 155 | <variable name="sdswap_button_y" value="260" /> |
| 156 | <variable name="sdswap_text_x" value="110" /> |
| 157 | <variable name="sdswap_text_y" value="270" /> |
| 158 | <variable name="sdfilesystem_text_y" value="340" /> |
| 159 | <variable name="sdfilesystem_button_y" value="380" /> |
| 160 | <variable name="lock_x" value="160" /> |
| 161 | <variable name="lock_y" value="400" /> |
| 162 | <variable name="filemanager_select_x" value="560" /> |
| 163 | <variable name="filemanager_select_y" value="1080" /> |
| 164 | <variable name="backup_name_y" value="550" /> |
| 165 | <variable name="terminal_console_height" value="700" /> |
| 166 | <variable name="terminal_text_y" value="730" /> |
| 167 | <variable name="terminal_button_y" value="700" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 168 | <variable name="row_dst_text_y" value="720" /> |
| 169 | <variable name="row_offset_text_y" value="770" /> |
| 170 | <variable name="row_offset_medium_y" value="840" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 171 | <variable name="button_fill_color" value="#303030" /> |
| 172 | <variable name="button_fill_full_width" value="700" /> |
| 173 | <variable name="button_fill_main_width" value="337" /> |
| 174 | <variable name="button_fill_main_height" value="216" /> |
| 175 | <variable name="button_fill_half_height" value="108" /> |
| 176 | <variable name="button_fill_quarter_height" value="54" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 177 | <variable name="backup_list_height" value="520" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 178 | <variable name="backup_button_row1" value="745" /> |
| 179 | <variable name="backup_button_row2" value="810" /> |
| 180 | <variable name="mount_list_height" value="690" /> |
| 181 | <variable name="mount_storage_row" value="820" /> |
| 182 | <variable name="storage_list_height" value="875" /> |
| 183 | <variable name="wipe_list_height" value="870" /> |
| 184 | <variable name="wipe_button_y" value="650" /> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 185 | <variable name="slidervalue_w" value="700" /> |
| 186 | <variable name="slidervalue_line_clr" value="#FFFFFF" /> |
| 187 | <variable name="slidervalue_slider_clr" value="#33B5E5" /> |
| 188 | <variable name="slidervalue_lineh" value="2" /> |
| 189 | <variable name="slidervalue_padding" value="20" /> |
| 190 | <variable name="slidervalue_sliderw" value="10" /> |
| 191 | <variable name="slidervalue_sliderh" value="60" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 192 | </variables> |
| 193 | |
| 194 | <templates> |
| 195 | <template name="header"> |
| 196 | <background color="#000000FF" /> |
| 197 | |
| 198 | <object type="image"> |
| 199 | <image resource="top_bar" /> |
| 200 | <placement x="0" y="0" /> |
| 201 | </object> |
| 202 | |
| 203 | <object type="text" color="%text_color%"> |
| 204 | <font resource="font" /> |
| 205 | <placement x="120" y="10" /> |
| 206 | <text>Team Win Recovery Project v%tw_version%</text> |
| 207 | </object> |
| 208 | |
| 209 | <object type="text" color="%text_color%"> |
| 210 | <condition var1="tw_simulate_actions" var2="1" /> |
| 211 | <font resource="font" /> |
| 212 | <placement x="120" y="45" /> |
| 213 | <text>SIMULATING ACTIONS</text> |
| 214 | </object> |
| 215 | |
| 216 | <object type="text" color="%text_color%"> |
| 217 | <font resource="font" /> |
| 218 | <placement x="120" y="76" /> |
| 219 | <text>%tw_time%</text> |
| 220 | </object> |
| 221 | |
| 222 | <object type="text" color="%text_color%"> |
| 223 | <font resource="font" /> |
| 224 | <placement x="270" y="76" /> |
| 225 | <conditions> |
| 226 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 227 | <condition var1="tw_battery" op=">" var2="0" /> |
| 228 | <condition var1="tw_battery" op="<" var2="101" /> |
| 229 | </conditions> |
| 230 | <text>Battery: %tw_battery%</text> |
| 231 | </object> |
| 232 | |
| 233 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 234 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 235 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 236 | <font resource="font" color="%button_text_color%" /> |
| 237 | <text></text> |
| 238 | <image resource="home_icon" /> |
| 239 | <condition var1="tw_busy" var2="0" /> |
| 240 | <action function="key">home</action> |
| 241 | </object> |
| 242 | |
| 243 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 244 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 245 | <placement x="%back_button_x%" y="%back_button_y%" /> |
| 246 | <font resource="font" color="%button_text_color%" /> |
| 247 | <text></text> |
| 248 | <image resource="back_icon" /> |
| 249 | <condition var1="tw_busy" var2="0" /> |
| 250 | <action function="key">back</action> |
| 251 | </object> |
| 252 | |
| 253 | <object type="action"> |
| 254 | <touch key="power" /> |
| 255 | <action function="overlay">lock</action> |
| 256 | </object> |
| 257 | </template> |
| 258 | |
| 259 | <template name="progress_bar"> |
| 260 | <object type="progressbar"> |
| 261 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 262 | <resource empty="progress_empty" full="progress_full" /> |
| 263 | <data name="ui_progress" /> |
| 264 | </object> |
| 265 | |
| 266 | <object type="animation"> |
| 267 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 268 | <resource name="progress" /> |
| 269 | <speed fps="15" render="2" /> |
| 270 | <loop frame="1" /> |
| 271 | </object> |
| 272 | </template> |
| 273 | |
| 274 | <template name="sort_options"> |
| 275 | <object type="text" color="%text_color%"> |
| 276 | <font resource="font" /> |
| 277 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 278 | <text>Sort Ascending:</text> |
| 279 | </object> |
| 280 | |
| 281 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 282 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 283 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 284 | <font resource="font" color="%button_text_color%" /> |
| 285 | <text>Name</text> |
| 286 | <image resource="sort_button" /> |
| 287 | <action function="set">tw_gui_sort_order=1</action> |
| 288 | </object> |
| 289 | |
| 290 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 291 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 292 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 293 | <font resource="font" color="%button_text_color%" /> |
| 294 | <text>Date</text> |
| 295 | <image resource="sort_button" /> |
| 296 | <action function="set">tw_gui_sort_order=2</action> |
| 297 | </object> |
| 298 | |
| 299 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 300 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 301 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 302 | <font resource="font" color="%button_text_color%" /> |
| 303 | <text>Size</text> |
| 304 | <image resource="sort_button" /> |
| 305 | <action function="set">tw_gui_sort_order=3</action> |
| 306 | </object> |
| 307 | |
| 308 | <object type="text" color="%text_color%"> |
| 309 | <font resource="font" /> |
| 310 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 311 | <text>Sort Descending:</text> |
| 312 | </object> |
| 313 | |
| 314 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 315 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 316 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 317 | <font resource="font" color="%button_text_color%" /> |
| 318 | <text>Name</text> |
| 319 | <image resource="sort_button" /> |
| 320 | <action function="set">tw_gui_sort_order=-1</action> |
| 321 | </object> |
| 322 | |
| 323 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 324 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 325 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 326 | <font resource="font" color="%button_text_color%" /> |
| 327 | <text>Date</text> |
| 328 | <image resource="sort_button" /> |
| 329 | <action function="set">tw_gui_sort_order=-2</action> |
| 330 | </object> |
| 331 | |
| 332 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 333 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 334 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 335 | <font resource="font" color="%button_text_color%" /> |
| 336 | <text>Size</text> |
| 337 | <image resource="sort_button" /> |
| 338 | <action function="set">tw_gui_sort_order=-3</action> |
| 339 | </object> |
| 340 | </template> |
| 341 | |
| 342 | <template name="action_page_console"> |
| 343 | <object type="console"> |
| 344 | <placement x="0" y="%row2_y%" w="720" h="470" /> |
| 345 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 346 | <font resource="fixed" /> |
| 347 | </object> |
| 348 | </template> |
| 349 | |
| 350 | <template name="footer"> |
| 351 | <object type="console"> |
| 352 | <slideout resource="slideout" x="325" y="1220" /> |
| 353 | <placement x="%console_x%" y="0" w="%console_width%" h="1220" /> |
| 354 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 355 | <font resource="fixed" /> |
| 356 | </object> |
| 357 | </template> |
| 358 | |
| 359 | <template name="keyboardtemplate"> |
| 360 | <object type="keyboard"> |
| 361 | <placement x="0" y="800" /> |
| 362 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 363 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 364 | <layout1> |
| 365 | <keysize height="106" width="72" /> |
| 366 | <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" /> |
| 367 | <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" /> |
| 368 | <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" /> |
| 369 | <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" /> |
| 370 | </layout1> |
| 371 | <layout2> |
| 372 | <keysize height="106" width="72" /> |
| 373 | <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" /> |
| 374 | <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" /> |
| 375 | <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" /> |
| 376 | <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" /> |
| 377 | </layout2> |
| 378 | <layout3> |
| 379 | <keysize height="106" width="72" /> |
| 380 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> |
| 381 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> |
| 382 | <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" /> |
| 383 | <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" /> |
| 384 | </layout3> |
| 385 | <layout4> |
| 386 | <keysize height="106" width="72" /> |
| 387 | <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" /> |
| 388 | <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" /> |
| 389 | <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" /> |
| 390 | <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" /> |
| 391 | </layout4> |
| 392 | </object> |
| 393 | </template> |
| 394 | </templates> |
| 395 | |
| 396 | <pages> |
| 397 | <page name="main"> |
| 398 | <object type="action"> |
| 399 | <actions> |
| 400 | <action function="set">tw_clear_destination=main2</action> |
| 401 | <action function="page">clear_vars</action> |
| 402 | </actions> |
| 403 | </object> |
| 404 | </page> |
| 405 | |
| 406 | <page name="main2"> |
| 407 | <object type="template" name="header" /> |
| 408 | |
| 409 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 410 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 411 | <placement x="%col1_x%" y="%row1_y%" /> |
| 412 | <font resource="font" color="%button_text_color%" /> |
| 413 | <text>Install</text> |
| 414 | <image resource="main_button" /> |
| 415 | <actions> |
| 416 | <action function="queueclear"></action> |
| 417 | <action function="page">install</action> |
| 418 | </actions> |
| 419 | </object> |
| 420 | |
| 421 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 422 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 423 | <placement x="%col2_x%" y="%row1_y%" /> |
| 424 | <font resource="font" color="%button_text_color%" /> |
| 425 | <text>Wipe</text> |
| 426 | <image resource="main_button" /> |
| 427 | <action function="page">wipe</action> |
| 428 | </object> |
| 429 | |
| 430 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 431 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 432 | <placement x="%col1_x%" y="%row2_y%" /> |
| 433 | <font resource="font" color="%button_text_color%" /> |
| 434 | <text>Backup</text> |
| 435 | <image resource="main_button" /> |
| 436 | <action function="page">backup</action> |
| 437 | </object> |
| 438 | |
| 439 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 440 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 441 | <placement x="%col2_x%" y="%row2_y%" /> |
| 442 | <font resource="font" color="%button_text_color%" /> |
| 443 | <text>Restore</text> |
| 444 | <image resource="main_button" /> |
| 445 | <action function="page">restore</action> |
| 446 | </object> |
| 447 | |
| 448 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 449 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 450 | <placement x="%col1_x%" y="%row3_y%" /> |
| 451 | <font resource="font" color="%button_text_color%" /> |
| 452 | <text>Mount</text> |
| 453 | <image resource="main_button" /> |
| 454 | <action function="page">mount</action> |
| 455 | </object> |
| 456 | |
| 457 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 458 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 459 | <placement x="%col2_x%" y="%row3_y%" /> |
| 460 | <font resource="font" color="%button_text_color%" /> |
| 461 | <text>Settings</text> |
| 462 | <image resource="main_button" /> |
| 463 | <action function="page">settings</action> |
| 464 | </object> |
| 465 | |
| 466 | |
| 467 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 468 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 469 | <placement x="%col1_x%" y="%row4_y%" /> |
| 470 | <font resource="font" color="%button_text_color%" /> |
| 471 | <text>Advanced</text> |
| 472 | <image resource="main_button" /> |
| 473 | <action function="page">advanced</action> |
| 474 | </object> |
| 475 | |
| 476 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 477 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 478 | <placement x="%col2_x%" y="%row4_y%" /> |
| 479 | <font resource="font" color="%button_text_color%" /> |
| 480 | <text>Reboot</text> |
| 481 | <image resource="main_button" /> |
| 482 | <action function="page">reboot</action> |
| 483 | </object> |
| 484 | |
| 485 | <object type="template" name="footer" /> |
| 486 | </page> |
| 487 | |
| 488 | <page name="install"> |
| 489 | <object type="template" name="header" /> |
| 490 | |
| 491 | <object type="text" color="%text_color%"> |
| 492 | <font resource="font" /> |
| 493 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 494 | <text>Select Zip to Install</text> |
| 495 | </object> |
| 496 | |
| 497 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 498 | <highlight color="%highlight_color%" /> |
| 499 | <fill color="%button_fill_color%" /> |
| 500 | <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 501 | <font resource="font" color="%button_text_color%" /> |
| 502 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 503 | <actions> |
| 504 | <action function="set">tw_back=install</action> |
| 505 | <action function="page">selectstorage</action> |
| 506 | </actions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 507 | </object> |
| 508 | |
| 509 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 510 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 511 | <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 512 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 513 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 514 | <text>%tw_zip_location%</text> |
| 515 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 516 | <sort name="tw_gui_sort_order" /> |
| 517 | <icon folder="folder_icon" file="file_icon" /> |
| 518 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 519 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 520 | <filter extn=".zip" folders="1" files="1" /> |
| 521 | <path name="tw_zip_location" default="/sdcard" /> |
| 522 | <data name="tw_filename" /> |
| 523 | <selection name="tw_file" /> |
| 524 | </object> |
| 525 | |
| 526 | <object type="template" name="sort_options" /> |
| 527 | |
| 528 | <object type="action"> |
| 529 | <condition var1="tw_filename" op="modified" /> |
| 530 | <actions> |
| 531 | <action function="queuezip"></action> |
| 532 | <action function="page">flash_confirm</action> |
| 533 | </actions> |
| 534 | </object> |
| 535 | |
| 536 | <object type="action"> |
| 537 | <touch key="back" /> |
| 538 | <action function="page">main</action> |
| 539 | </object> |
| 540 | |
| 541 | <object type="action"> |
| 542 | <touch key="home" /> |
| 543 | <action function="page">main</action> |
| 544 | </object> |
| 545 | |
| 546 | <object type="template" name="footer" /> |
| 547 | </page> |
| 548 | |
| 549 | <page name="flash_confirm"> |
| 550 | <object type="template" name="header" /> |
| 551 | |
| 552 | <object type="text" color="%text_color%"> |
| 553 | <font resource="font" /> |
| 554 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 555 | <text>This operation may install incompatible</text> |
| 556 | </object> |
| 557 | |
| 558 | <object type="text" color="%text_color%"> |
| 559 | <font resource="font" /> |
| 560 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 561 | <text>software and render your device unusable.</text> |
| 562 | </object> |
| 563 | |
| 564 | <object type="text" color="%text_color%"> |
| 565 | <font resource="font" /> |
| 566 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 567 | <text>Folder:</text> |
| 568 | </object> |
| 569 | |
| 570 | <object type="text" color="%text_color%"> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 571 | <font resource="mediumfont" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 572 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 573 | <text>%tw_zip_location%</text> |
| 574 | </object> |
| 575 | |
| 576 | <object type="text" color="%text_color%"> |
| 577 | <font resource="font" /> |
| 578 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 579 | <text>File to flash:</text> |
| 580 | </object> |
| 581 | |
| 582 | <object type="text" color="%text_color%"> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 583 | <font resource="mediumfont" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 584 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 585 | <text>%tw_file%</text> |
| 586 | </object> |
| 587 | |
| 588 | <object type="text" color="%text_color%"> |
| 589 | <font resource="font" /> |
| 590 | <placement x="%center_x%" y="%row7_text_y%" placement="5" /> |
| 591 | <text>Press back to cancel adding this zip.</text> |
| 592 | </object> |
| 593 | |
| 594 | <object type="checkbox"> |
| 595 | <placement x="%col1_x%" y="%row8_text_y%" /> |
| 596 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 597 | <text>Zip file signature verification.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 598 | <data variable="tw_signed_zip_verify" /> |
| 599 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 600 | </object> |
| 601 | |
| 602 | <object type="checkbox"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 603 | <condition var1="tw_has_injecttwrp" var2="1" /> |
| 604 | <placement x="%col1_x%" y="%row10_text_y%" /> |
| 605 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 606 | <text>Inject TWRP after install.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 607 | <data variable="tw_inject_after_zip" /> |
| 608 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 609 | </object> |
| 610 | |
| 611 | <object type="text" color="%text_color%"> |
| 612 | <font resource="font" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 613 | <placement x="%center_x%" y="%row11_text_y%" placement="5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 614 | <text>File %tw_zip_queue_count% of max of 10</text> |
| 615 | </object> |
| 616 | |
| 617 | <object type="slider"> |
| 618 | <placement x="%slider_x%" y="%slider_y%" placement="5" /> |
| 619 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 620 | <action function="flash">flash_zip</action> |
| 621 | </object> |
| 622 | |
| 623 | <object type="text" color="%text_color%"> |
| 624 | <font resource="font" /> |
| 625 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 626 | <text>Swipe to Confirm Flash</text> |
| 627 | </object> |
| 628 | |
| 629 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 630 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 631 | <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> |
| 632 | <placement x="%col1_x%" y="%row_queue_y%" /> |
| 633 | <font resource="font" color="%button_text_color%" /> |
| 634 | <text>Add More Zips</text> |
| 635 | <image resource="main_button" /> |
| 636 | <action function="page">install</action> |
| 637 | </object> |
| 638 | |
| 639 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 640 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 641 | <placement x="%col2_x%" y="%row_queue_y%" /> |
| 642 | <font resource="font" color="%button_text_color%" /> |
| 643 | <text>Clear Zip Queue</text> |
| 644 | <image resource="main_button" /> |
| 645 | <actions> |
| 646 | <action function="queueclear"></action> |
| 647 | <action function="page">install</action> |
| 648 | </actions> |
| 649 | </object> |
| 650 | |
| 651 | <object type="action"> |
| 652 | <touch key="back" /> |
| 653 | <actions> |
| 654 | <action function="cancelzip"></action> |
| 655 | <action function="page">install</action> |
| 656 | </actions> |
| 657 | </object> |
| 658 | |
| 659 | <object type="action"> |
| 660 | <touch key="home" /> |
| 661 | <action function="page">main</action> |
| 662 | </object> |
| 663 | |
| 664 | <object type="template" name="footer" /> |
| 665 | </page> |
| 666 | |
| 667 | <page name="flash_zip"> |
| 668 | <object type="template" name="header" /> |
| 669 | |
| 670 | <object type="console"> |
| 671 | <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" /> |
| 672 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 673 | <font resource="fixed" /> |
| 674 | </object> |
| 675 | |
| 676 | <object type="text" color="%text_color%"> |
| 677 | <font resource="font" /> |
| 678 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 679 | <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> |
| 680 | </object> |
| 681 | |
| 682 | <object type="text" color="%text_color%"> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 683 | <font resource="mediumfont" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 684 | <placement x="%center_x%" y="%row18_text_y%" placement="5" /> |
| 685 | <text>%tw_filename%</text> |
| 686 | </object> |
| 687 | |
| 688 | <object type="template" name="progress_bar" /> |
| 689 | |
| 690 | <object type="action"> |
| 691 | <condition var1="tw_operation_state" var2="1" /> |
| 692 | <action function="page">flash_done</action> |
| 693 | </object> |
| 694 | </page> |
| 695 | |
| 696 | <page name="flash_done"> |
| 697 | <object type="template" name="header" /> |
| 698 | |
| 699 | <object type="text" color="%text_color%"> |
| 700 | <font resource="font" /> |
| 701 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 702 | <text>Zip Install Complete</text> |
| 703 | </object> |
| 704 | |
| 705 | <object type="console"> |
| 706 | <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" /> |
| 707 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 708 | <font resource="fixed" /> |
| 709 | </object> |
| 710 | |
| 711 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 712 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 713 | <placement x="%col1_x%" y="%row4_y%" /> |
| 714 | <font resource="font" color="%button_text_color%" /> |
| 715 | <text>Wipe cache/dalvik</text> |
| 716 | <image resource="main_button" /> |
| 717 | <actions> |
| 718 | <action function="set">tw_back=flash_done</action> |
| 719 | <action function="set">tw_action=wipe</action> |
| 720 | <action function="set">tw_action_param=/cache</action> |
| 721 | <action function="set">tw_has_action2=1</action> |
| 722 | <action function="set">tw_action2=wipe</action> |
| 723 | <action function="set">tw_action2_param=dalvik</action> |
| 724 | <action function="set">tw_text1=Wipe Cache & Dalvik?</action> |
| 725 | <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> |
| 726 | <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> |
| 727 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 728 | <action function="page">confirm_action</action> |
| 729 | </actions> |
| 730 | </object> |
| 731 | |
| 732 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 733 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 734 | <placement x="%col2_x%" y="%row4_y%" /> |
| 735 | <font resource="font" color="%button_text_color%" /> |
| 736 | <text>Reboot System</text> |
| 737 | <image resource="main_button" /> |
| 738 | <actions> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 739 | <action function="set">tw_back=main2</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 740 | <action function="set">tw_action=reboot</action> |
| 741 | <action function="set">tw_action_param=system</action> |
| 742 | <action function="set">tw_has_action2=0</action> |
| 743 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 744 | <action function="set">tw_text2=sure you wish to reboot?</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 745 | <action function="set">tw_text3=</action> |
| 746 | <action function="set">tw_text4=</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 747 | <action function="set">tw_action_text1=Rebooting...</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 748 | <action function="set">tw_action_text2=</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 749 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 750 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 751 | <action function="page">rebootcheck</action> |
| 752 | </actions> |
| 753 | </object> |
| 754 | |
| 755 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 756 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 757 | <placement x="%col_center_x%" y="%row3_y%" /> |
| 758 | <font resource="font" color="%button_text_color%" /> |
| 759 | <text>Home</text> |
| 760 | <image resource="main_button" /> |
| 761 | <actions> |
| 762 | <action function="set">tw_clear_destination=main2</action> |
| 763 | <action function="page">clear_vars</action> |
| 764 | </actions> |
| 765 | </object> |
| 766 | |
| 767 | <object type="text" color="%text_fail_color%"> |
| 768 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 769 | <font resource="font" /> |
| 770 | <placement x="%center_x%" y="%zip_status_y%" placement="5" /> |
| 771 | <text>Failed</text> |
| 772 | </object> |
| 773 | |
| 774 | <object type="text" color="%text_success_color%"> |
| 775 | <condition var1="tw_operation_status" var2="0" /> |
| 776 | <font resource="font" /> |
| 777 | <placement x="%center_x%" y="%zip_status_y%" placement="5" /> |
| 778 | <text>Successful</text> |
| 779 | </object> |
| 780 | |
| 781 | <object type="action"> |
| 782 | <touch key="back" /> |
| 783 | <actions> |
| 784 | <action function="set">tw_clear_destination=install</action> |
| 785 | <action function="page">clear_vars</action> |
| 786 | </actions> |
| 787 | </object> |
| 788 | |
| 789 | <object type="action"> |
| 790 | <touch key="home" /> |
| 791 | <actions> |
| 792 | <action function="set">tw_clear_destination=main2</action> |
| 793 | <action function="page">clear_vars</action> |
| 794 | </actions> |
| 795 | </object> |
| 796 | </page> |
| 797 | |
| 798 | <page name="clear_vars"> |
| 799 | <object type="action"> |
| 800 | <action function="set">tw_operation_state=0</action> |
| 801 | <action function="set">tw_text1=</action> |
| 802 | <action function="set">tw_text2=</action> |
| 803 | <action function="set">tw_text3=</action> |
| 804 | <action function="set">tw_text4=</action> |
| 805 | <action function="set">tw_action_text1=</action> |
| 806 | <action function="set">tw_action_text2=</action> |
| 807 | <action function="set">tw_action_param=</action> |
| 808 | <action function="set">tw_has_action2=0</action> |
| 809 | <action function="set">tw_action2=</action> |
| 810 | <action function="set">tw_action2_param=</action> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 811 | <action function="set">tw_has_cancel=0</action> |
| 812 | <action function="set">tw_cancel_action=</action> |
| 813 | <action function="set">tw_cancel_param=</action> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 814 | <action function="set">tw_show_exclamation=0</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 815 | <action function="set">tw_show_reboot=0</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 816 | <action function="page">%tw_clear_destination%</action> |
| 817 | </object> |
| 818 | </page> |
| 819 | |
| 820 | <page name="confirm_action"> |
| 821 | <object type="template" name="header" /> |
| 822 | |
| 823 | <object type="text" color="%text_color%"> |
| 824 | <font resource="font" /> |
| 825 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 826 | <text>%tw_text1%</text> |
| 827 | </object> |
| 828 | |
| 829 | <object type="text" color="%text_color%"> |
| 830 | <font resource="font" /> |
| 831 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 832 | <text>%tw_text2%</text> |
| 833 | </object> |
| 834 | |
| 835 | <object type="text" color="%text_color%"> |
| 836 | <font resource="font" /> |
| 837 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 838 | <text>%tw_text3%</text> |
| 839 | </object> |
| 840 | |
| 841 | <object type="text" color="%text_color%"> |
| 842 | <font resource="font" /> |
| 843 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 844 | <text>%tw_text4%</text> |
| 845 | </object> |
| 846 | |
| 847 | <object type="text" color="%text_color%"> |
| 848 | <font resource="font" /> |
Dees_Troy | ce2fe77 | 2012-09-28 12:34:33 -0400 | [diff] [blame] | 849 | <placement x="%center_x%" y="%row15_text_y%" placement="5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 850 | <text>Press back button to cancel.</text> |
| 851 | </object> |
| 852 | |
| 853 | <object type="slider"> |
| 854 | <placement x="%slider_x%" y="%slider_y%" /> |
| 855 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 856 | <action function="page">action_page</action> |
| 857 | </object> |
| 858 | |
| 859 | <object type="text" color="%text_color%"> |
| 860 | <font resource="font" /> |
| 861 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 862 | <text>%tw_slider_text%</text> |
| 863 | </object> |
| 864 | |
| 865 | <object type="action"> |
| 866 | <touch key="back" /> |
| 867 | <actions> |
| 868 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 869 | <action function="page">clear_vars</action> |
| 870 | </actions> |
| 871 | </object> |
| 872 | |
| 873 | <object type="action"> |
| 874 | <touch key="home" /> |
| 875 | <action function="page">main</action> |
| 876 | </object> |
| 877 | |
| 878 | <object type="template" name="footer" /> |
| 879 | </page> |
| 880 | |
| 881 | <page name="action_page"> |
| 882 | <object type="template" name="header" /> |
| 883 | |
| 884 | <object type="text" color="%text_color%"> |
| 885 | <font resource="font" /> |
| 886 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 887 | <text>%tw_action_text1%</text> |
| 888 | </object> |
| 889 | |
| 890 | <object type="text" color="%text_color%"> |
| 891 | <font resource="font" /> |
| 892 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 893 | <text>%tw_action_text2%</text> |
| 894 | </object> |
| 895 | |
| 896 | <object type="template" name="action_page_console" /> |
| 897 | |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 898 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 899 | <highlight color="%highlight_color%" /> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 900 | <condition var1="tw_has_cancel" var2="1" /> |
| 901 | <placement x="%col_center_medium_x%" y="%row4_y%" /> |
| 902 | <font resource="font" color="%button_text_color%" /> |
| 903 | <text>Cancel</text> |
| 904 | <image resource="medium_button" /> |
| 905 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 906 | </object> |
| 907 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 908 | <object type="template" name="progress_bar" /> |
| 909 | |
| 910 | <object type="action"> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 911 | <condition var1="tw_operation_state" var2="1" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 912 | <actions> |
| 913 | <action function="page">action_complete</action> |
| 914 | </actions> |
| 915 | </object> |
| 916 | |
| 917 | <object type="action"> |
| 918 | <condition var1="tw_has_action2" var2="0" /> |
| 919 | <actions> |
| 920 | <action function="%tw_action%">%tw_action_param%</action> |
| 921 | </actions> |
| 922 | </object> |
| 923 | |
| 924 | <object type="action"> |
| 925 | <condition var1="tw_has_action2" var2="1" /> |
| 926 | <actions> |
| 927 | <action function="%tw_action%">%tw_action_param%</action> |
| 928 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 929 | </actions> |
| 930 | </object> |
| 931 | </page> |
| 932 | |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 933 | <page name="singleaction_page"> |
| 934 | <object type="template" name="header" /> |
| 935 | |
| 936 | <object type="text" color="%text_color%"> |
| 937 | <font resource="font" /> |
| 938 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 939 | <text>%tw_action_text1%</text> |
| 940 | </object> |
| 941 | |
| 942 | <object type="text" color="%text_color%"> |
| 943 | <font resource="font" /> |
| 944 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 945 | <text>%tw_action_text2%</text> |
| 946 | </object> |
| 947 | |
| 948 | <object type="template" name="action_page_console" /> |
| 949 | |
| 950 | <object type="template" name="progress_bar" /> |
| 951 | |
| 952 | <object type="action"> |
| 953 | <condition var1="tw_operation_state" var2="1" /> |
| 954 | <actions> |
| 955 | <action function="set">tw_page_done=1</action> |
| 956 | </actions> |
| 957 | </object> |
| 958 | |
| 959 | <object type="action"> |
| 960 | <condition var1="tw_has_action2" var2="0" /> |
| 961 | <actions> |
| 962 | <action function="%tw_action%">%tw_action_param%</action> |
| 963 | </actions> |
| 964 | </object> |
| 965 | |
| 966 | <object type="action"> |
| 967 | <condition var1="tw_has_action2" var2="1" /> |
| 968 | <actions> |
| 969 | <action function="%tw_action%">%tw_action_param%</action> |
| 970 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 971 | </actions> |
| 972 | </object> |
| 973 | </page> |
| 974 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 975 | <page name="action_complete"> |
| 976 | <object type="template" name="header" /> |
| 977 | |
| 978 | <object type="text" color="%text_color%"> |
| 979 | <font resource="font" /> |
| 980 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 981 | <text>%tw_complete_text1%</text> |
| 982 | </object> |
| 983 | |
| 984 | <object type="text" color="%text_fail_color%"> |
| 985 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 986 | <font resource="font" /> |
| 987 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 988 | <text>Failed</text> |
| 989 | </object> |
| 990 | |
| 991 | <object type="text" color="%text_success_color%"> |
| 992 | <condition var1="tw_operation_status" var2="0" /> |
| 993 | <font resource="font" /> |
| 994 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 995 | <text>Successful</text> |
| 996 | </object> |
| 997 | |
| 998 | <object type="template" name="action_page_console" /> |
| 999 | |
| 1000 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1001 | <highlight color="%highlight_color%" /> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 1002 | <condition var1="tw_show_reboot" var2="0" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1003 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 1004 | <font resource="font" color="%button_text_color%" /> |
| 1005 | <text>Back</text> |
| 1006 | <image resource="main_button" /> |
| 1007 | <actions> |
| 1008 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1009 | <action function="page">clear_vars</action> |
| 1010 | </actions> |
| 1011 | </object> |
| 1012 | |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 1013 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1014 | <highlight color="%highlight_color%" /> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 1015 | <condition var1="tw_show_reboot" var2="1" /> |
| 1016 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 1017 | <font resource="font" color="%button_text_color%" /> |
| 1018 | <text>Reboot System</text> |
| 1019 | <image resource="main_button" /> |
| 1020 | <actions> |
| 1021 | <action function="set">tw_back=main2</action> |
| 1022 | <action function="set">tw_action=reboot</action> |
| 1023 | <action function="set">tw_action_param=system</action> |
| 1024 | <action function="set">tw_has_action2=0</action> |
| 1025 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1026 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1027 | <action function="set">tw_text3=</action> |
| 1028 | <action function="set">tw_text4=</action> |
| 1029 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1030 | <action function="set">tw_action_text2=</action> |
| 1031 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1032 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1033 | <action function="page">rebootcheck</action> |
| 1034 | </actions> |
| 1035 | </object> |
| 1036 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1037 | <object type="action"> |
| 1038 | <touch key="home" /> |
| 1039 | <actions> |
| 1040 | <action function="set">tw_clear_destination=main2</action> |
| 1041 | <action function="page">clear_vars</action> |
| 1042 | </actions> |
| 1043 | </object> |
| 1044 | |
| 1045 | <object type="action"> |
| 1046 | <touch key="back" /> |
| 1047 | <actions> |
| 1048 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1049 | <action function="page">clear_vars</action> |
| 1050 | </actions> |
| 1051 | </object> |
| 1052 | </page> |
| 1053 | |
| 1054 | <page name="filecheck"> |
| 1055 | <object type="action"> |
| 1056 | <action function="fileexists">%tw_filecheck%</action> |
| 1057 | </object> |
| 1058 | |
| 1059 | <object type="action"> |
| 1060 | <conditions> |
| 1061 | <condition var1="tw_operation_state" var2="1" /> |
| 1062 | <condition var1="tw_operation_status" var2="0" /> |
| 1063 | </conditions> |
| 1064 | <actions> |
| 1065 | <action function="set">tw_fileexists=1</action> |
| 1066 | <action function="page">%tw_existpage%</action> |
| 1067 | </actions> |
| 1068 | </object> |
| 1069 | |
| 1070 | <object type="action"> |
| 1071 | <conditions> |
| 1072 | <condition var1="tw_operation_state" var2="1" /> |
| 1073 | <condition var1="tw_operation_status" var2="1" /> |
| 1074 | </conditions> |
| 1075 | <actions> |
| 1076 | <action function="set">tw_fileexists=0</action> |
| 1077 | <action function="page">%tw_notexistpage%</action> |
| 1078 | </actions> |
| 1079 | </object> |
| 1080 | </page> |
| 1081 | |
| 1082 | <page name="rebootcheck"> |
| 1083 | <object type="action"> |
| 1084 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> |
| 1085 | <action function="reboot">%tw_action_param%</action> |
| 1086 | </object> |
| 1087 | |
| 1088 | <object type="action"> |
| 1089 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> |
| 1090 | <action function="page">confirm_action</action> |
| 1091 | </object> |
| 1092 | </page> |
| 1093 | |
| 1094 | <page name="wipe"> |
| 1095 | <object type="template" name="header" /> |
| 1096 | |
| 1097 | <object type="text" color="%text_color%"> |
| 1098 | <font resource="font" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1099 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1100 | <text>Factory Reset</text> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1101 | </object> |
| 1102 | |
| 1103 | <object type="text" color="%text_color%"> |
| 1104 | <font resource="font" /> |
| 1105 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1106 | <text>Wipes Data, Cache, and Dalvik</text> |
| 1107 | </object> |
| 1108 | |
| 1109 | <object type="text" color="%text_color%"> |
| 1110 | <condition var1="tw_has_data_media" var2="0" /> |
| 1111 | <font resource="font" /> |
| 1112 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1113 | <text>.android_secure</text> |
| 1114 | </object> |
| 1115 | |
| 1116 | <object type="text" color="%text_color%"> |
| 1117 | <condition var1="tw_has_data_media" var2="1" /> |
| 1118 | <font resource="font" /> |
| 1119 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1120 | <text>(not including internal storage)</text> |
| 1121 | </object> |
| 1122 | |
| 1123 | <object type="text" color="%text_color%"> |
| 1124 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1125 | <font resource="font" /> |
| 1126 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1127 | <text>SD-EXT</text> |
| 1128 | </object> |
| 1129 | |
| 1130 | <object type="text" color="%text_color%"> |
| 1131 | <font resource="font" /> |
| 1132 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 1133 | <text>Most of the time this is</text> |
| 1134 | </object> |
| 1135 | |
| 1136 | <object type="text" color="%text_color%"> |
| 1137 | <font resource="font" /> |
| 1138 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 1139 | <text>the only wipe that you need.</text> |
| 1140 | </object> |
| 1141 | |
| 1142 | <object type="text" color="%text_color%"> |
| 1143 | <font resource="font" /> |
| 1144 | <placement x="%center_x%" y="%row16_text_y%" placement="5" /> |
| 1145 | <text>Press back button to cancel.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1146 | </object> |
| 1147 | |
| 1148 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1149 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1150 | <placement x="%col1_x%" y="%wipe_button_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1151 | <font resource="font" color="%button_text_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1152 | <text>Advanced Wipe</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1153 | <image resource="main_button" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1154 | <action function="page">advancedwipe</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1155 | </object> |
| 1156 | |
| 1157 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1158 | <conditions> |
| 1159 | <condition var1="tw_has_internal" var2="1" /> |
| 1160 | <condition var1="tw_has_data_media" var2="1" /> |
| 1161 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1162 | <highlight color="%highlight_color%" /> |
| 1163 | <placement x="%col2_x%" y="%wipe_button_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1164 | <font resource="font" color="%button_text_color%" /> |
| 1165 | <text>Format Data</text> |
| 1166 | <image resource="main_button" /> |
| 1167 | <actions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1168 | <action function="page">formatdata</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1169 | </actions> |
| 1170 | </object> |
| 1171 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1172 | <object type="slider"> |
| 1173 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1174 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
Dees_Troy | 2ff5a8d | 2012-09-26 14:53:02 -0400 | [diff] [blame] | 1175 | <actions> |
| 1176 | <action function="set">tw_back=wipe</action> |
| 1177 | <action function="set">tw_action=wipe</action> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1178 | <action function="set">tw_action_param=data</action> |
| 1179 | <action function="set">tw_action_text1=Factory Reset...</action> |
| 1180 | <action function="set">tw_complete_text1=Factory Reset Complete</action> |
| 1181 | <action function="page">action_page</action> |
Dees_Troy | 2ff5a8d | 2012-09-26 14:53:02 -0400 | [diff] [blame] | 1182 | </actions> |
| 1183 | </object> |
| 1184 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1185 | <object type="text" color="%text_color%"> |
| 1186 | <font resource="font" /> |
| 1187 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1188 | <text>Swipe to Factory Reset</text> |
| 1189 | </object> |
| 1190 | |
| 1191 | <object type="action"> |
| 1192 | <touch key="back" /> |
| 1193 | <action function="page">main</action> |
| 1194 | </object> |
| 1195 | |
| 1196 | <object type="action"> |
| 1197 | <touch key="home" /> |
| 1198 | <action function="page">main</action> |
| 1199 | </object> |
| 1200 | |
| 1201 | <object type="template" name="footer" /> |
| 1202 | </page> |
| 1203 | |
| 1204 | <page name="advancedwipe"> |
| 1205 | <object type="template" name="header" /> |
| 1206 | |
| 1207 | <object type="text" color="%text_color%"> |
| 1208 | <font resource="font" /> |
| 1209 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1210 | <text>Wipe Menu</text> |
| 1211 | </object> |
| 1212 | |
| 1213 | <object type="partitionlist"> |
| 1214 | <highlight color="%fileselector_highlight_color%" /> |
| 1215 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" /> |
| 1216 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1217 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1218 | <text>Select Partitions to Wipe:</text> |
| 1219 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1220 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1221 | <background color="%listbox_background%" /> |
| 1222 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1223 | <data name="tw_wipe_list" /> |
| 1224 | <listtype name="wipe" /> |
| 1225 | </object> |
| 1226 | |
| 1227 | <object type="slider"> |
| 1228 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1229 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1230 | <actions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1231 | <action function="set">tw_back=advancedwipe</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1232 | <action function="set">tw_action=wipe</action> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1233 | <action function="set">tw_action_param=LIST</action> |
| 1234 | <action function="set">tw_text1=Wipe Selected Partition(s)?</action> |
| 1235 | <action function="set">tw_action_text1=Wiping Partition(s)...</action> |
| 1236 | <action function="set">tw_complete_text1=Wipe Complete</action> |
| 1237 | <action function="page">action_page</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1238 | </actions> |
| 1239 | </object> |
| 1240 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1241 | <object type="text" color="%text_color%"> |
| 1242 | <font resource="font" /> |
| 1243 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1244 | <text>Swipe to Wipe</text> |
| 1245 | </object> |
| 1246 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1247 | <object type="action"> |
| 1248 | <touch key="home" /> |
| 1249 | <action function="page">main</action> |
| 1250 | </object> |
| 1251 | |
| 1252 | <object type="action"> |
| 1253 | <touch key="back" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1254 | <action function="page">wipe</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1255 | </object> |
| 1256 | |
| 1257 | <object type="template" name="footer" /> |
| 1258 | </page> |
| 1259 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1260 | <page name="formatdata"> |
| 1261 | <object type="template" name="header" /> |
| 1262 | |
| 1263 | <object type="text" color="%text_color%"> |
| 1264 | <font resource="font" /> |
| 1265 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1266 | <text>Format Data will wipe all of your apps,</text> |
| 1267 | </object> |
| 1268 | |
| 1269 | <object type="text" color="%text_color%"> |
| 1270 | <font resource="font" /> |
| 1271 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1272 | <text>backups, pictures, videos, media, and</text> |
| 1273 | </object> |
| 1274 | |
| 1275 | <object type="text" color="%text_color%"> |
| 1276 | <font resource="font" /> |
| 1277 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1278 | <text>removes encryption on internal storage.</text> |
| 1279 | </object> |
| 1280 | |
| 1281 | <object type="text" color="%text_color%"> |
| 1282 | <font resource="font" /> |
| 1283 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1284 | <text>This cannot be undone. Press back to cancel.</text> |
| 1285 | </object> |
| 1286 | |
| 1287 | <object type="text" color="%text_color%"> |
| 1288 | <font resource="font" /> |
| 1289 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1290 | <text>Type yes to continue.</text> |
| 1291 | </object> |
| 1292 | |
| 1293 | <object type="input"> |
| 1294 | <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1295 | <background color="%input_background_color%" /> |
| 1296 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1297 | <font resource="font" color="%text_color%" /> |
| 1298 | <text>%tw_confirm_formatdata%</text> |
| 1299 | <data name="tw_confirm_formatdata" /> |
| 1300 | <restrict minlen="3" maxlen="3" allow="yes" /> |
| 1301 | <action function="page">formatdata_confirm</action> |
| 1302 | </object> |
| 1303 | |
| 1304 | <object type="template" name="keyboardtemplate" /> |
| 1305 | |
| 1306 | <object type="action"> |
| 1307 | <touch key="home" /> |
| 1308 | <action function="page">main</action> |
| 1309 | </object> |
| 1310 | |
| 1311 | <object type="action"> |
| 1312 | <touch key="back" /> |
| 1313 | <action function="page">wipe</action> |
| 1314 | </object> |
| 1315 | |
| 1316 | <object type="template" name="footer" /> |
| 1317 | </page> |
| 1318 | |
| 1319 | <page name="formatdata_confirm"> |
| 1320 | <object type="action"> |
| 1321 | <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> |
| 1322 | <actions> |
| 1323 | <action function="set">tw_back=formatdata</action> |
| 1324 | <action function="set">tw_action=wipe</action> |
| 1325 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1326 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 1327 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 1328 | <action function="page">action_page</action> |
| 1329 | </actions> |
| 1330 | </object> |
| 1331 | |
| 1332 | <object type="action"> |
| 1333 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> |
| 1334 | <action function="page">formatdata</function> |
| 1335 | </object> |
| 1336 | </page> |
| 1337 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1338 | <page name="backup"> |
| 1339 | <object type="template" name="header" /> |
| 1340 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1341 | <object type="button"> |
| 1342 | <highlight color="%highlight_color%" /> |
| 1343 | <fill color="%button_fill_color%" /> |
| 1344 | <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 1345 | <font resource="font" color="%button_text_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1346 | <text>Backup Name: %tw_backup_name%</text> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1347 | <actions> |
| 1348 | <action function="set">tw_fileexists=0</action> |
| 1349 | <action function="page">backupname1</action> |
| 1350 | </actions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1351 | </object> |
| 1352 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1353 | <object type="partitionlist"> |
| 1354 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1355 | <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1356 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1357 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1358 | <text>Select Partitions to Back Up:</text> |
| 1359 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1360 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1361 | <background color="%listbox_background%" /> |
| 1362 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1363 | <data name="tw_backup_list" /> |
| 1364 | <listtype name="backup" /> |
| 1365 | </object> |
| 1366 | |
| 1367 | <object type="button"> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1368 | <conditions> |
| 1369 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 1370 | <condition var1="tw_encrypt_backup" var2="0" /> |
| 1371 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1372 | <highlight color="%highlight_color%" /> |
| 1373 | <fill color="%button_fill_color%" /> |
| 1374 | <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
| 1375 | <font resource="font" color="%button_text_color%" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1376 | <text>No Encryption</text> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1377 | <actions> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1378 | <action function="page">backupencryption</action> |
| 1379 | </actions> |
| 1380 | </object> |
| 1381 | |
| 1382 | <object type="button"> |
| 1383 | <conditions> |
| 1384 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 1385 | <condition var1="tw_encrypt_backup" var2="1" /> |
| 1386 | </conditions> |
| 1387 | <highlight color="%highlight_color%" /> |
| 1388 | <fill color="%button_fill_color%" /> |
| 1389 | <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
| 1390 | <font resource="font" color="%button_text_color%" /> |
| 1391 | <text>Using Encryption</text> |
| 1392 | <actions> |
| 1393 | <action function="set">tw_password_not_match=0</action> |
| 1394 | <action function="page">backupencryption</action> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1395 | </actions> |
| 1396 | </object> |
| 1397 | |
| 1398 | <object type="button"> |
| 1399 | <highlight color="%highlight_color%" /> |
| 1400 | <fill color="%button_fill_color%" /> |
| 1401 | <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
| 1402 | <font resource="font" color="%button_text_color%" /> |
| 1403 | <text>Refresh Sizes</text> |
| 1404 | <action function="refreshsizes"></action> |
| 1405 | </object> |
| 1406 | |
| 1407 | <object type="button"> |
| 1408 | <highlight color="%highlight_color%" /> |
| 1409 | <fill color="%button_fill_color%" /> |
| 1410 | <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 1411 | <font resource="font" color="%button_text_color%" /> |
| 1412 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1413 | <actions> |
| 1414 | <action function="set">tw_back=backup</action> |
| 1415 | <action function="page">selectstorage</action> |
| 1416 | </actions> |
| 1417 | </object> |
| 1418 | |
| 1419 | <object type="checkbox"> |
| 1420 | <placement x="%col1_x%" y="%row15_text_y%" /> |
| 1421 | <font resource="font" color="%text_color%" /> |
| 1422 | <text>Enable compression.</text> |
| 1423 | <data variable="tw_use_compression" /> |
| 1424 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1425 | </object> |
| 1426 | |
| 1427 | <object type="checkbox"> |
| 1428 | <placement x="%col1_x%" y="%row16_text_y%" /> |
| 1429 | <font resource="font" color="%text_color%" /> |
| 1430 | <text>Skip MD5 generation during backup.</text> |
| 1431 | <data variable="tw_skip_md5_generate" /> |
| 1432 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1433 | </object> |
| 1434 | |
| 1435 | <object type="slider"> |
| 1436 | <placement x="%slider_x%" y="slider_y" /> |
| 1437 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1438 | <action function="page">backup_run</action> |
| 1439 | </object> |
| 1440 | |
| 1441 | <object type="text" color="%text_color%"> |
| 1442 | <font resource="font" /> |
| 1443 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1444 | <text>Swipe to Back Up</text> |
| 1445 | </object> |
| 1446 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1447 | <object type="action"> |
| 1448 | <touch key="home" /> |
| 1449 | <action function="page">main</action> |
| 1450 | </object> |
| 1451 | |
| 1452 | <object type="action"> |
| 1453 | <touch key="back" /> |
| 1454 | <action function="page">main</action> |
| 1455 | </object> |
| 1456 | |
| 1457 | <object type="template" name="footer" /> |
| 1458 | </page> |
| 1459 | |
| 1460 | <page name="backupname1"> |
| 1461 | <object type="action"> |
| 1462 | <condition var1="tw_backup_name" op="=" var2="(Current Date)" /> |
| 1463 | <action function="set">tw_backup_name=</function> |
| 1464 | </object> |
| 1465 | |
| 1466 | <object type="action"> |
| 1467 | <action function="page">backupname2</function> |
| 1468 | </object> |
| 1469 | </page> |
| 1470 | |
| 1471 | <page name="backupname2"> |
| 1472 | <object type="template" name="header" /> |
| 1473 | |
| 1474 | <object type="text" color="%text_color%"> |
| 1475 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1476 | <font resource="font" /> |
| 1477 | <text>Please Enter a Backup Name</text> |
| 1478 | </object> |
| 1479 | |
| 1480 | <object type="input"> |
| 1481 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1482 | <background color="%input_background_color%" /> |
| 1483 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1484 | <font resource="font" color="%text_color%" /> |
| 1485 | <text>%tw_backup_name%</text> |
| 1486 | <data name="tw_backup_name" /> |
Dees_Troy | b9d1c6d | 2012-09-26 10:07:14 -0400 | [diff] [blame] | 1487 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1488 | <actions> |
| 1489 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 1490 | <action function="set">tw_existpage=backupname2</action> |
| 1491 | <action function="set">tw_notexistpage=backup</action> |
| 1492 | <action function="page">filecheck</action> |
| 1493 | </actions> |
| 1494 | </object> |
| 1495 | |
| 1496 | <object type="text" color="%text_fail_color%"> |
| 1497 | <condition var1="tw_fileexists" var2="1" /> |
| 1498 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 1499 | <font resource="font" /> |
| 1500 | <text>A backup with that name already exists!</text> |
| 1501 | </object> |
| 1502 | |
| 1503 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1504 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1505 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 1506 | <font resource="font" color="%button_text_color%" /> |
| 1507 | <text>Cancel</text> |
| 1508 | <image resource="main_button" /> |
| 1509 | <actions> |
| 1510 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1511 | <action function="page">backup</action> |
| 1512 | </actions> |
| 1513 | </object> |
| 1514 | |
| 1515 | <object type="template" name="keyboardtemplate" /> |
| 1516 | |
| 1517 | <object type="action"> |
| 1518 | <touch key="home" /> |
| 1519 | <actions> |
| 1520 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1521 | <action function="page">main</action> |
| 1522 | </actions> |
| 1523 | </object> |
| 1524 | |
| 1525 | <object type="action"> |
| 1526 | <touch key="back" /> |
| 1527 | <actions> |
| 1528 | <action function="set">tw_backup_name=(Current Date)</action> |
| 1529 | <action function="page">backup</action> |
| 1530 | </actions> |
| 1531 | </object> |
| 1532 | |
| 1533 | <object type="template" name="footer" /> |
| 1534 | </page> |
| 1535 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1536 | <page name="backupencryption"> |
| 1537 | <object type="template" name="header" /> |
| 1538 | |
| 1539 | <object type="text" color="%text_color%"> |
| 1540 | <font resource="font" /> |
| 1541 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1542 | <text>Encrypt your backup?</text> |
| 1543 | </object> |
| 1544 | |
| 1545 | <object type="text" color="%text_color%"> |
| 1546 | <font resource="font" /> |
| 1547 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1548 | <text>Please Enter A Password:</text> |
| 1549 | </object> |
| 1550 | |
| 1551 | <object type="input"> |
| 1552 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1553 | <background color="%input_background_color%" /> |
| 1554 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1555 | <font resource="font" color="%text_color%" /> |
| 1556 | <text>%tw_backup_encrypt_display%</text> |
| 1557 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> |
| 1558 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1559 | <action function="page">backupencryption2</action> |
| 1560 | </object> |
| 1561 | |
| 1562 | <object type="text" color="%text_fail_color%"> |
| 1563 | <condition var1="tw_password_not_match" var2="1" /> |
| 1564 | <font resource="font" /> |
| 1565 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1566 | <text>Passwords Do Not Match</text> |
| 1567 | </object> |
| 1568 | |
| 1569 | <object type="button"> |
| 1570 | <highlight color="%highlight_color%" /> |
| 1571 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 1572 | <font resource="font" color="%button_text_color%" /> |
| 1573 | <text>Cancel</text> |
| 1574 | <image resource="main_button" /> |
| 1575 | <actions> |
| 1576 | <action function="set">tw_encrypt_backup=0</action> |
| 1577 | <action function="set">tw_backup_password=</action> |
| 1578 | <action function="set">tw_backup_password2=</action> |
| 1579 | <action function="set">tw_backup_encrypt_display=</action> |
| 1580 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1581 | <action function="page">backup</action> |
| 1582 | </actions> |
| 1583 | </object> |
| 1584 | |
| 1585 | <object type="template" name="keyboardtemplate" /> |
| 1586 | |
| 1587 | <object type="action"> |
| 1588 | <touch key="home" /> |
| 1589 | <action function="page">main</action> |
| 1590 | </object> |
| 1591 | |
| 1592 | <object type="action"> |
| 1593 | <touch key="back" /> |
| 1594 | <action function="page">backup</action> |
| 1595 | </object> |
| 1596 | |
| 1597 | <object type="template" name="footer" /> |
| 1598 | </page> |
| 1599 | |
| 1600 | <page name="backupencryption2"> |
| 1601 | <object type="template" name="header" /> |
| 1602 | |
| 1603 | <object type="text" color="%text_color%"> |
| 1604 | <font resource="font" /> |
| 1605 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1606 | <text>Encrypt your backup?</text> |
| 1607 | </object> |
| 1608 | |
| 1609 | <object type="text" color="%text_color%"> |
| 1610 | <font resource="font" /> |
| 1611 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1612 | <text>Please Enter Password Again:</text> |
| 1613 | </object> |
| 1614 | |
| 1615 | <object type="input"> |
| 1616 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1617 | <background color="%input_background_color%" /> |
| 1618 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1619 | <font resource="font" color="%text_color%" /> |
| 1620 | <text>%tw_backup_encrypt_display2%</text> |
| 1621 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> |
| 1622 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1623 | <actions> |
| 1624 | <action function="page">checkbackuppassword</action> |
| 1625 | </actions> |
| 1626 | </object> |
| 1627 | |
| 1628 | <object type="button"> |
| 1629 | <highlight color="%highlight_color%" /> |
| 1630 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 1631 | <font resource="font" color="%button_text_color%" /> |
| 1632 | <text>Cancel</text> |
| 1633 | <image resource="main_button" /> |
| 1634 | <actions> |
| 1635 | <action function="set">tw_encrypt_backup=0</action> |
| 1636 | <action function="set">tw_backup_password=</action> |
| 1637 | <action function="set">tw_backup_password2=</action> |
| 1638 | <action function="set">tw_backup_encrypt_display=</action> |
| 1639 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1640 | <action function="page">backup</action> |
| 1641 | </actions> |
| 1642 | </object> |
| 1643 | |
| 1644 | <object type="template" name="keyboardtemplate" /> |
| 1645 | |
| 1646 | <object type="action"> |
| 1647 | <touch key="home" /> |
| 1648 | <action function="page">main</action> |
| 1649 | </object> |
| 1650 | |
| 1651 | <object type="action"> |
| 1652 | <touch key="back" /> |
| 1653 | <action function="page">backup</action> |
| 1654 | </object> |
| 1655 | |
| 1656 | <object type="template" name="footer" /> |
| 1657 | </page> |
| 1658 | |
| 1659 | <page name="checkbackuppassword"> |
| 1660 | <object type="action"> |
| 1661 | <condition var1="tw_backup_password2" var2="tw_backup_password" /> |
| 1662 | <actions> |
| 1663 | <action function="set">tw_encrypt_backup=1</action> |
| 1664 | <action function="page">backup</action> |
| 1665 | </actions> |
| 1666 | </object> |
| 1667 | |
| 1668 | <object type="action"> |
| 1669 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> |
| 1670 | <actions> |
| 1671 | <action function="set">tw_encrypt_backup=0</action> |
| 1672 | <action function="set">tw_password_not_match=1</action> |
| 1673 | <action function="set">tw_backup_password=</action> |
| 1674 | <action function="set">tw_backup_password2=</action> |
| 1675 | <action function="set">tw_backup_encrypt_display=</action> |
| 1676 | <action function="set">tw_backup_encrypt_display2=</action> |
| 1677 | <action function="page">backupencryption</action> |
| 1678 | </actions> |
| 1679 | </object> |
| 1680 | </page> |
| 1681 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1682 | <page name="backup_run"> |
| 1683 | <object type="template" name="header" /> |
| 1684 | |
| 1685 | <object type="text" color="%text_color%"> |
| 1686 | <font resource="font" /> |
| 1687 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1688 | <text>%tw_operation% %tw_partition%</text> |
| 1689 | </object> |
| 1690 | |
| 1691 | <object type="template" name="action_page_console" /> |
| 1692 | |
| 1693 | <object type="template" name="progress_bar" /> |
| 1694 | |
| 1695 | <object type="action"> |
| 1696 | <action function="nandroid">backup</action> |
| 1697 | </object> |
| 1698 | |
| 1699 | <object type="action"> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 1700 | <condition var1="tw_operation_state" var2="1" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1701 | <actions> |
| 1702 | <action function="set">tw_back=backup</action> |
| 1703 | <action function="set">tw_complete_text1=Backup Complete</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 1704 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1705 | <action function="page">action_complete</action> |
| 1706 | </actions> |
| 1707 | </object> |
| 1708 | </page> |
| 1709 | |
| 1710 | <page name="restore"> |
| 1711 | <object type="template" name="header" /> |
| 1712 | |
| 1713 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1714 | <highlight color="%highlight_color%" /> |
| 1715 | <fill color="%button_fill_color%" /> |
| 1716 | <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 1717 | <font resource="font" color="%button_text_color%" /> |
| 1718 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1719 | <actions> |
| 1720 | <action function="set">tw_back=restore</action> |
| 1721 | <action function="page">selectstorage</action> |
| 1722 | </actions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1723 | </object> |
| 1724 | |
| 1725 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 1726 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1727 | <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1728 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 1729 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1730 | <text>Select Package to Restore:</text> |
| 1731 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1732 | <sort name="tw_gui_sort_order" /> |
| 1733 | <icon folder="folder_icon" file="file_icon" /> |
| 1734 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 1735 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1736 | <filter folders="1" files="0" nav="0" /> |
| 1737 | <path name="tw_backups_folder" /> |
| 1738 | <data name="tw_restore" default="" /> |
| 1739 | <selection name="tw_restore_name" /> |
| 1740 | </object> |
| 1741 | |
| 1742 | <object type="template" name="sort_options" /> |
| 1743 | |
| 1744 | <object type="action"> |
| 1745 | <condition var1="tw_restore" op="modified" /> |
| 1746 | <actions> |
| 1747 | <action function="readBackup"></action> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1748 | <action function="page">restore_read</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1749 | </actions> |
| 1750 | </object> |
| 1751 | |
| 1752 | <object type="action"> |
| 1753 | <touch key="home" /> |
| 1754 | <action function="page">main</action> |
| 1755 | </object> |
| 1756 | |
| 1757 | <object type="action"> |
| 1758 | <touch key="back" /> |
| 1759 | <action function="page">main</action> |
| 1760 | </object> |
| 1761 | |
| 1762 | <object type="template" name="footer" /> |
| 1763 | </page> |
| 1764 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1765 | <page name="restore_read"> |
| 1766 | <object type="action"> |
| 1767 | <condition var1="tw_restore_encrypted" var2="1" /> |
| 1768 | <actions> |
| 1769 | <action function="set">tw_password_fail=0</action> |
| 1770 | <action function="page">restore_decrypt</action> |
| 1771 | </actions> |
| 1772 | </object> |
| 1773 | |
| 1774 | <object type="action"> |
| 1775 | <condition var1="tw_restore_encrypted" var2="0" /> |
| 1776 | <actions> |
| 1777 | <action function="page">restore_select</action> |
| 1778 | </actions> |
| 1779 | </object> |
| 1780 | </page> |
| 1781 | |
| 1782 | <page name="restore_decrypt"> |
| 1783 | <object type="template" name="header" /> |
| 1784 | |
| 1785 | <object type="text" color="%text_color%"> |
| 1786 | <font resource="font" /> |
| 1787 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1788 | <text>Backup Encrypted</text> |
| 1789 | </object> |
| 1790 | |
| 1791 | <object type="text" color="%text_color%"> |
| 1792 | <font resource="font" /> |
| 1793 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1794 | <text>Please Enter Your Password:</text> |
| 1795 | </object> |
| 1796 | |
| 1797 | <object type="input"> |
| 1798 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1799 | <background color="%input_background_color%" /> |
| 1800 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1801 | <font resource="font" color="%text_color%" /> |
| 1802 | <text>%tw_restore_display%</text> |
| 1803 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> |
| 1804 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 1805 | <actions> |
| 1806 | <action function="page">try_restore_decrypt</action> |
| 1807 | </actions> |
| 1808 | </object> |
| 1809 | |
| 1810 | <object type="text" color="%text_fail_color%"> |
| 1811 | <condition var1="tw_password_fail" var2="1" /> |
| 1812 | <font resource="font" /> |
| 1813 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1814 | <text>Password Failed, Please Try Again</text> |
| 1815 | </object> |
| 1816 | |
| 1817 | <object type="button"> |
| 1818 | <highlight color="%highlight_color%" /> |
| 1819 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1820 | <font resource="font" color="%button_text_color%" /> |
| 1821 | <text>Cancel</text> |
| 1822 | <image resource="main_button" /> |
| 1823 | <actions> |
| 1824 | <action function="set">tw_page_done=1</action> |
| 1825 | <action function="page">restore</action> |
| 1826 | </actions> |
| 1827 | </object> |
| 1828 | |
| 1829 | <object type="button"> |
| 1830 | <highlight color="%highlight_color%" /> |
| 1831 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1832 | <font resource="font" color="%button_text_color%" /> |
| 1833 | <text>Delete</text> |
| 1834 | <image resource="main_button" /> |
| 1835 | <actions> |
| 1836 | <action function="set">tw_back=restore</action> |
| 1837 | <action function="set">tw_action=cmd</action> |
| 1838 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
| 1839 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 1840 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1841 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 1842 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 1843 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 1844 | <action function="page">confirm_action</action> |
| 1845 | </actions> |
| 1846 | </object> |
| 1847 | |
| 1848 | <object type="template" name="keyboardtemplate" /> |
| 1849 | |
| 1850 | <object type="action"> |
| 1851 | <touch key="home" /> |
| 1852 | <action function="page">main</action> |
| 1853 | </object> |
| 1854 | |
| 1855 | <object type="action"> |
| 1856 | <touch key="back" /> |
| 1857 | <action function="page">restore</action> |
| 1858 | </object> |
| 1859 | |
| 1860 | <object type="template" name="footer" /> |
| 1861 | </page> |
| 1862 | |
| 1863 | <page name="try_restore_decrypt"> |
| 1864 | <object type="template" name="header" /> |
| 1865 | |
| 1866 | <object type="text" color="%text_color%"> |
| 1867 | <font resource="font" /> |
| 1868 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1869 | <text>Trying Decryption with Your Password</text> |
| 1870 | </object> |
| 1871 | |
| 1872 | <object type="template" name="action_page_console" /> |
| 1873 | |
| 1874 | <object type="template" name="progress_bar" /> |
| 1875 | |
| 1876 | <object type="action"> |
| 1877 | <action function="decrypt_backup"></action> |
| 1878 | </object> |
| 1879 | |
| 1880 | <object type="action"> |
| 1881 | <conditions> |
| 1882 | <condition var1="tw_operation_state" var2="1" /> |
| 1883 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 1884 | </conditions> |
| 1885 | <actions> |
| 1886 | <action function="set">tw_password_fail=1</action> |
| 1887 | <action function="page">restore_decrypt</action> |
| 1888 | </actions> |
| 1889 | </object> |
| 1890 | |
| 1891 | <object type="action"> |
| 1892 | <conditions> |
| 1893 | <condition var1="tw_operation_state" var2="1" /> |
| 1894 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 1895 | </conditions> |
| 1896 | <actions> |
| 1897 | <action function="set">tw_page_done=1</action> |
| 1898 | <action function="page">restore_select</action> |
| 1899 | </actions> |
| 1900 | </object> |
| 1901 | </page> |
| 1902 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1903 | <page name="restore_select"> |
| 1904 | <object type="template" name="header" /> |
| 1905 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1906 | <object type="partitionlist"> |
| 1907 | <highlight color="%fileselector_highlight_color%" /> |
| 1908 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" /> |
| 1909 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1910 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1911 | <text>Restoring: %tw_restore_name%</text> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1912 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1913 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1914 | <background color="%listbox_background%" /> |
| 1915 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1916 | <data name="tw_restore_list" selectedlist="tw_restore_selected" /> |
| 1917 | <listtype name="restore" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1918 | </object> |
| 1919 | |
| 1920 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1921 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1922 | <fill color="%button_fill_color%" /> |
| 1923 | <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1924 | <font resource="font" color="%button_text_color%" /> |
| 1925 | <text>Rename Backup</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1926 | <actions> |
| 1927 | <action function="set">tw_backup_rename=</action> |
| 1928 | <action function="set">tw_fileexists=0</action> |
| 1929 | <action function="page">renamebackup</action> |
| 1930 | </actions> |
| 1931 | </object> |
| 1932 | |
| 1933 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1934 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1935 | <fill color="%button_fill_color%" /> |
| 1936 | <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1937 | <font resource="font" color="%button_text_color%" /> |
| 1938 | <text>Delete Backup</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1939 | <actions> |
| 1940 | <action function="set">tw_back=restore</action> |
| 1941 | <action function="set">tw_action=cmd</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1942 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1943 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 1944 | <action function="set">tw_text2=This cannot be undone!</action> |
| 1945 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 1946 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 1947 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 1948 | <action function="page">confirm_action</action> |
| 1949 | </actions> |
| 1950 | </object> |
| 1951 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1952 | <object type="checkbox"> |
| 1953 | <placement x="%col1_x%" y="%row15_text_y%" /> |
| 1954 | <font resource="font" color="%text_color%" /> |
| 1955 | <text>Enable MD5 verification of backup files.</text> |
| 1956 | <data variable="tw_skip_md5_check" /> |
| 1957 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 1958 | </object> |
| 1959 | |
| 1960 | <object type="text" color="%text_color%"> |
| 1961 | <font resource="font" /> |
| 1962 | <placement x="%center_x%" y="%row16_text_y%" placement="5" /> |
| 1963 | <text>Package Date: %tw_restore_file_date%</text> |
| 1964 | </object> |
| 1965 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1966 | <object type="slider"> |
| 1967 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1968 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1969 | <action function="page">restore_run</action> |
| 1970 | </object> |
| 1971 | |
| 1972 | <object type="text" color="%text_color%"> |
| 1973 | <font resource="font" /> |
| 1974 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1975 | <text>Swipe to Restore</text> |
| 1976 | </object> |
| 1977 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 1978 | <object type="action"> |
| 1979 | <touch key="home" /> |
| 1980 | <action function="page">main</action> |
| 1981 | </object> |
| 1982 | |
| 1983 | <object type="action"> |
| 1984 | <touch key="back" /> |
| 1985 | <action function="page">restore</action> |
| 1986 | </object> |
| 1987 | |
| 1988 | <object type="template" name="footer" /> |
| 1989 | </page> |
| 1990 | |
| 1991 | <page name="renamebackup"> |
| 1992 | <object type="template" name="header" /> |
| 1993 | |
| 1994 | <object type="text" color="%text_color%"> |
| 1995 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 1996 | <font resource="font" /> |
| 1997 | <text>Please Enter a New Backup Name</text> |
| 1998 | </object> |
| 1999 | |
| 2000 | <object type="input"> |
| 2001 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2002 | <background color="%input_background_color%" /> |
| 2003 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2004 | <font resource="font" color="%text_color%" /> |
| 2005 | <text>%tw_backup_rename%</text> |
| 2006 | <data name="tw_backup_rename" /> |
Dees_Troy | b9d1c6d | 2012-09-26 10:07:14 -0400 | [diff] [blame] | 2007 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2008 | <actions> |
| 2009 | <action function="set">tw_back=restore</action> |
| 2010 | <action function="set">tw_action=cmd</action> |
Dees_Troy | f94f9ac | 2012-11-19 17:16:17 +0000 | [diff] [blame] | 2011 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2012 | <action function="set">tw_text1=Rename Backup?</action> |
| 2013 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2014 | <action function="set">tw_action_text1=Renaming Backup...</action> |
| 2015 | <action function="set">tw_complete_text1=Backup Rename Complete</action> |
| 2016 | <action function="set">tw_slider_text=Swipe to Rename</action> |
| 2017 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2018 | <action function="set">tw_existpage=renamebackup</action> |
| 2019 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2020 | <action function="page">filecheck</action> |
| 2021 | </actions> |
| 2022 | </object> |
| 2023 | |
| 2024 | <object type="text" color="%text_fail_color%"> |
| 2025 | <condition var1="tw_fileexists" var2="1" /> |
| 2026 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 2027 | <font resource="font" /> |
| 2028 | <text>A backup with that name already exists!</text> |
| 2029 | </object> |
| 2030 | |
| 2031 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2032 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2033 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 2034 | <font resource="font" color="%button_text_color%" /> |
| 2035 | <text>Cancel</text> |
| 2036 | <image resource="main_button" /> |
| 2037 | <action function="page">restore_select</action> |
| 2038 | </object> |
| 2039 | |
| 2040 | <object type="template" name="keyboardtemplate" /> |
| 2041 | |
| 2042 | <object type="action"> |
| 2043 | <touch key="home" /> |
| 2044 | <action function="page">main</action> |
| 2045 | </object> |
| 2046 | |
| 2047 | <object type="action"> |
| 2048 | <touch key="back" /> |
| 2049 | <action function="page">restore_select</action> |
| 2050 | </object> |
| 2051 | |
| 2052 | <object type="template" name="footer" /> |
| 2053 | </page> |
| 2054 | |
| 2055 | <page name="restore_run"> |
| 2056 | <object type="template" name="header" /> |
| 2057 | |
| 2058 | <object type="text" color="%text_color%"> |
| 2059 | <font resource="font" /> |
| 2060 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2061 | <text>%tw_operation% %tw_partition%</text> |
| 2062 | </object> |
| 2063 | |
| 2064 | <object type="template" name="action_page_console" /> |
| 2065 | |
| 2066 | <object type="template" name="progress_bar" /> |
| 2067 | |
| 2068 | <object type="action"> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2069 | <condition var1="tw_operation_state" var2="1" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2070 | <actions> |
| 2071 | <action function="set">tw_back=restore_select</action> |
| 2072 | <action function="set">tw_complete_text1=Restore Complete</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2073 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2074 | <action function="page">action_complete</action> |
| 2075 | </actions> |
| 2076 | </object> |
| 2077 | |
| 2078 | <object type="action"> |
| 2079 | <action function="nandroid">restore</action> |
| 2080 | </object> |
| 2081 | </page> |
| 2082 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2083 | <page name="selectstorage"> |
| 2084 | <object type="template" name="header" /> |
| 2085 | |
| 2086 | <object type="partitionlist"> |
| 2087 | <highlight color="%fileselector_highlight_color%" /> |
| 2088 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" /> |
| 2089 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2090 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 2091 | <text>Select Storage:</text> |
| 2092 | <icon selected="radio_true" unselected="radio_false" /> |
| 2093 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2094 | <background color="%listbox_background%" /> |
| 2095 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 2096 | <data name="tw_storage_path" /> |
| 2097 | <listtype name="storage" /> |
| 2098 | </object> |
| 2099 | |
| 2100 | <object type="action"> |
| 2101 | <touch key="home" /> |
| 2102 | <action function="page">main</action> |
| 2103 | </object> |
| 2104 | |
| 2105 | <object type="action"> |
| 2106 | <touch key="back" /> |
| 2107 | <actions> |
| 2108 | <action function="page">%tw_back%</action> |
| 2109 | </actions> |
| 2110 | </object> |
| 2111 | |
| 2112 | <object type="template" name="footer" /> |
| 2113 | </page> |
| 2114 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2115 | <page name="mount"> |
| 2116 | <object type="template" name="header" /> |
| 2117 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2118 | <object type="partitionlist"> |
| 2119 | <highlight color="%fileselector_highlight_color%" /> |
| 2120 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" /> |
| 2121 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2122 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 2123 | <text>Select Partitions to Mount:</text> |
| 2124 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 2125 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2126 | <background color="%listbox_background%" /> |
| 2127 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 2128 | <listtype name="mount" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2129 | </object> |
| 2130 | |
| 2131 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2132 | <highlight color="%highlight_color%" /> |
| 2133 | <fill color="%button_fill_color%" /> |
| 2134 | <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 2135 | <font resource="font" color="%button_text_color%" /> |
| 2136 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 2137 | <actions> |
| 2138 | <action function="set">tw_back=mount</action> |
| 2139 | <action function="page">selectstorage</action> |
| 2140 | </actions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2141 | </object> |
| 2142 | |
| 2143 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2144 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2145 | <condition var1="tw_has_usb_storage" var2="1" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2146 | <placement x="%col1_x%" y="row4_y" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2147 | <font resource="font" color="%button_text_color%" /> |
| 2148 | <text>Mount USB Storage</text> |
| 2149 | <image resource="main_button" /> |
| 2150 | <action function="page">usb_mount</action> |
| 2151 | </object> |
| 2152 | |
Gary Peck | ffdc6ae | 2012-11-21 18:02:02 -0800 | [diff] [blame] | 2153 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2154 | <highlight color="%highlight_color%" /> |
Gary Peck | ffdc6ae | 2012-11-21 18:02:02 -0800 | [diff] [blame] | 2155 | <conditions> |
| 2156 | <condition var1="tw_is_encrypted" var2="1" /> |
| 2157 | <condition var1="tw_is_decrypted" var2="0" /> |
| 2158 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2159 | <placement x="%col2_x%" y="row4_y" /> |
Gary Peck | ffdc6ae | 2012-11-21 18:02:02 -0800 | [diff] [blame] | 2160 | <font resource="font" color="%button_text_color%" /> |
| 2161 | <text>Decrypt Data</text> |
| 2162 | <image resource="main_button" /> |
| 2163 | <action function="page">decrypt</action> |
| 2164 | </object> |
| 2165 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2166 | <object type="action"> |
| 2167 | <touch key="home" /> |
| 2168 | <action function="page">main</action> |
| 2169 | </object> |
| 2170 | |
| 2171 | <object type="action"> |
| 2172 | <touch key="back" /> |
| 2173 | <action function="page">main</action> |
| 2174 | </object> |
| 2175 | |
| 2176 | <object type="template" name="footer" /> |
| 2177 | </page> |
| 2178 | |
| 2179 | <page name="usb_mount"> |
| 2180 | <object type="template" name="header" /> |
| 2181 | |
| 2182 | <object type="text" color="%text_color%"> |
| 2183 | <font resource="font" /> |
| 2184 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2185 | <text>USB Storage Mounted</text> |
| 2186 | </object> |
| 2187 | |
| 2188 | <object type="text" color="%text_color%"> |
| 2189 | <placement x="%col1_x%" y="%row1_text_y%" /> |
| 2190 | <font resource="font" /> |
| 2191 | <text>Be sure to safely remove your device</text> |
| 2192 | </object> |
| 2193 | |
| 2194 | <object type="text" color="%text_color%"> |
| 2195 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2196 | <font resource="font" /> |
| 2197 | <text>from your computer before unmounting!</text> |
| 2198 | </object> |
| 2199 | |
| 2200 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2201 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2202 | <placement x="%col1_x%" y="%row3_y%" /> |
| 2203 | <font resource="font" color="%button_text_color%" /> |
| 2204 | <text>Unmount</text> |
| 2205 | <image resource="main_button" /> |
| 2206 | <action function="page">usb_umount</action> |
| 2207 | </object> |
| 2208 | |
| 2209 | <object type="action"> |
| 2210 | <action function="mount">usb</action> |
| 2211 | </object> |
| 2212 | |
| 2213 | <object type="template" name="footer" /> |
| 2214 | </page> |
| 2215 | |
| 2216 | <page name="usb_umount"> |
| 2217 | <object type="action"> |
| 2218 | <action function="unmount">usb</action> |
| 2219 | </object> |
| 2220 | |
| 2221 | <object type="action"> |
| 2222 | <action function="page">mount</action> |
| 2223 | </object> |
| 2224 | </page> |
| 2225 | |
| 2226 | <page name="reboot"> |
| 2227 | <object type="template" name="header" /> |
| 2228 | |
| 2229 | <object type="text" color="%text_color%"> |
| 2230 | <font resource="font" /> |
| 2231 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2232 | <text>Reboot Menu</text> |
| 2233 | </object> |
| 2234 | |
| 2235 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2236 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2237 | <condition var1="tw_reboot_system" var2="1" /> |
| 2238 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2239 | <font resource="font" color="%button_text_color%" /> |
| 2240 | <text>System</text> |
| 2241 | <image resource="main_button" /> |
| 2242 | <actions> |
| 2243 | <action function="set">tw_back=reboot</action> |
| 2244 | <action function="set">tw_action=reboot</action> |
| 2245 | <action function="set">tw_action_param=system</action> |
| 2246 | <action function="set">tw_has_action2=0</action> |
| 2247 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2248 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2249 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2250 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2251 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2252 | <action function="page">rebootcheck</action> |
| 2253 | </actions> |
| 2254 | </object> |
| 2255 | |
| 2256 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2257 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2258 | <condition var1="tw_reboot_poweroff" var2="1" /> |
| 2259 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2260 | <font resource="font" color="%button_text_color%" /> |
| 2261 | <text>Power Off</text> |
| 2262 | <image resource="main_button" /> |
| 2263 | <actions> |
| 2264 | <action function="set">tw_back=reboot</action> |
| 2265 | <action function="set">tw_action=reboot</action> |
| 2266 | <action function="set">tw_action_param=poweroff</action> |
| 2267 | <action function="set">tw_has_action2=0</action> |
| 2268 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2269 | <action function="set">tw_text2=sure you wish to power off?</action> |
| 2270 | <action function="set">tw_action_text1=Turning Off...</action> |
| 2271 | <action function="set">tw_complete_text1=Turning Off...</action> |
| 2272 | <action function="set">tw_slider_text=Swipe to Power Off</action> |
| 2273 | <action function="page">rebootcheck</action> |
| 2274 | </actions> |
| 2275 | </object> |
| 2276 | |
| 2277 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2278 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2279 | <condition var1="tw_reboot_recovery" var2="1" /> |
| 2280 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2281 | <font resource="font" color="%button_text_color%" /> |
| 2282 | <text>Recovery</text> |
| 2283 | <image resource="main_button" /> |
| 2284 | <actions> |
| 2285 | <action function="set">tw_back=reboot</action> |
| 2286 | <action function="set">tw_action=reboot</action> |
| 2287 | <action function="set">tw_action_param=recovery</action> |
| 2288 | <action function="set">tw_has_action2=0</action> |
| 2289 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2290 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2291 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2292 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2293 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2294 | <action function="page">rebootcheck</action> |
| 2295 | </actions> |
| 2296 | </object> |
| 2297 | |
| 2298 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2299 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2300 | <condition var1="tw_reboot_bootloader" var2="1" /> |
| 2301 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2302 | <font resource="font" color="%button_text_color%" /> |
| 2303 | <text>Bootloader</text> |
| 2304 | <image resource="main_button" /> |
| 2305 | <actions> |
| 2306 | <action function="set">tw_back=reboot</action> |
| 2307 | <action function="set">tw_action=reboot</action> |
| 2308 | <action function="set">tw_action_param=bootloader</action> |
| 2309 | <action function="set">tw_has_action2=0</action> |
| 2310 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2311 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2312 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2313 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2314 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2315 | <action function="page">rebootcheck</action> |
| 2316 | </actions> |
| 2317 | </object> |
| 2318 | |
| 2319 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2320 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2321 | <condition var1="tw_download_mode" var2="1" /> |
| 2322 | <placement x="%col1_x%" y="%row3_y%" /> |
| 2323 | <font resource="font" color="%button_text_color%" /> |
| 2324 | <text>Download</text> |
| 2325 | <image resource="main_button" /> |
| 2326 | <actions> |
| 2327 | <action function="set">tw_back=reboot</action> |
| 2328 | <action function="set">tw_action=reboot</action> |
| 2329 | <action function="set">tw_action_param=download</action> |
| 2330 | <action function="set">tw_has_action2=0</action> |
| 2331 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 2332 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 2333 | <action function="set">tw_action_text1=Rebooting...</action> |
| 2334 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 2335 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 2336 | <action function="page">rebootcheck</action> |
| 2337 | </actions> |
| 2338 | </object> |
| 2339 | |
| 2340 | <object type="action"> |
| 2341 | <touch key="home" /> |
| 2342 | <action function="page">main</action> |
| 2343 | </object> |
| 2344 | |
| 2345 | <object type="action"> |
| 2346 | <touch key="back" /> |
| 2347 | <action function="page">main</action> |
| 2348 | </object> |
| 2349 | |
| 2350 | <object type="template" name="footer" /> |
| 2351 | </page> |
| 2352 | |
| 2353 | <page name="settings"> |
| 2354 | <object type="template" name="header" /> |
| 2355 | |
| 2356 | <object type="text" color="%text_color%"> |
| 2357 | <font resource="font" /> |
| 2358 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2359 | <text>Settings</text> |
| 2360 | </object> |
| 2361 | |
| 2362 | <object type="checkbox"> |
| 2363 | <placement x="%col1_x%" y="%row1_text_y%" /> |
| 2364 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2365 | <text>Zip file signature verification.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2366 | <data variable="tw_signed_zip_verify" /> |
| 2367 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2368 | </object> |
| 2369 | |
| 2370 | <object type="checkbox"> |
| 2371 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2372 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2373 | <text>Use rm -rf instead of formatting.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2374 | <data variable="tw_rm_rf" /> |
| 2375 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2376 | </object> |
| 2377 | |
| 2378 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2379 | <placement x="%col1_x%" y="%row3_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2380 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2381 | <text>Skip MD5 generation during backup.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2382 | <data variable="tw_skip_md5_generate" /> |
| 2383 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2384 | </object> |
| 2385 | |
| 2386 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2387 | <placement x="%col1_x%" y="%row4_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2388 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2389 | <text>Enable MD5 verification of backup files.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2390 | <data variable="tw_skip_md5_check" /> |
| 2391 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2392 | </object> |
| 2393 | |
| 2394 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2395 | <placement x="%col1_x%" y="%row5_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2396 | <font resource="font" color="%text_color%" /> |
Dees_Troy | 8211102 | 2013-02-21 21:13:09 +0000 | [diff] [blame] | 2397 | <text>Use Military Time.</text> |
| 2398 | <data variable="tw_military_time" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2399 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2400 | </object> |
| 2401 | |
| 2402 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2403 | <placement x="%col1_x%" y="%row6_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2404 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2405 | <text>Simulate actions for theme testing.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2406 | <data variable="tw_simulate_actions" /> |
| 2407 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2408 | </object> |
| 2409 | |
| 2410 | <object type="checkbox"> |
| 2411 | <condition var1="tw_simulate_actions" var2="1" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2412 | <placement x="%col1_x%" y="%row7_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2413 | <font resource="font" color="%text_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2414 | <text>Simulate failure for actions.</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2415 | <data variable="tw_simulate_fail" /> |
| 2416 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2417 | </object> |
| 2418 | |
| 2419 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2420 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2421 | <placement x="%col1_x%" y="%row3_y%" /> |
| 2422 | <font resource="font" color="%button_text_color%" /> |
| 2423 | <text>Time Zone</text> |
| 2424 | <image resource="main_button" /> |
| 2425 | <action function="page">timezone</action> |
| 2426 | </object> |
| 2427 | |
| 2428 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2429 | <highlight color="%highlight_color%" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2430 | <placement x="%col2_x%" y="%row3_y%" /> |
| 2431 | <font resource="font" color="%button_text_color%" /> |
| 2432 | <text>Screen</text> |
| 2433 | <image resource="main_button" /> |
| 2434 | <action function="page">screen</action> |
| 2435 | </object> |
| 2436 | |
| 2437 | <object type="button"> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2438 | <placement x="%col_center_x%" y="%row4_y%" /> |
| 2439 | <font resource="font" color="%button_text_color%" /> |
| 2440 | <text>Restore Defaults</text> |
| 2441 | <image resource="main_button" /> |
| 2442 | <action function="restoredefaultsettings"></action> |
| 2443 | </object> |
| 2444 | |
| 2445 | <object type="action"> |
| 2446 | <touch key="home" /> |
| 2447 | <action function="page">main</action> |
| 2448 | </object> |
| 2449 | |
| 2450 | <object type="action"> |
| 2451 | <touch key="back" /> |
| 2452 | <action function="page">main</action> |
| 2453 | </object> |
| 2454 | |
| 2455 | <object type="template" name="footer" /> |
| 2456 | </page> |
| 2457 | |
| 2458 | <page name="timezone"> |
| 2459 | <object type="template" name="header" /> |
| 2460 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2461 | <object type="listbox"> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2462 | <highlight color="%fileselector_highlight_color%" /> |
| 2463 | <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" /> |
| 2464 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2465 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2466 | <text>Select Time Zone:</text> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2467 | <icon selected="radio_true" unselected="radio_false" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2468 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2469 | <background color="%listbox_background%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2470 | <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2471 | <data name="tw_time_zone_guisel" /> |
| 2472 | <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> |
| 2473 | <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |
| 2474 | <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> |
| 2475 | <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> |
| 2476 | <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> |
| 2477 | <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> |
| 2478 | <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> |
| 2479 | <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> |
| 2480 | <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> |
| 2481 | <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> |
| 2482 | <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> |
| 2483 | <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> |
| 2484 | <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> |
| 2485 | <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> |
| 2486 | <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> |
| 2487 | <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> |
| 2488 | <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> |
| 2489 | <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> |
| 2490 | <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> |
| 2491 | <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> |
| 2492 | <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> |
| 2493 | <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> |
| 2494 | <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> |
| 2495 | <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> |
| 2496 | </object> |
| 2497 | |
| 2498 | <object type="checkbox"> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2499 | <placement x="%col1_x%" y="%row_dst_text_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2500 | <font resource="font" color="%text_color%" /> |
| 2501 | <text>Do you use daylight savings time (DST)?</text> |
| 2502 | <data variable="tw_time_zone_guidst" /> |
| 2503 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2504 | </object> |
| 2505 | |
| 2506 | <object type="text" color="%text_color%"> |
| 2507 | <font resource="font" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2508 | <placement x="%center_x%" y="%row_offset_text_y%" placement="5" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2509 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 2510 | </object> |
| 2511 | |
| 2512 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2513 | <highlight color="%highlight_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2514 | <placement x="%col1_medium_x%" y="%row_offset_medium_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2515 | <font resource="font" color="%button_text_color%" /> |
| 2516 | <text>None</text> |
| 2517 | <image resource="medium_button" /> |
| 2518 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2519 | </object> |
| 2520 | |
| 2521 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2522 | <highlight color="%highlight_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2523 | <placement x="%col2_medium_x%" y="%row_offset_medium_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2524 | <font resource="font" color="%button_text_color%" /> |
| 2525 | <text>15</text> |
| 2526 | <image resource="medium_button" /> |
| 2527 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2528 | </object> |
| 2529 | |
| 2530 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2531 | <highlight color="%highlight_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2532 | <placement x="%col3_medium_x%" y="%row_offset_medium_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2533 | <font resource="font" color="%button_text_color%" /> |
| 2534 | <text>30</text> |
| 2535 | <image resource="medium_button" /> |
| 2536 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2537 | </object> |
| 2538 | |
| 2539 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2540 | <highlight color="%highlight_color%" /> |
Dees_Troy | b46a684 | 2012-09-25 11:06:46 -0400 | [diff] [blame] | 2541 | <placement x="%col4_medium_x%" y="%row_offset_medium_y%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2542 | <font resource="font" color="%button_text_color%" /> |
| 2543 | <text>45</text> |
| 2544 | <image resource="medium_button" /> |
| 2545 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2546 | </object> |
| 2547 | |
| 2548 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2549 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2550 | <placement x="%col_center_x%" y="%tz_set_y%" /> |
| 2551 | <font resource="font" color="%button_text_color%" /> |
| 2552 | <text>Set Time Zone</text> |
| 2553 | <image resource="main_button" /> |
| 2554 | <action function="setguitimezone"></action> |
| 2555 | </object> |
| 2556 | |
| 2557 | <object type="text" color="%text_color%"> |
| 2558 | <font resource="font" /> |
| 2559 | <placement x="%center_x%" y="%tz_current_y%" placement="5" /> |
| 2560 | <text>Current Time Zone: %tw_time_zone%</text> |
| 2561 | </object> |
| 2562 | |
| 2563 | <object type="action"> |
| 2564 | <touch key="home" /> |
| 2565 | <action function="page">main</action> |
| 2566 | </object> |
| 2567 | |
| 2568 | <object type="action"> |
| 2569 | <touch key="back" /> |
| 2570 | <action function="page">settings</action> |
| 2571 | </object> |
| 2572 | |
| 2573 | <object type="template" name="footer" /> |
| 2574 | </page> |
| 2575 | |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2576 | <page name="screen"> |
| 2577 | <object type="template" name="header" /> |
| 2578 | |
| 2579 | <object type="text" color="%text_color%"> |
| 2580 | <font resource="font" /> |
| 2581 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2582 | <text>Screen Settings</text> |
| 2583 | </object> |
| 2584 | |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2585 | <object type="button"> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2586 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2587 | <font resource="font" color="%text_color%" /> |
| 2588 | <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> |
| 2589 | <text>Enable screen timeout.</text> |
| 2590 | <image resource="checkbox_false" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2591 | <action function="set">tw_screen_timeout_secs=60</action> |
| 2592 | </object> |
| 2593 | |
| 2594 | <object type="button"> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2595 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2596 | <font resource="font" color="%text_color%" /> |
| 2597 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
| 2598 | <text>Enable screen timeout.</text> |
| 2599 | <image resource="checkbox_true" /> |
| 2600 | <action function="set">tw_screen_timeout_secs=0</action> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2601 | </object> |
| 2602 | |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2603 | <object type="slidervalue"> |
| 2604 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
| 2605 | <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" /> |
| 2606 | <font resource="font" color="%text_color%" /> |
| 2607 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 2608 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> |
| 2609 | <text>Screen timeout in seconds:</text> |
| 2610 | <data variable="tw_screen_timeout_secs" min="15" max="300" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2611 | </object> |
| 2612 | |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2613 | <object type="slidervalue"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2614 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2615 | <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" /> |
| 2616 | <font resource="font" color="%text_color%" /> |
| 2617 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 2618 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> |
| 2619 | <text>Brightness: %tw_brightness_pct%%</text> |
| 2620 | <data variable="tw_brightness_pct" min="10" max="100" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2621 | <actions> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 2622 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 2623 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 2624 | <action function="compute">tw_brightness/100</action> |
| 2625 | <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2626 | </actions> |
| 2627 | </object> |
| 2628 | |
| 2629 | <object type="action"> |
| 2630 | <touch key="home" /> |
| 2631 | <action function="page">main</action> |
| 2632 | </object> |
| 2633 | |
| 2634 | <object type="action"> |
| 2635 | <touch key="back" /> |
| 2636 | <action function="page">settings</action> |
| 2637 | </object> |
| 2638 | |
| 2639 | <object type="template" name="footer" /> |
| 2640 | </page> |
| 2641 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2642 | <page name="advanced"> |
| 2643 | <object type="template" name="header" /> |
| 2644 | |
| 2645 | <object type="text" color="%text_color%"> |
| 2646 | <font resource="font" /> |
| 2647 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2648 | <text>Advanced</text> |
| 2649 | </object> |
| 2650 | |
| 2651 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2652 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2653 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2654 | <font resource="font" color="%button_text_color%" /> |
| 2655 | <text>Copy Log to SD</text> |
| 2656 | <image resource="main_button" /> |
| 2657 | <actions> |
| 2658 | <action function="set">tw_back=advanced</action> |
| 2659 | <action function="set">tw_action=copylog</action> |
| 2660 | <action function="set">tw_text1=Copy Log to SD Card?</action> |
| 2661 | <action function="set">tw_action_text1=Copying Log to SD Card...</action> |
| 2662 | <action function="set">tw_complete_text1=Log Copy Complete</action> |
| 2663 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2664 | <action function="page">confirm_action</action> |
| 2665 | </actions> |
| 2666 | </object> |
| 2667 | |
| 2668 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2669 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2670 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2671 | <font resource="font" color="%button_text_color%" /> |
| 2672 | <text>Fix Permissions</text> |
| 2673 | <image resource="main_button" /> |
| 2674 | <actions> |
| 2675 | <action function="set">tw_back=advanced</action> |
| 2676 | <action function="set">tw_action=fixpermissions</action> |
| 2677 | <action function="set">tw_text1=Fix Permissions?</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2678 | <action function="set">tw_action_text1=Fixing Permissions...</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2679 | <action function="set">tw_complete_text1=Fix Permissions Complete</action> |
| 2680 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
Dees_Troy | a3f8154 | 2012-10-08 10:58:53 -0400 | [diff] [blame] | 2681 | <action function="set">tw_show_reboot=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2682 | <action function="page">confirm_action</action> |
| 2683 | </actions> |
| 2684 | </object> |
| 2685 | |
| 2686 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2687 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2688 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 2689 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2690 | <font resource="font" color="%button_text_color%" /> |
| 2691 | <text>Partition SD Card</text> |
| 2692 | <image resource="main_button" /> |
| 2693 | <action function="page">partsdcard</action> |
| 2694 | </object> |
| 2695 | |
| 2696 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2697 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2698 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2699 | <font resource="font" color="%button_text_color%" /> |
| 2700 | <text>File Manager</text> |
| 2701 | <image resource="main_button" /> |
| 2702 | <action function="page">filemanagerlist</action> |
| 2703 | </object> |
| 2704 | |
| 2705 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2706 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2707 | <placement x="%col1_x%" y="%row3_y%" /> |
| 2708 | <font resource="font" color="%button_text_color%" /> |
| 2709 | <text>Terminal Command</text> |
| 2710 | <image resource="main_button" /> |
| 2711 | <action function="page">terminalfolder</action> |
| 2712 | </object> |
| 2713 | |
| 2714 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2715 | <highlight color="%highlight_color%" /> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 2716 | <placement x="%col2_x%" y="%row3_y%" /> |
| 2717 | <font resource="font" color="%button_text_color%" /> |
| 2718 | <text>Reload Theme</text> |
| 2719 | <image resource="main_button" /> |
| 2720 | <action function="reload"></action> |
| 2721 | </object> |
| 2722 | |
| 2723 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2724 | <highlight color="%highlight_color%" /> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 2725 | <placement x="%col1_x%" y="%row4_y%" /> |
| 2726 | <font resource="font" color="%button_text_color%" /> |
| 2727 | <text>ADB Sideload</text> |
| 2728 | <image resource="main_button" /> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 2729 | <action function="page">sideload</action> |
Dees_Troy | bbb2101 | 2012-09-20 15:59:46 -0400 | [diff] [blame] | 2730 | </object> |
| 2731 | |
| 2732 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2733 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2734 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2735 | <placement x="%col2_x%" y="%row4_y%" /> |
| 2736 | <font resource="font" color="%button_text_color%" /> |
| 2737 | <text>HTC Dumlock</text> |
| 2738 | <image resource="main_button" /> |
| 2739 | <action function="page">htcdumlock</action> |
| 2740 | </object> |
| 2741 | |
| 2742 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2743 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2744 | <condition var1="tw_has_injecttwrp" var2="1" /> |
| 2745 | <placement x="%col2_x%" y="%row4_y%" /> |
| 2746 | <font resource="font" color="%button_text_color%" /> |
| 2747 | <text>Re-Inject TWRP</text> |
| 2748 | <image resource="main_button" /> |
| 2749 | <actions> |
| 2750 | <action function="set">tw_back=advanced</action> |
| 2751 | <action function="set">tw_action=reinjecttwrp</action> |
| 2752 | <action function="set">tw_text1=Re-Inject TWRP?</action> |
| 2753 | <action function="set">tw_action_text1=Re-Injecting TWRP...</action> |
| 2754 | <action function="set">tw_complete_text1=TWRP Injection Complete</action> |
| 2755 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2756 | <action function="page">confirm_action</action> |
| 2757 | </actions> |
| 2758 | </object> |
| 2759 | |
| 2760 | <object type="action"> |
| 2761 | <touch key="home" /> |
| 2762 | <action function="page">main</action> |
| 2763 | </object> |
| 2764 | |
| 2765 | <object type="action"> |
| 2766 | <touch key="back" /> |
| 2767 | <action function="page">main</action> |
| 2768 | </object> |
| 2769 | |
| 2770 | <object type="template" name="footer" /> |
| 2771 | </page> |
| 2772 | |
| 2773 | <page name="partsdcard"> |
| 2774 | <object type="template" name="header" /> |
| 2775 | |
| 2776 | <object type="text" color="%text_color%"> |
| 2777 | <font resource="font" /> |
| 2778 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2779 | <text>Partition SD Card</text> |
| 2780 | </object> |
| 2781 | |
| 2782 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2783 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2784 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2785 | <font resource="font" color="%button_text_color%" /> |
| 2786 | <text></text> |
| 2787 | <image resource="minus_button" /> |
| 2788 | <action function="addsubtract">tw_sdext_size-128</action> |
| 2789 | </object> |
| 2790 | |
| 2791 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2792 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2793 | <placement x="%sd_plus_x%" y="%row1_y%" /> |
| 2794 | <font resource="font" color="%button_text_color%" /> |
| 2795 | <text></text> |
| 2796 | <image resource="plus_button" /> |
| 2797 | <action function="addsubtract">tw_sdext_size+128</action> |
| 2798 | </object> |
| 2799 | |
| 2800 | <object type="text" color="%text_color%"> |
| 2801 | <font resource="font" /> |
| 2802 | <placement x="%sdext_text_x%" y="%sdext_text_y%" /> |
| 2803 | <text>EXT Size: %tw_sdext_size%</text> |
| 2804 | </object> |
| 2805 | |
| 2806 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2807 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2808 | <placement x="%col1_x%" y="%sdswap_button_y%" /> |
| 2809 | <font resource="font" color="%button_text_color%" /> |
| 2810 | <text></text> |
| 2811 | <image resource="minus_button" /> |
| 2812 | <action function="addsubtract">tw_swap_size-32</action> |
| 2813 | </object> |
| 2814 | |
| 2815 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2816 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2817 | <placement x="%sd_plus_x%" y="%sdswap_button_y%" /> |
| 2818 | <font resource="font" color="%button_text_color%" /> |
| 2819 | <text></text> |
| 2820 | <image resource="plus_button" /> |
| 2821 | <action function="addsubtract">tw_swap_size+32</action> |
| 2822 | </object> |
| 2823 | |
| 2824 | <object type="text" color="%text_color%"> |
| 2825 | <font resource="font" /> |
| 2826 | <placement x="%sdswap_text_x%" y="%sdswap_text_y%" /> |
| 2827 | <text>Swap Size: %tw_swap_size%</text> |
| 2828 | </object> |
| 2829 | |
| 2830 | <object type="text" color="%text_color%"> |
| 2831 | <font resource="font" /> |
| 2832 | <placement x="%col1_x%" y="%sdfilesystem_text_y%" /> |
| 2833 | <text>File system: %tw_sdpart_file_system%</text> |
| 2834 | </object> |
| 2835 | |
| 2836 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2837 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2838 | <placement x="%col1_x%" y="%sdfilesystem_button_y%" /> |
| 2839 | <font resource="font" color="%button_text_color%" /> |
| 2840 | <text>EXT3</text> |
| 2841 | <image resource="main_button" /> |
| 2842 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 2843 | </object> |
| 2844 | |
| 2845 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2846 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2847 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 2848 | <placement x="%col2_x%" y="%sdfilesystem_button_y%" /> |
| 2849 | <font resource="font" color="%button_text_color%" /> |
| 2850 | <text>EXT4</text> |
| 2851 | <image resource="main_button" /> |
| 2852 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 2853 | </object> |
| 2854 | |
| 2855 | <object type="text" color="%text_color%"> |
| 2856 | <font resource="font" /> |
| 2857 | <placement x="%col1_x%" y="%row12_text_y%" /> |
| 2858 | <text>You will lose all files on your SD card!</text> |
| 2859 | </object> |
| 2860 | |
| 2861 | <object type="text" color="%text_color%"> |
| 2862 | <font resource="font" /> |
| 2863 | <placement x="%col1_x%" y="%row13_text_y%" /> |
| 2864 | <text>This action cannot be undone!</text> |
| 2865 | </object> |
| 2866 | |
| 2867 | <object type="slider"> |
| 2868 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2869 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2870 | <action function="page">partsdcardaction</action> |
| 2871 | <actions> |
| 2872 | <action function="set">tw_back=partsdcard</action> |
| 2873 | <action function="set">tw_action=partitionsd</action> |
| 2874 | <action function="set">tw_has_action2=1</action> |
| 2875 | <action function="set">tw_action2=set</action> |
| 2876 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 2877 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 2878 | <action function="set">tw_action_text2=This will take a few minutes.</action> |
Dees_Troy | a2ac96a | 2012-09-26 13:07:22 -0400 | [diff] [blame] | 2879 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2880 | <action function="page">action_page</action> |
| 2881 | </actions> |
| 2882 | </object> |
| 2883 | |
| 2884 | <object type="text" color="%text_color%"> |
| 2885 | <font resource="font" /> |
| 2886 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2887 | <text>Swipe to Partition</text> |
| 2888 | </object> |
| 2889 | |
| 2890 | <object type="action"> |
| 2891 | <touch key="home" /> |
| 2892 | <action function="page">main</action> |
| 2893 | </object> |
| 2894 | |
| 2895 | <object type="action"> |
| 2896 | <touch key="back" /> |
| 2897 | <action function="page">advanced</action> |
| 2898 | </object> |
| 2899 | |
| 2900 | <object type="template" name="footer" /> |
| 2901 | </page> |
| 2902 | |
| 2903 | <page name="htcdumlock"> |
| 2904 | <object type="template" name="header" /> |
| 2905 | |
| 2906 | <object type="text" color="%text_color%"> |
| 2907 | <font resource="font" /> |
| 2908 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 2909 | <text>HTC Dumlock</text> |
| 2910 | </object> |
| 2911 | |
| 2912 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2913 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2914 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2915 | <placement x="%col1_x%" y="%row1_y%" /> |
| 2916 | <font resource="font" color="%button_text_color%" /> |
| 2917 | <text>Restore Original Boot</text> |
| 2918 | <image resource="main_button" /> |
| 2919 | <actions> |
| 2920 | <action function="set">tw_back=htcdumlock</action> |
| 2921 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 2922 | <action function="set">tw_text1=Restore original boot image?</action> |
| 2923 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 2924 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 2925 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2926 | <action function="page">confirm_action</action> |
| 2927 | </actions> |
| 2928 | </object> |
| 2929 | |
| 2930 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2931 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2932 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2933 | <placement x="%col2_x%" y="%row1_y%" /> |
| 2934 | <font resource="font" color="%button_text_color%" /> |
| 2935 | <text>Reflash Recovery</text> |
| 2936 | <image resource="main_button" /> |
| 2937 | <actions> |
| 2938 | <action function="set">tw_back=htcdumlock</action> |
| 2939 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 2940 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 2941 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 2942 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 2943 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2944 | <action function="page">confirm_action</action> |
| 2945 | </actions> |
| 2946 | </object> |
| 2947 | |
| 2948 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2949 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 2950 | <condition var1="tw_show_dumlock" var2="1" /> |
| 2951 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2952 | <font resource="font" color="%button_text_color%" /> |
| 2953 | <text>Install HTC Dumlock</text> |
| 2954 | <image resource="main_button" /> |
| 2955 | <actions> |
| 2956 | <action function="set">tw_back=htcdumlock</action> |
| 2957 | <action function="set">tw_action=installhtcdumlock</action> |
| 2958 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 2959 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 2960 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 2961 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 2962 | <action function="page">confirm_action</action> |
| 2963 | </actions> |
| 2964 | </object> |
| 2965 | |
| 2966 | <object type="action"> |
| 2967 | <touch key="home" /> |
| 2968 | <action function="page">main</action> |
| 2969 | </object> |
| 2970 | |
| 2971 | <object type="action"> |
| 2972 | <touch key="back" /> |
| 2973 | <action function="page">advanced</action> |
| 2974 | </object> |
| 2975 | |
| 2976 | <object type="template" name="footer" /> |
| 2977 | </page> |
| 2978 | |
| 2979 | <page name="lock"> |
| 2980 | <background color="#000000A0" /> |
| 2981 | |
| 2982 | <object type="image"> |
| 2983 | <image resource="unlock-icon" /> |
| 2984 | <placement x="%lock_x%" y="%lock_y%" /> |
| 2985 | </object> |
| 2986 | |
| 2987 | <object type="slider"> |
| 2988 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2989 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2990 | <action function="overlay"></action> |
| 2991 | </object> |
| 2992 | |
| 2993 | <object type="text" color="%text_color%"> |
| 2994 | <font resource="font" /> |
| 2995 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2996 | <text>Swipe to Unlock</text> |
| 2997 | </object> |
| 2998 | </page> |
| 2999 | |
| 3000 | <page name="filemanagerlist"> |
| 3001 | <object type="template" name="header" /> |
| 3002 | |
| 3003 | <object type="text" color="%text_color%"> |
| 3004 | <font resource="font" /> |
| 3005 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3006 | <text>File Manager: Select a File or Folder</text> |
| 3007 | </object> |
| 3008 | |
| 3009 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3010 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3011 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
| 3012 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3013 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3014 | <text>%tw_file_location1%</text> |
| 3015 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3016 | <sort name="tw_gui_sort_order" /> |
| 3017 | <icon folder="folder_icon" file="file_icon" /> |
| 3018 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3019 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3020 | <folders="1" files="1" /> |
| 3021 | <path name="tw_file_location1" default="/" /> |
| 3022 | <data name="tw_filename1" /> |
| 3023 | <selection name="tw_selection1" /> |
| 3024 | </object> |
| 3025 | |
| 3026 | <object type="template" name="sort_options" /> |
| 3027 | |
| 3028 | <object type="action"> |
| 3029 | <actions> |
| 3030 | <action function="set">tw_fm_type=File</action> |
| 3031 | <action function="set">tw_fm_isfolder=0</action> |
| 3032 | </actions> |
| 3033 | </object> |
| 3034 | |
| 3035 | <object type="action"> |
| 3036 | <touch key="home" /> |
| 3037 | <action function="page">main</action> |
| 3038 | </object> |
| 3039 | |
| 3040 | <object type="action"> |
| 3041 | <touch key="back" /> |
| 3042 | <action function="page">advanced</action> |
| 3043 | </object> |
| 3044 | |
| 3045 | <object type="action"> |
| 3046 | <condition var1="tw_filename1" op="modified" /> |
| 3047 | <actions> |
| 3048 | <action function="page">filemanageroptions</action> |
| 3049 | </actions> |
| 3050 | </object> |
| 3051 | |
| 3052 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3053 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3054 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3055 | <font resource="font" color="%button_text_color%" /> |
| 3056 | <text>Select</text> |
| 3057 | <image resource="medium_button" /> |
| 3058 | <actions> |
| 3059 | <action function="set">tw_filename1=tw_file_location1</action> |
| 3060 | <action function="set">tw_fm_isfolder=1</action> |
| 3061 | <action function="set">tw_fm_type=Folder</action> |
| 3062 | <action function="page">filemanageroptions</action> |
| 3063 | </actions> |
| 3064 | </object> |
| 3065 | |
| 3066 | <object type="template" name="footer" /> |
| 3067 | </page> |
| 3068 | |
| 3069 | <page name="filemanageroptions"> |
| 3070 | <object type="template" name="header" /> |
| 3071 | |
| 3072 | <object type="text" color="%text_color%"> |
| 3073 | <font resource="font" /> |
| 3074 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3075 | <text>%tw_fm_type% Selected:</text> |
| 3076 | </object> |
| 3077 | |
| 3078 | <object type="text" color="%text_color%"> |
| 3079 | <font resource="font" /> |
| 3080 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3081 | <text>%tw_filename1%</text> |
| 3082 | </object> |
| 3083 | |
| 3084 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3085 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3086 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3087 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3088 | <font resource="font" color="%button_text_color%" /> |
| 3089 | <text>Copy File</text> |
| 3090 | <image resource="main_button" /> |
| 3091 | <actions> |
| 3092 | <action function="set">tw_filemanager_command=cp</action> |
| 3093 | <action function="set">tw_fm_text1=Copying</action> |
| 3094 | <action function="page">choosedestinationfolder</action> |
| 3095 | </actions> |
| 3096 | </object> |
| 3097 | |
| 3098 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3099 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3100 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3101 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3102 | <font resource="font" color="%button_text_color%" /> |
| 3103 | <text>Copy Folder</text> |
| 3104 | <image resource="main_button" /> |
| 3105 | <actions> |
| 3106 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
| 3107 | <action function="set">tw_fm_text1=Copying</action> |
| 3108 | <action function="page">choosedestinationfolder</action> |
| 3109 | </actions> |
| 3110 | </object> |
| 3111 | |
| 3112 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3113 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3114 | <placement x="%col2_x%" y="%row2_y%" /> |
| 3115 | <font resource="font" color="%button_text_color%" /> |
| 3116 | <text>Move</text> |
| 3117 | <image resource="main_button" /> |
| 3118 | <actions> |
| 3119 | <action function="set">tw_filemanager_command=mv</action> |
| 3120 | <action function="set">tw_fm_text1=Moving</action> |
| 3121 | <action function="page">choosedestinationfolder</action> |
| 3122 | </actions> |
| 3123 | </object> |
| 3124 | |
| 3125 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3126 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3127 | <placement x="%col1_x%" y="%row3_y%" /> |
| 3128 | <font resource="font" color="%button_text_color%" /> |
| 3129 | <text>chmod 755</text> |
| 3130 | <image resource="main_button" /> |
| 3131 | <actions> |
| 3132 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 3133 | <action function="set">tw_fm_text1=chmod 755</action> |
| 3134 | <action function="set">tw_fm_text2=</action> |
| 3135 | <action function="set">tw_fm_text3=</action> |
| 3136 | <action function="set">tw_include_text3=0</action> |
| 3137 | <action function="set">tw_back=filemanageroptions</action> |
| 3138 | <action function="page">filemanagerconfirm</action> |
| 3139 | </actions> |
| 3140 | </object> |
| 3141 | |
| 3142 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3143 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3144 | <placement x="%col2_x%" y="%row3_y%" /> |
| 3145 | <font resource="font" color="%button_text_color%" /> |
| 3146 | <text>chmod</text> |
| 3147 | <image resource="main_button" /> |
| 3148 | <actions> |
| 3149 | <action function="set">tw_filemanager_rename=0000</action> |
| 3150 | <action function="set">tw_fm_text2=</action> |
| 3151 | <action function="set">tw_fm_text3=</action> |
| 3152 | <action function="set">tw_include_text3=0</action> |
| 3153 | <action function="set">tw_back=filemanageroptions</action> |
| 3154 | <action function="page">filemanagerchmod</action> |
| 3155 | </actions> |
| 3156 | </object> |
| 3157 | |
| 3158 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3159 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3160 | <placement x="%col1_x%" y="%row4_y%" /> |
| 3161 | <font resource="font" color="%button_text_color%" /> |
| 3162 | <text>Delete</text> |
| 3163 | <image resource="main_button" /> |
| 3164 | <actions> |
| 3165 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 3166 | <action function="set">tw_fm_text1=Deleting</action> |
| 3167 | <action function="set">tw_fm_text2=</action> |
| 3168 | <action function="set">tw_fm_text3=</action> |
| 3169 | <action function="set">tw_include_text3=0</action> |
| 3170 | <action function="set">tw_back=filemanageroptions</action> |
| 3171 | <action function="page">filemanagerconfirm</action> |
| 3172 | </actions> |
| 3173 | </object> |
| 3174 | |
| 3175 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3176 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3177 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3178 | <placement x="%col2_x%" y="%row4_y%" /> |
| 3179 | <font resource="font" color="%button_text_color%" /> |
| 3180 | <text>Rename File</text> |
| 3181 | <image resource="main_button" /> |
| 3182 | <actions> |
| 3183 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3184 | <action function="set">tw_fm_text1=Renaming</action> |
| 3185 | <action function="set">tw_filemanager_command=mv</action> |
| 3186 | <action function="page">filemanagerrenamefile</action> |
| 3187 | </actions> |
| 3188 | </object> |
| 3189 | |
| 3190 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3191 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3192 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3193 | <placement x="%col2_x%" y="%row4_y%" /> |
| 3194 | <font resource="font" color="%button_text_color%" /> |
| 3195 | <text>Rename Folder</text> |
| 3196 | <image resource="main_button" /> |
| 3197 | <actions> |
| 3198 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3199 | <action function="set">tw_fm_text1=Renaming</action> |
| 3200 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 3201 | <action function="page">filemanagerrenamefolder</action> |
| 3202 | </actions> |
| 3203 | </object> |
| 3204 | |
| 3205 | <object type="action"> |
| 3206 | <touch key="home" /> |
| 3207 | <action function="page">main</action> |
| 3208 | </object> |
| 3209 | |
| 3210 | <object type="action"> |
| 3211 | <touch key="back" /> |
| 3212 | <action function="page">filemanagerlist</action> |
| 3213 | </object> |
| 3214 | |
| 3215 | <object type="template" name="footer" /> |
| 3216 | </page> |
| 3217 | |
| 3218 | <page name="choosedestinationfolder"> |
| 3219 | <object type="template" name="header" /> |
| 3220 | |
| 3221 | <object type="text" color="%text_color%"> |
| 3222 | <font resource="font" /> |
| 3223 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3224 | <text>Browse to Destination Folder & Press Select</text> |
| 3225 | </object> |
| 3226 | |
| 3227 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3228 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3229 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
| 3230 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3231 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3232 | <text>%tw_file_location2%</text> |
| 3233 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3234 | <sort name="tw_gui_sort_order" /> |
| 3235 | <icon folder="folder_icon" file="file_icon" /> |
| 3236 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3237 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3238 | <filter folders="1" files="0" /> |
| 3239 | <path name="tw_file_location2" default="/" /> |
| 3240 | <data name="tw_filename2" /> |
| 3241 | <selection name="tw_selection2" /> |
| 3242 | </object> |
| 3243 | |
| 3244 | <object type="template" name="sort_options" /> |
| 3245 | |
| 3246 | <object type="action"> |
| 3247 | <touch key="home" /> |
| 3248 | <action function="page">main</action> |
| 3249 | </object> |
| 3250 | |
| 3251 | <object type="action"> |
| 3252 | <touch key="back" /> |
| 3253 | <action function="page">filemanageroptions</action> |
| 3254 | </object> |
| 3255 | |
| 3256 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3257 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3258 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3259 | <font resource="font" color="%button_text_color%" /> |
| 3260 | <text>Select</text> |
| 3261 | <image resource="medium_button" /> |
| 3262 | <actions> |
| 3263 | <action function="set">tw_fm_text2=to</action> |
| 3264 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3265 | <action function="set">tw_include_text3=1</action> |
| 3266 | <action function="set">tw_back=filemanageroptions</action> |
| 3267 | <action function="page">filemanagerconfirm</action> |
| 3268 | </actions> |
| 3269 | </object> |
| 3270 | |
| 3271 | <object type="template" name="footer" /> |
| 3272 | </page> |
| 3273 | |
| 3274 | <page name="filemanagerrenamefile"> |
| 3275 | <object type="template" name="header" /> |
| 3276 | |
| 3277 | <object type="text" color="%text_color%"> |
| 3278 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3279 | <font resource="font" /> |
| 3280 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3281 | </object> |
| 3282 | |
| 3283 | <object type="input"> |
| 3284 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3285 | <background color="%input_background_color%" /> |
| 3286 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3287 | <font resource="font" color="%text_color%" /> |
| 3288 | <text>%tw_filemanager_rename%</text> |
| 3289 | <data name="tw_filemanager_rename" /> |
| 3290 | <restrict minlen="1" maxlen="128" /> |
| 3291 | <actions> |
| 3292 | <action function="set">tw_fm_text2=to</action> |
| 3293 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3294 | <action function="set">tw_include_text3=1</action> |
| 3295 | <action function="set">tw_back=filemanageroptions</action> |
| 3296 | <action function="page">filemanagerconfirm</action> |
| 3297 | </actions> |
| 3298 | </object> |
| 3299 | |
| 3300 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3301 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3302 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 3303 | <font resource="font" color="%button_text_color%" /> |
| 3304 | <text>Cancel</text> |
| 3305 | <image resource="main_button" /> |
| 3306 | <action function="page">filemanageroptions</action> |
| 3307 | </object> |
| 3308 | |
| 3309 | <object type="template" name="keyboardtemplate" /> |
| 3310 | |
| 3311 | <object type="action"> |
| 3312 | <touch key="home" /> |
| 3313 | <action function="page">main</action> |
| 3314 | </object> |
| 3315 | |
| 3316 | <object type="action"> |
| 3317 | <touch key="back" /> |
| 3318 | <action function="page">filemanageroptions</action> |
| 3319 | </object> |
| 3320 | |
| 3321 | <object type="template" name="footer" /> |
| 3322 | </page> |
| 3323 | |
| 3324 | <page name="filemanagerrenamefolder"> |
| 3325 | <object type="template" name="header" /> |
| 3326 | |
| 3327 | <object type="text" color="%text_color%"> |
| 3328 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3329 | <font resource="font" /> |
| 3330 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3331 | </object> |
| 3332 | |
| 3333 | <object type="input"> |
| 3334 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3335 | <background color="%input_background_color%" /> |
| 3336 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3337 | <font resource="font" color="%text_color%" /> |
| 3338 | <text>%tw_filemanager_rename%</text> |
| 3339 | <data name="tw_filemanager_rename" /> |
| 3340 | <restrict minlen="1" maxlen="128" /> |
| 3341 | <actions> |
| 3342 | <action function="set">tw_fm_text2=to</action> |
| 3343 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3344 | <action function="set">tw_include_text3=1</action> |
| 3345 | <action function="set">tw_back=filemanageroptions</action> |
| 3346 | <action function="page">filemanagerconfirm</action> |
| 3347 | </actions> |
| 3348 | </object> |
| 3349 | |
| 3350 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3351 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3352 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 3353 | <font resource="font" color="%button_text_color%" /> |
| 3354 | <text>Cancel</text> |
| 3355 | <image resource="main_button" /> |
| 3356 | <action function="page">filemanageroptions</action> |
| 3357 | </object> |
| 3358 | |
| 3359 | <object type="template" name="keyboardtemplate" /> |
| 3360 | |
| 3361 | <object type="action"> |
| 3362 | <touch key="home" /> |
| 3363 | <action function="page">main</action> |
| 3364 | </object> |
| 3365 | |
| 3366 | <object type="action"> |
| 3367 | <touch key="back" /> |
| 3368 | <action function="page">filemanageroptions</action> |
| 3369 | </object> |
| 3370 | |
| 3371 | <object type="template" name="footer" /> |
| 3372 | </page> |
| 3373 | |
| 3374 | <page name="filemanagerchmod"> |
| 3375 | <object type="template" name="header" /> |
| 3376 | |
| 3377 | <object type="text" color="%text_color%"> |
| 3378 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3379 | <font resource="font" /> |
| 3380 | <text>Please Enter New Permissions</text> |
| 3381 | </object> |
| 3382 | |
| 3383 | <object type="input"> |
| 3384 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3385 | <background color="%input_background_color%" /> |
| 3386 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3387 | <font resource="font" color="%text_color%" /> |
| 3388 | <text>%tw_filemanager_rename%</text> |
| 3389 | <data name="tw_filemanager_rename" /> |
| 3390 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3391 | <actions> |
| 3392 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3393 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3394 | <action function="set">tw_back=filemanageroptions</action> |
| 3395 | <action function="page">filemanagerconfirm</action> |
| 3396 | </actions> |
| 3397 | </object> |
| 3398 | |
| 3399 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3400 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3401 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 3402 | <font resource="font" color="%button_text_color%" /> |
| 3403 | <text>Cancel</text> |
| 3404 | <image resource="main_button" /> |
| 3405 | <action function="page">filemanageroptions</action> |
| 3406 | </object> |
| 3407 | |
| 3408 | <object type="template" name="keyboardtemplate" /> |
| 3409 | |
| 3410 | <object type="action"> |
| 3411 | <touch key="home" /> |
| 3412 | <action function="page">main</action> |
| 3413 | </object> |
| 3414 | |
| 3415 | <object type="action"> |
| 3416 | <touch key="back" /> |
| 3417 | <action function="page">filemanageroptions</action> |
| 3418 | </object> |
| 3419 | |
| 3420 | <object type="template" name="footer" /> |
| 3421 | </page> |
| 3422 | |
| 3423 | <page name="filemanagerconfirm"> |
| 3424 | <object type="template" name="header" /> |
| 3425 | |
| 3426 | <object type="text" color="%text_color%"> |
| 3427 | <font resource="font" /> |
| 3428 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3429 | <text>%tw_fm_text1%</text> |
| 3430 | </object> |
| 3431 | |
| 3432 | <object type="text" color="%text_color%"> |
| 3433 | <font resource="font" /> |
| 3434 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3435 | <text>%tw_filename1%</text> |
| 3436 | </object> |
| 3437 | |
| 3438 | <object type="text" color="%text_color%"> |
| 3439 | <font resource="font" /> |
| 3440 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3441 | <text>%tw_fm_text2%</text> |
| 3442 | </object> |
| 3443 | |
| 3444 | <object type="text" color="%text_color%"> |
| 3445 | <font resource="font" /> |
| 3446 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3447 | <text>%tw_fm_text3%</text> |
| 3448 | </object> |
| 3449 | |
| 3450 | <object type="text" color="%text_color%"> |
| 3451 | <font resource="font" /> |
| 3452 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3453 | <text>Press back button to cancel.</text> |
| 3454 | </object> |
| 3455 | |
| 3456 | <object type="slider"> |
| 3457 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3458 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3459 | <action function="page">filemanageracction</action> |
| 3460 | </object> |
| 3461 | |
| 3462 | <object type="text" color="%text_color%"> |
| 3463 | <font resource="font" /> |
| 3464 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3465 | <text>Swipe to Confirm</text> |
| 3466 | </object> |
| 3467 | |
| 3468 | <object type="action"> |
| 3469 | <touch key="back" /> |
| 3470 | <action function="page">%tw_back%</action> |
| 3471 | </object> |
| 3472 | |
| 3473 | <object type="action"> |
| 3474 | <touch key="home" /> |
| 3475 | <action function="page">main</action> |
| 3476 | </object> |
| 3477 | |
| 3478 | <object type="template" name="footer" /> |
| 3479 | </page> |
| 3480 | |
| 3481 | <page name="filemanageracction"> |
| 3482 | <object type="template" name="header" /> |
| 3483 | |
| 3484 | <object type="text" color="%text_color%"> |
| 3485 | |
| 3486 | <font resource="font" /> |
| 3487 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3488 | <text>%tw_fm_text1%</text> |
| 3489 | </object> |
| 3490 | |
| 3491 | <object type="template" name="action_page_console" /> |
| 3492 | |
| 3493 | <object type="template" name="progress_bar" /> |
| 3494 | |
| 3495 | <object type="action"> |
| 3496 | <conditions> |
| 3497 | <condition var1="tw_operation_state" var2="1" /> |
| 3498 | <condition var1="tw_operation_status" var2="0" /> |
| 3499 | </conditions> |
| 3500 | <actions> |
| 3501 | <action function="set">tw_back=filemanagerlist</action> |
| 3502 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3503 | <action function="page">action_complete</action> |
| 3504 | </actions> |
| 3505 | </object> |
| 3506 | |
| 3507 | <object type="action"> |
| 3508 | <conditions> |
| 3509 | <condition var1="tw_operation_state" var2="1" /> |
| 3510 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3511 | </conditions> |
| 3512 | <actions> |
| 3513 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3514 | <action function="page">action_complete</action> |
| 3515 | </actions> |
| 3516 | </object> |
| 3517 | |
| 3518 | <object type="action"> |
| 3519 | <condition var1="tw_include_text3" var2="0" /> |
| 3520 | <actions> |
| 3521 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3522 | </actions> |
| 3523 | </object> |
| 3524 | |
| 3525 | <object type="action"> |
| 3526 | <condition var1="tw_include_text3" var2="1" /> |
| 3527 | <actions> |
| 3528 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3529 | </actions> |
| 3530 | </object> |
| 3531 | </page> |
| 3532 | |
| 3533 | <page name="decrypt"> |
| 3534 | <object type="template" name="header" /> |
| 3535 | |
| 3536 | <object type="text" color="%text_color%"> |
| 3537 | <font resource="font" /> |
| 3538 | <placement x="%center_x%" y="%row1_header_y%" placement="5" /> |
| 3539 | <text>Please Enter Your Password</text> |
| 3540 | </object> |
| 3541 | |
| 3542 | <object type="input"> |
| 3543 | <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3544 | <background color="%input_background_color%" /> |
| 3545 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3546 | <font resource="font" color="%text_color%" /> |
| 3547 | <text>%tw_crypto_display%</text> |
| 3548 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3549 | <restrict minlen="1" maxlen="254" /> |
| 3550 | <actions> |
| 3551 | <action function="page">trydecrypt</action> |
| 3552 | </actions> |
| 3553 | </object> |
| 3554 | |
| 3555 | <object type="text" color="%text_fail_color%"> |
| 3556 | <condition var1="tw_password_fail" var2="1" /> |
| 3557 | <font resource="font" /> |
| 3558 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3559 | <text>Password Failed, Please Try Again</text> |
| 3560 | </object> |
| 3561 | |
| 3562 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3563 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3564 | <placement x="%col_center_x%" y="%row2_y%" /> |
| 3565 | <font resource="font" color="%button_text_color%" /> |
| 3566 | <text>Cancel</text> |
| 3567 | <image resource="main_button" /> |
| 3568 | <actions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 3569 | <action function="set">tw_page_done=1</action> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3570 | <action function="page">main</action> |
| 3571 | </actions> |
| 3572 | </object> |
| 3573 | |
| 3574 | <object type="template" name="keyboardtemplate" /> |
| 3575 | |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3576 | <object type="template" name="footer" /> |
| 3577 | </page> |
| 3578 | |
| 3579 | <page name="trydecrypt"> |
| 3580 | <object type="template" name="header" /> |
| 3581 | |
| 3582 | <object type="text" color="%text_color%"> |
| 3583 | <font resource="font" /> |
| 3584 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3585 | <text>Trying Decryption with Your Password</text> |
| 3586 | </object> |
| 3587 | |
| 3588 | <object type="template" name="action_page_console" /> |
| 3589 | |
| 3590 | <object type="template" name="progress_bar" /> |
| 3591 | |
| 3592 | <object type="action"> |
| 3593 | <action function="decrypt"></action> |
| 3594 | </object> |
| 3595 | |
| 3596 | <object type="action"> |
| 3597 | <conditions> |
| 3598 | <condition var1="tw_operation_state" var2="1" /> |
| 3599 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3600 | </conditions> |
| 3601 | <actions> |
| 3602 | <action function="set">tw_password_fail=1</action> |
| 3603 | <action function="page">decrypt</action> |
| 3604 | </actions> |
| 3605 | </object> |
| 3606 | |
| 3607 | <object type="action"> |
| 3608 | <conditions> |
| 3609 | <condition var1="tw_operation_state" var2="1" /> |
| 3610 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 3611 | </conditions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 3612 | <actions> |
| 3613 | <action function="set">tw_page_done=1</action> |
| 3614 | <action function="page">main</action> |
| 3615 | </actions> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3616 | </object> |
| 3617 | </page> |
| 3618 | |
| 3619 | <page name="terminalfolder"> |
| 3620 | <object type="template" name="header" /> |
| 3621 | |
| 3622 | <object type="text" color="%text_color%"> |
| 3623 | <font resource="font" /> |
| 3624 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3625 | <text>Browse to Starting Folder</text> |
| 3626 | </object> |
| 3627 | |
| 3628 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3629 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3630 | <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" /> |
| 3631 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3632 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3633 | <text>%tw_terminal_location%</text> |
| 3634 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3635 | <sort name="tw_gui_sort_order" /> |
| 3636 | <icon folder="folder_icon" file="file_icon" /> |
| 3637 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3638 | <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3639 | <filter folders="1" files="0" /> |
| 3640 | <path name="tw_terminal_location" default="/" /> |
| 3641 | <data name="tw_terminal" /> |
| 3642 | <selection name="tw_terminal_selection" /> |
| 3643 | </object> |
| 3644 | |
| 3645 | <object type="template" name="sort_options" /> |
| 3646 | |
| 3647 | <object type="action"> |
| 3648 | <touch key="home" /> |
| 3649 | <action function="page">main</action> |
| 3650 | </object> |
| 3651 | |
| 3652 | <object type="action"> |
| 3653 | <touch key="back" /> |
| 3654 | <action function="page">advanced</action> |
| 3655 | </object> |
| 3656 | |
| 3657 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3658 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3659 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3660 | <font resource="font" color="%button_text_color%" /> |
| 3661 | <text>Select</text> |
| 3662 | <image resource="medium_button" /> |
| 3663 | <actions> |
| 3664 | <action function="page">terminalcommand</action> |
| 3665 | </actions> |
| 3666 | </object> |
| 3667 | |
| 3668 | <object type="template" name="footer" /> |
| 3669 | </page> |
| 3670 | |
| 3671 | <page name="terminalcommand"> |
| 3672 | <object type="template" name="header" /> |
| 3673 | |
| 3674 | <object type="console"> |
| 3675 | <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" /> |
| 3676 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 3677 | <font resource="fixed" /> |
| 3678 | </object> |
| 3679 | |
| 3680 | <object type="text" color="%text_color%"> |
| 3681 | <placement x="%col1_x%" y="%terminal_text_y%" placement="0" /> |
| 3682 | <font resource="font" /> |
| 3683 | <text>Starting Path: %tw_terminal_location%</text> |
| 3684 | </object> |
| 3685 | |
| 3686 | <object type="input"> |
| 3687 | <condition var1="tw_terminal_state" var2="0" /> |
| 3688 | <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3689 | <background color="%input_background_color%" /> |
| 3690 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3691 | <font resource="font" color="%text_color%" /> |
| 3692 | <text>%tw_terminal_command%</text> |
| 3693 | <data name="tw_terminal_command" /> |
| 3694 | <restrict minlen="1" /> |
| 3695 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 3696 | </object> |
| 3697 | |
| 3698 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3699 | <highlight color="%highlight_color%" /> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3700 | <condition var1="tw_terminal_state" var2="1" /> |
| 3701 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
| 3702 | <font resource="font" color="%button_text_color%" /> |
| 3703 | <text>KILL</text> |
| 3704 | <image resource="medium_button" /> |
| 3705 | <action function="killterminal"></action> |
| 3706 | </object> |
| 3707 | |
| 3708 | <object type="template" name="keyboardtemplate" /> |
| 3709 | |
| 3710 | <object type="action"> |
| 3711 | <touch key="home" /> |
| 3712 | <action function="page">main</action> |
| 3713 | </object> |
| 3714 | |
| 3715 | <object type="action"> |
| 3716 | <touch key="back" /> |
| 3717 | <action function="page">terminalfolder</action> |
| 3718 | </object> |
| 3719 | </page> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 3720 | |
| 3721 | <page name="sideload"> |
| 3722 | <object type="template" name="header" /> |
| 3723 | |
| 3724 | <object type="text" color="%text_color%"> |
| 3725 | <font resource="font" /> |
| 3726 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3727 | <text>ADB Sideload</text> |
| 3728 | </object> |
| 3729 | |
| 3730 | <object type="checkbox"> |
| 3731 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 3732 | <font resource="font" color="%text_color%" /> |
| 3733 | <text>Wipe Dalvik Cache.</text> |
| 3734 | <data variable="tw_wipe_dalvik" /> |
| 3735 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 3736 | </object> |
| 3737 | |
| 3738 | <object type="checkbox"> |
| 3739 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 3740 | <font resource="font" color="%text_color%" /> |
| 3741 | <text>Wipe Cache.</text> |
| 3742 | <data variable="tw_wipe_cache" /> |
| 3743 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 3744 | </object> |
| 3745 | |
| 3746 | <object type="slider"> |
| 3747 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3748 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3749 | <actions> |
| 3750 | <action function="set">tw_back=advanced</action> |
| 3751 | <action function="set">tw_action=adbsideload</action> |
| 3752 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 3753 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 3754 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 3755 | <action function="set">tw_has_cancel=1</action> |
| 3756 | <action function="set">tw_show_reboot=1</action> |
| 3757 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 3758 | <action function="page">action_page</action> |
| 3759 | </actions> |
| 3760 | </object> |
| 3761 | |
| 3762 | <object type="text" color="%text_color%"> |
| 3763 | <font resource="font" /> |
| 3764 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3765 | <text>Swipe to Start Sideload</text> |
| 3766 | </object> |
| 3767 | |
| 3768 | <object type="action"> |
| 3769 | <touch key="home" /> |
| 3770 | <action function="page">main</action> |
| 3771 | </object> |
| 3772 | |
| 3773 | <object type="action"> |
| 3774 | <touch key="back" /> |
| 3775 | <action function="page">advanced</action> |
| 3776 | </object> |
| 3777 | |
| 3778 | <object type="template" name="footer" /> |
| 3779 | </page> |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 3780 | |
| 3781 | <page name="installsu"> |
| 3782 | <object type="template" name="header" /> |
| 3783 | |
| 3784 | <object type="text" color="%text_color%"> |
| 3785 | <font resource="font" /> |
| 3786 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3787 | <text>Install SuperSU?</text> |
| 3788 | </object> |
| 3789 | |
| 3790 | <object type="text" color="%text_color%"> |
| 3791 | <font resource="font" /> |
| 3792 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3793 | <text>Your device does not appear to be rooted.</text> |
| 3794 | </object> |
| 3795 | |
| 3796 | <object type="text" color="%text_color%"> |
| 3797 | <font resource="font" /> |
| 3798 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3799 | <text>Install SuperSU now?</text> |
| 3800 | </object> |
| 3801 | |
| 3802 | <object type="text" color="%text_color%"> |
| 3803 | <font resource="font" /> |
| 3804 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3805 | <text>This will root your device.</text> |
| 3806 | </object> |
| 3807 | |
| 3808 | <object type="button"> |
| 3809 | <highlight color="%highlight_color%" /> |
| 3810 | <placement x="%col_center_x%" y="%row3_y%" /> |
| 3811 | <font resource="font" color="%button_text_color%" /> |
| 3812 | <text>Do Not Install</text> |
| 3813 | <image resource="main_button" /> |
| 3814 | <action function="set">tw_page_done=1</action> |
| 3815 | </object> |
| 3816 | |
| 3817 | <object type="slider"> |
| 3818 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3819 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3820 | <actions> |
| 3821 | <action function="set">tw_action=installsu</action> |
| 3822 | <action function="set">tw_action_text1=Installing SuperSU</action> |
| 3823 | <action function="set">tw_action_text2=</action> |
| 3824 | <action function="page">singleaction_page</action> |
| 3825 | </actions> |
| 3826 | </object> |
| 3827 | |
| 3828 | <object type="text" color="%text_color%"> |
| 3829 | <font resource="font" /> |
| 3830 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3831 | <text>Swipe to Install</text> |
| 3832 | </object> |
| 3833 | </page> |
| 3834 | |
| 3835 | <page name="fixsu"> |
| 3836 | <object type="template" name="header" /> |
| 3837 | |
| 3838 | <object type="text" color="%text_color%"> |
| 3839 | <font resource="font" /> |
| 3840 | <placement x="%center_x%" y="%row1_header_y%" placement="5"/> |
| 3841 | <text>Fix Superuser Permissions?</text> |
| 3842 | </object> |
| 3843 | |
| 3844 | <object type="text" color="%text_color%"> |
| 3845 | <font resource="font" /> |
| 3846 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3847 | <text>Root permissions appear to be lost.</text> |
| 3848 | </object> |
| 3849 | |
| 3850 | <object type="text" color="%text_color%"> |
| 3851 | <font resource="font" /> |
| 3852 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3853 | <text>Fix root permissions now?</text> |
| 3854 | </object> |
| 3855 | |
| 3856 | <object type="text" color="%text_color%"> |
| 3857 | <font resource="font" /> |
| 3858 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3859 | <text>(Fixes permissions on su binary & app)</text> |
| 3860 | </object> |
| 3861 | |
| 3862 | <object type="button"> |
| 3863 | <highlight color="%highlight_color%" /> |
| 3864 | <placement x="%col_center_x%" y="%row3_y%" /> |
| 3865 | <font resource="font" color="%button_text_color%" /> |
| 3866 | <text>Do Not Fix</text> |
| 3867 | <image resource="main_button" /> |
| 3868 | <action function="set">tw_page_done=1</action> |
| 3869 | </object> |
| 3870 | |
| 3871 | <object type="slider"> |
| 3872 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3873 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3874 | <actions> |
| 3875 | <action function="set">tw_action=fixsu</action> |
| 3876 | <action function="set">tw_action_text1=Fixing Root Permissions</action> |
| 3877 | <action function="set">tw_action_text2=</action> |
| 3878 | <action function="page">singleaction_page</action> |
| 3879 | </actions> |
| 3880 | </object> |
| 3881 | |
| 3882 | <object type="text" color="%text_color%"> |
| 3883 | <font resource="font" /> |
| 3884 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3885 | <text>Swipe to Fix Root</text> |
| 3886 | </object> |
| 3887 | </page> |
Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame] | 3888 | </pages> |
| 3889 | </recovery> |