Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
| 5 | <resolution width="320" height="320" /> |
Ethan Yonker | 63e414f | 2015-02-06 15:44:39 -0600 | [diff] [blame] | 6 | <roundscreen offset_x="40" offset_y="40" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 7 | <author>TeamWin</author> |
| 8 | <title>Backup Naowz</title> |
| 9 | <description>Default basic theme</description> |
| 10 | <preview>preview.jpg</preview> |
| 11 | </details> |
| 12 | |
| 13 | <include> |
| 14 | <xmlfile name="watch.xml" /> |
| 15 | </include> |
| 16 | |
| 17 | <resources> |
Ethan Yonker | 88037f4 | 2015-10-04 22:09:08 -0500 | [diff] [blame] | 18 | <resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 19 | <resource name="mediumfont" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
| 20 | <resource name="filelist" type="font" filename="RobotoCondensed-Regular.ttf" size="14" /> |
Matt Mower | 989709a | 2015-02-26 00:34:36 -0600 | [diff] [blame] | 21 | <resource name="fixed" type="font" filename="DroidSansMono.ttf" size="12" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 22 | <resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 23 | <resource name="main_button" type="image" filename="menu-button" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 24 | <resource name="file_icon" type="image" filename="file" retainaspect="1" /> |
| 25 | <resource name="folder_icon" type="image" filename="folder" retainaspect="1" /> |
| 26 | <resource name="slideout" type="image" filename="slideout" retainaspect="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 27 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 28 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 29 | <resource name="progress_full" type="image" filename="progress_fill" /> |
Ethan Yonker | 63e414f | 2015-02-06 15:44:39 -0600 | [diff] [blame] | 30 | <resource name="checkbox_false" type="image" filename="checkbox_empty" retainaspect="1" /> |
| 31 | <resource name="checkbox_true" type="image" filename="checkbox_checked" retainaspect="1" /> |
| 32 | <resource name="radio_false" type="image" filename="radio_empty" retainaspect="1" /> |
| 33 | <resource name="radio_true" type="image" filename="radio_selected" retainaspect="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 34 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 35 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 36 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 37 | <resource name="plus_button" type="image" filename="plus-button" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 38 | <resource name="home_icon" type="image" filename="home-icon" retainaspect="1" /> |
| 39 | <resource name="back_icon" type="image" filename="back-icon" retainaspect="1" /> |
| 40 | <resource name="slider" type="image" filename="slider" retainaspect="1" /> |
| 41 | <resource name="slider-used" type="image" filename="slider-used" retainaspect="1" /> |
| 42 | <resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" /> |
| 43 | <resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 44 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 45 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 46 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 47 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
Ethan Yonker | 63e414f | 2015-02-06 15:44:39 -0600 | [diff] [blame] | 48 | <resource name="cursor" type="image" filename="cursor" retainaspect="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 49 | </resources> |
| 50 | |
| 51 | <variables> |
| 52 | <variable name="col1_x" value="6" /> |
| 53 | <variable name="col2_x" value="170" /> |
| 54 | <variable name="col_center_x" value="88" /> |
| 55 | <variable name="col_center_medium_x" value="130" /> |
| 56 | <variable name="center_x" value="160" /> |
| 57 | <variable name="row1_home_y" value="50" /> |
| 58 | <variable name="row2_home_y" value="110" /> |
| 59 | <variable name="row3_home_y" value="170" /> |
| 60 | <variable name="row4_home_y" value="230" /> |
| 61 | <variable name="row1_y" value="30" /> |
| 62 | <variable name="row2_y" value="100" /> |
| 63 | <variable name="row3_y" value="170" /> |
| 64 | <variable name="row4_y" value="240" /> |
| 65 | <variable name="row_queue_y" value="184" /> |
| 66 | <variable name="row1_header_y" value="0" /> |
| 67 | <variable name="row1_text_y" value="22" /> |
| 68 | <variable name="row2_text_y" value="44" /> |
| 69 | <variable name="row3_text_y" value="66" /> |
| 70 | <variable name="row4_text_y" value="88" /> |
| 71 | <variable name="row5_text_y" value="110" /> |
| 72 | <variable name="row6_text_y" value="132" /> |
| 73 | <variable name="row7_text_y" value="154" /> |
| 74 | <variable name="row8_text_y" value="176" /> |
| 75 | <variable name="row9_text_y" value="198" /> |
| 76 | <variable name="row10_text_y" value="220" /> |
| 77 | <variable name="row11_text_y" value="242" /> |
| 78 | <variable name="row12_text_y" value="284" /> |
| 79 | <variable name="row13_text_y" value="306" /> |
| 80 | <variable name="zip_status_y" value="300" /> |
Ethan Yonker | 96af84a | 2015-01-05 14:58:36 -0600 | [diff] [blame] | 81 | <variable name="flash_list_height" value="160" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 82 | <variable name="backup_text_y" value="60" /> |
| 83 | <variable name="col_progressbar_x" value="34" /> |
| 84 | <variable name="row_progressbar_y" value="285" /> |
| 85 | <variable name="col1_medium_x" value="6" /> |
| 86 | <variable name="col2_medium_x" value="83" /> |
| 87 | <variable name="col3_medium_x" value="174" /> |
| 88 | <variable name="col4_medium_x" value="254" /> |
| 89 | <variable name="row1_medium_y" value="24" /> |
| 90 | <variable name="row2_medium_y" value="40" /> |
| 91 | <variable name="row3_medium_y" value="56" /> |
| 92 | <variable name="row4_medium_y" value="72" /> |
| 93 | <variable name="row5_medium_y" value="88" /> |
| 94 | <variable name="row6_medium_y" value="104" /> |
| 95 | <variable name="row7_medium_y" value="120" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 96 | <variable name="slider_y" value="268" /> |
| 97 | <variable name="slider_text_y" value="294" /> |
| 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" /> |
| 102 | <variable name="highlight_color" value="#90909080" /> |
| 103 | <variable name="caps_highlight_color" value="#33B5E580" /> |
| 104 | <variable name="home_button_x" value="3" /> |
| 105 | <variable name="home_button_y" value="300" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 106 | <variable name="back_button_x" value="317" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 107 | <variable name="back_button_y" value="300" /> |
| 108 | <variable name="sort_text_x" value="20" /> |
| 109 | <variable name="sort_asc_text_y" value="232" /> |
| 110 | <variable name="sort_asc_button_y" value="230" /> |
| 111 | <variable name="sort_desc_text_y" value="262" /> |
| 112 | <variable name="sort_desc_button_y" value="260" /> |
| 113 | <variable name="sort_col1_button_x" value="135" /> |
| 114 | <variable name="sort_col2_button_x" value="195" /> |
| 115 | <variable name="sort_col3_button_x" value="255" /> |
| 116 | <variable name="input_width" value="308" /> |
| 117 | <variable name="input_width_conf" value="10" /> |
| 118 | <variable name="input_height" value="18" /> |
| 119 | <variable name="input_background_color" value="#303030" /> |
| 120 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 121 | <variable name="input_cursor_width" value="2" /> |
| 122 | <variable name="console_x" value="0" /> |
| 123 | <variable name="console_width" value="320" /> |
| 124 | <variable name="console_foreground" value="#A0A0A0" /> |
| 125 | <variable name="warning" value="#F8F8A0" /> |
| 126 | <variable name="error" value="#FF4040" /> |
| 127 | <variable name="highlight" value="#33B5E5" /> |
| 128 | <variable name="console_background" value="#303030" /> |
| 129 | <variable name="console_scroll" value="#303030" /> |
| 130 | <variable name="console_action_height" value="160" /> |
| 131 | <variable name="console_install_height" value="160" /> |
| 132 | <variable name="console_installdone_height" value="160" /> |
| 133 | <variable name="fileselector_x" value="0" /> |
| 134 | <variable name="fileselector_y" value="44" /> |
| 135 | <variable name="fileselector_width" value="320" /> |
| 136 | <variable name="fileselector_install_height" value="182" /> |
| 137 | <variable name="fileselector_header_background" value="#202020" /> |
| 138 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 139 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 140 | <variable name="fileselector_header_separatorheight" value="2" /> |
| 141 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 142 | <variable name="fileselector_separatorheight" value="1" /> |
| 143 | <variable name="fileselector_background" value="#303030" /> |
| 144 | <variable name="fileselector_highlight_color" value="#505050" /> |
| 145 | <variable name="fileselector_highlight_font_color" value="#33B5E5" /> |
| 146 | <variable name="fileselector_spacing" value="12" /> |
that | 18e13a9 | 2015-03-05 22:38:43 +0100 | [diff] [blame] | 147 | <variable name="fastscroll_linecolor" value="#50505080" /> |
| 148 | <variable name="fastscroll_rectcolor" value="#33B5E580" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 149 | <variable name="fastscroll_w" value="32" /> |
| 150 | <variable name="fastscroll_linew" value="1" /> |
that | 18e13a9 | 2015-03-05 22:38:43 +0100 | [diff] [blame] | 151 | <variable name="fastscroll_rectw" value="7" /> |
| 152 | <variable name="fastscroll_recth" value="24" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 153 | <variable name="listbox_x" value="0" /> |
| 154 | <variable name="listbox_width" value="320" /> |
| 155 | <variable name="listbox_background" value="#303030" /> |
| 156 | <variable name="listbox_spacing" value="12" /> |
| 157 | <variable name="sd_plus_x" value="174" /> |
| 158 | <variable name="sdext_text_x" value="56" /> |
| 159 | <variable name="sdext_text_y" value="18" /> |
| 160 | <variable name="sdswap_button_y" value="45" /> |
| 161 | <variable name="sdswap_text_x" value="56" /> |
| 162 | <variable name="sdswap_text_y" value="47" /> |
| 163 | <variable name="sdfilesystem_text_y" value="92" /> |
| 164 | <variable name="sdfilesystem_button_y" value="120" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 165 | <variable name="lock_y" value="120" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 166 | <variable name="filemanager_select_x" value="130" /> |
| 167 | <variable name="filemanager_select_y" value="280" /> |
| 168 | <variable name="terminal_console_height" value="126" /> |
| 169 | <variable name="terminal_text_y" value="128" /> |
| 170 | <variable name="terminal_button_y" value="300" /> |
| 171 | <variable name="listbox_tz_height" value="159" /> |
| 172 | <variable name="row_dst_text_y" value="162" /> |
| 173 | <variable name="row_offset_text_y" value="184" /> |
| 174 | <variable name="row_offset_medium_y" value="206" /> |
| 175 | <variable name="tz_set_y" value="271" /> |
| 176 | <variable name="tz_current_y" value="249" /> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 177 | <variable name="system_ro_y" value="216" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 178 | <variable name="button_fill_color" value="#303030" /> |
| 179 | <variable name="button_fill_full_width" value="308" /> |
| 180 | <variable name="button_fill_main_width" value="150" /> |
| 181 | <variable name="button_fill_med_width" value="72" /> |
| 182 | <variable name="button_fill_small_width" value="36" /> |
| 183 | <variable name="button_fill_main_height" value="44" /> |
| 184 | <variable name="button_fill_half_height" value="22" /> |
| 185 | <variable name="button_fill_quarter_height" value="22" /> |
| 186 | <variable name="button_refresh_x" value="152" /> |
| 187 | <variable name="backup_list_y" value="26" /> |
| 188 | <variable name="backup_list_height" value="184" /> |
| 189 | <variable name="restore_list_height" value="206" /> |
| 190 | <variable name="backup_button_row1" value="214" /> |
| 191 | <variable name="backup_button_row2" value="242" /> |
| 192 | <variable name="mount_list_height" value="190" /> |
Ethan Yonker | eb32b1f | 2015-05-18 10:23:03 -0500 | [diff] [blame] | 193 | <variable name="mount_storage_row" value="193" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 194 | <variable name="storage_list_height" value="134" /> |
| 195 | <variable name="wipe_list_height" value="216" /> |
| 196 | <variable name="wipe_button_y" value="170" /> |
| 197 | <variable name="slidervalue_w" value="308" /> |
| 198 | <variable name="slidervalue_line_clr" value="#FFFFFF" /> |
| 199 | <variable name="slidervalue_slider_clr" value="#33B5E5" /> |
| 200 | <variable name="slidervalue_lineh" value="1" /> |
| 201 | <variable name="slidervalue_padding" value="8" /> |
| 202 | <variable name="slidervalue_sliderw" value="4" /> |
| 203 | <variable name="slidervalue_sliderh" value="20" /> |
| 204 | <variable name="wipe_button_row1" value="240" /> |
| 205 | <variable name="invalid_partition_y" value="218" /> |
Vojtech Bocek | 7e11ac5 | 2015-03-05 23:21:49 +0100 | [diff] [blame] | 206 | <variable name="pattern_x" value="70" /> |
| 207 | <variable name="pattern_y" value="22" /> |
| 208 | <variable name="pattern_width" value="180" /> |
| 209 | <variable name="pattern_dot_color" value="#33B5E5" /> |
| 210 | <variable name="pattern_dot_color_active" value="#FFFFFF" /> |
| 211 | <variable name="pattern_dot_radius" value="7" /> |
| 212 | <variable name="pattern_line_color" value="#33B5E5" /> |
| 213 | <variable name="pattern_line_width" value="4" /> |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 214 | <variable name="pattern_button_y" value="33" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 215 | </variables> |
| 216 | |
| 217 | <templates> |
| 218 | <template name="twrpheader"> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 219 | <object type="fill" color="%button_fill_color%"> |
| 220 | <placement x="0" y="0" w="320" h="26" /> |
| 221 | </object> |
| 222 | |
| 223 | <object type="fill" color="%highlight%"> |
| 224 | <placement x="0" y="26" w="320" h="1" /> |
| 225 | </object> |
| 226 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 227 | <object type="image"> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 228 | <image resource="twrplogo" /> |
| 229 | <placement x="13" y="13" placement="4" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 230 | </object> |
| 231 | |
| 232 | <object type="text" color="%text_color%"> |
| 233 | <font resource="font" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 234 | <placement x="25" y="3" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 235 | <text>TWRP v%tw_version%</text> |
| 236 | </object> |
| 237 | |
| 238 | <object type="text" color="%text_fail_color%"> |
| 239 | <condition var1="tw_simulate_actions" var2="1" /> |
| 240 | <font resource="font" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 241 | <placement x="25" y="21" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 242 | <text>SIMULATION</text> |
| 243 | </object> |
| 244 | |
| 245 | <object type="text" color="%text_color%"> |
| 246 | <font resource="font" /> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 247 | <placement x="160" y="3" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 248 | <text>%tw_time%</text> |
| 249 | </object> |
| 250 | |
| 251 | <object type="text" color="%text_color%"> |
| 252 | <font resource="font" /> |
Ethan Yonker | e2b2902 | 2014-07-30 09:32:59 -0500 | [diff] [blame] | 253 | <placement x="316" y="3" placement="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 254 | <conditions> |
| 255 | <condition var1="tw_no_battery_percent" var2="0" /> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 256 | <condition var1="tw_battery" op=">" var2="0" /> |
| 257 | <condition var1="tw_battery" op="<" var2="101" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 258 | </conditions> |
| 259 | <text>%tw_battery%</text> |
| 260 | </object> |
Jenkins | 1710bf2 | 2014-10-02 20:22:21 -0400 | [diff] [blame] | 261 | |
| 262 | <object type="text" color="%text_color%"> |
| 263 | <font resource="font" /> |
| 264 | <placement x="190" y="3" /> |
| 265 | <conditions> |
| 266 | <condition var1="tw_no_cpu_temp" var2="0" /> |
| 267 | </conditions> |
Ketut Putu Kumajaya | f13b893 | 2015-08-05 20:40:24 +0200 | [diff] [blame] | 268 | <text>CPU: %tw_cpu_temp% °C</text> |
Jenkins | 1710bf2 | 2014-10-02 20:22:21 -0400 | [diff] [blame] | 269 | </object> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 270 | </template> |
| 271 | |
| 272 | <template name="header"> |
| 273 | <background color="#000000FF" /> |
| 274 | |
| 275 | <object type="button"> |
| 276 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 277 | <font resource="font" color="%button_text_color%" /> |
| 278 | <text></text> |
| 279 | <image resource="home_icon" /> |
| 280 | <condition var1="tw_busy" var2="0" /> |
| 281 | <action function="key">home</action> |
| 282 | </object> |
| 283 | |
| 284 | <object type="button"> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 285 | <placement x="%back_button_x%" y="%back_button_y%" placement="1" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 286 | <font resource="font" color="%button_text_color%" /> |
| 287 | <text></text> |
| 288 | <image resource="back_icon" /> |
| 289 | <condition var1="tw_busy" var2="0" /> |
| 290 | <action function="key">back</action> |
| 291 | </object> |
| 292 | |
| 293 | <object type="action"> |
| 294 | <touch key="power" /> |
Vojtech Bocek | 8360a34 | 2015-01-07 20:40:56 +0100 | [diff] [blame] | 295 | <action function="key">back</action> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 296 | </object> |
| 297 | |
| 298 | <object type="action"> |
| 299 | <touch key="power+voldown" /> |
| 300 | <action function="screenshot" /> |
| 301 | </object> |
| 302 | </template> |
| 303 | |
| 304 | <template name="progress_bar"> |
| 305 | <object type="progressbar"> |
| 306 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 307 | <resource empty="progress_empty" full="progress_full" /> |
| 308 | <data name="ui_progress" /> |
| 309 | </object> |
| 310 | |
| 311 | <object type="animation"> |
| 312 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 313 | <resource name="progress" /> |
| 314 | <speed fps="15" render="2" /> |
| 315 | <loop frame="1" /> |
| 316 | </object> |
| 317 | </template> |
| 318 | |
| 319 | <template name="action_page_console"> |
| 320 | <object type="console"> |
| 321 | <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" /> |
| 322 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 323 | <font resource="fixed" /> |
| 324 | </object> |
| 325 | </template> |
| 326 | |
Aleksa Sarai | b25a183 | 2015-12-31 17:36:00 +0100 | [diff] [blame] | 327 | <template name="pattern_options"> |
| 328 | <object type="button"> |
| 329 | <placement x="%col1_medium_x%" y="%pattern_button_y%" /> |
| 330 | <font resource="font" color="%button_text_color%" /> |
| 331 | <text>3x3</text> |
| 332 | <image resource="sort_button" /> |
| 333 | <action function="set">tw_gui_pattern_grid_size=3</action> |
| 334 | </object> |
| 335 | |
| 336 | <object type="button"> |
| 337 | <placement x="%col2_medium_x%" y="%pattern_button_y%" /> |
| 338 | <font resource="font" color="%button_text_color%" /> |
| 339 | <text>4x4</text> |
| 340 | <image resource="sort_button" /> |
| 341 | <action function="set">tw_gui_pattern_grid_size=4</action> |
| 342 | </object> |
| 343 | |
| 344 | <object type="button"> |
| 345 | <placement x="%col3_medium_x%" y="%pattern_button_y%" /> |
| 346 | <font resource="font" color="%button_text_color%" /> |
| 347 | <text>5x5</text> |
| 348 | <image resource="sort_button" /> |
| 349 | <action function="set">tw_gui_pattern_grid_size=5</action> |
| 350 | </object> |
| 351 | |
| 352 | <object type="button"> |
| 353 | <placement x="%col4_medium_x%" y="%pattern_button_y%" /> |
| 354 | <font resource="font" color="%button_text_color%" /> |
| 355 | <text>6x6</text> |
| 356 | <image resource="sort_button" /> |
| 357 | <action function="set">tw_gui_pattern_grid_size=6</action> |
| 358 | </object> |
| 359 | </template> |
| 360 | |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 361 | <template name="sort_options"> |
| 362 | <object type="text" color="%text_color%"> |
| 363 | <font resource="mediumfont" /> |
| 364 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 365 | <text>Sort Ascending:</text> |
| 366 | </object> |
| 367 | |
| 368 | <object type="button"> |
| 369 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 370 | <font resource="mediumfont" color="%button_text_color%" /> |
| 371 | <text>Name</text> |
| 372 | <image resource="sort_button" /> |
| 373 | <action function="set">tw_gui_sort_order=1</action> |
| 374 | </object> |
| 375 | |
| 376 | <object type="button"> |
| 377 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 378 | <font resource="mediumfont" color="%button_text_color%" /> |
| 379 | <text>Date</text> |
| 380 | <image resource="sort_button" /> |
| 381 | <action function="set">tw_gui_sort_order=2</action> |
| 382 | </object> |
| 383 | |
| 384 | <object type="button"> |
| 385 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 386 | <font resource="mediumfont" color="%button_text_color%" /> |
| 387 | <text>Size</text> |
| 388 | <image resource="sort_button" /> |
| 389 | <action function="set">tw_gui_sort_order=3</action> |
| 390 | </object> |
| 391 | |
| 392 | <object type="text" color="%text_color%"> |
| 393 | <font resource="mediumfont" /> |
| 394 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 395 | <text>Sort Descending:</text> |
| 396 | </object> |
| 397 | |
| 398 | <object type="button"> |
| 399 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 400 | <font resource="mediumfont" color="%button_text_color%" /> |
| 401 | <text>Name</text> |
| 402 | <image resource="sort_button" /> |
| 403 | <action function="set">tw_gui_sort_order=-1</action> |
| 404 | </object> |
| 405 | |
| 406 | <object type="button"> |
| 407 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 408 | <font resource="mediumfont" color="%button_text_color%" /> |
| 409 | <text>Date</text> |
| 410 | <image resource="sort_button" /> |
| 411 | <action function="set">tw_gui_sort_order=-2</action> |
| 412 | </object> |
| 413 | |
| 414 | <object type="button"> |
| 415 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 416 | <font resource="mediumfont" color="%button_text_color%" /> |
| 417 | <text>Size</text> |
| 418 | <image resource="sort_button" /> |
| 419 | <action function="set">tw_gui_sort_order=-3</action> |
| 420 | </object> |
| 421 | </template> |
| 422 | |
| 423 | <template name="footer"> |
| 424 | <object type="console"> |
Ethan Yonker | 591b920 | 2015-03-11 11:17:15 -0500 | [diff] [blame] | 425 | <slideout resource="slideout" x="%center_x%" y="288" placement="5" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 426 | <placement x="%console_x%" y="0" w="%console_width%" h="288" /> |
| 427 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 428 | <font resource="fixed" /> |
| 429 | </object> |
| 430 | </template> |
| 431 | |
| 432 | <template name="keyboardtemplate"> |
| 433 | <object type="keyboard"> |
| 434 | <placement x="0" y="150" /> |
| 435 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
| 436 | <highlight color="%highlight_color%" /> |
| 437 | <capshighlight color="%caps_highlight_color%" /> |
| 438 | <layout1> |
| 439 | <keysize height="36" width="32" /> |
| 440 | <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" /> |
| 441 | <row2 key01="48:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="48:l" /> |
| 442 | <row3 key01="48:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="48:c:8" /> |
| 443 | <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:a:action" /> |
| 444 | </layout1> |
| 445 | <layout2> |
| 446 | <keysize height="36" width="32" capslock="0" revert_layout="1" /> |
| 447 | <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" /> |
| 448 | <row2 key01="48:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="48:L" /> |
| 449 | <row3 key01="48:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="48:c:8" /> |
| 450 | <row4 key01="48:layout3" key02="32:," key03="160: " key04="32:." key05="48:action" /> |
| 451 | </layout2> |
| 452 | <layout3> |
| 453 | <keysize height="36" width="32" /> |
| 454 | <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" /> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 455 | <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 456 | <row3 key01="48:layout4" key02="!" key03="32:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="48:c:8" /> |
| 457 | <row4 key01="48:layout1" key02="32:," key03="160: " key04="32:." key05="48:action" /> |
| 458 | </layout3> |
| 459 | <layout4> |
| 460 | <keysize height="36" width="32" /> |
| 461 | <row1 key01="~" key02="`" key03="|" key04="32:" key05="32:" key06="32:" key07="%" key08="32:" key09="{" key10="}" /> |
| 462 | <row2 key01="32:" key02="32:" key03="32:" key04="32:" key05="32:" key06="^" key07="_" key08="=" key09="[" key10="]" /> |
Matt Mower | 8293153 | 2015-02-27 14:19:59 -0600 | [diff] [blame] | 463 | <row3 key01="48:layout3" key02="32:" key03="32:" key04="32:" key05="32:" key06="\" key07="<" key08=">" key09="48:c:8" /> |
Ethan Yonker | d9b7200 | 2014-07-30 08:46:28 -0500 | [diff] [blame] | 464 | <row4 key01="48:layout1" key02="32:c:34" key03="160: " key04="32:." key05="48:action" /> |
| 465 | </layout4> |
| 466 | </object> |
| 467 | </template> |
| 468 | </templates> |
| 469 | </recovery> |