diff options
Diffstat (limited to 'gui/devices/watch/res')
-rw-r--r-- | gui/devices/watch/res/watch.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml index c40e981ff..d6a3fa8a2 100644 --- a/gui/devices/watch/res/watch.xml +++ b/gui/devices/watch/res/watch.xml @@ -3261,6 +3261,11 @@ <page name="decrypt"> <object type="template" name="header" /> + <object type="action"> + <condition var1="tw_crypto_pwtype" var2="2" /> + <action function="page">decrypt_pattern</action> + </object> + <object type="text"> <placement x="%center_x%" y="%row1_header_y%" placement="5" /> <text>Please Enter Your Password</text> @@ -3297,6 +3302,41 @@ <object type="template" name="footer" /> </page> + <page name="decrypt_pattern"> + <object type="template" name="header" /> + + <object type="text"> + <placement x="%center_x%" y="%row1_header_y%" placement="5" /> + <text>Please Enter Your Pattern</text> + </object> + + <object type="text"> + <condition var1="tw_password_fail" var2="1" /> + <font resource="font" color="%text_fail_color%"/> + <placement x="%center_x%" y="%row1_text_y%" placement="5" /> + <text>Pattern Failed, Please Try Again</text> + </object> + + <object type="patternpassword"> + <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" /> + <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" /> + <line color="%pattern_line_color%" width="%pattern_line_width%" /> + <data name="tw_crypto_password"/> + <action function="page">trydecrypt</action> + </object> + + <object type="button"> + <placement x="%col_center_x%" y="%row4_y%" /> + <text>Cancel</text> + <actions> + <action function="set">tw_page_done=1</action> + <action function="page">main</action> + </actions> + </object> + + <object type="template" name="footer" /> + </page> + <page name="trydecrypt"> <object type="template" name="header" /> |