From 4091c4c965253395374a576280e4dbc54fb083ea Mon Sep 17 00:00:00 2001 From: unitraxx Date: Sat, 27 Jul 2013 20:55:10 +0000 Subject: [PATCH] Recovery dialog finally added. Some additional GUI changes. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13361 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/gui/online/recovery_info.stkgui | 23 +++ data/gui/online/recovery_input.stkgui | 46 +++++ .../gui/online/registration_activation.stkgui | 28 --- data/gui/online/registration_info.stkgui | 52 +---- data/gui/online/registration_input.stkgui | 61 ++++++ data/gui/online/registration_terms.stkgui | 2 +- sources.cmake | 2 + src/online/current_user.cpp | 14 ++ src/online/current_user.hpp | 7 +- src/online/messages.cpp | 5 + src/online/messages.hpp | 1 + src/online/request.cpp | 4 +- src/states_screens/dialogs/login_dialog.cpp | 14 +- src/states_screens/dialogs/login_dialog.hpp | 1 + .../dialogs/recovery_dialog.cpp | 190 ++++++++++++++++++ .../dialogs/recovery_dialog.hpp | 71 +++++++ .../dialogs/registration_dialog.cpp | 168 +++++++--------- .../dialogs/registration_dialog.hpp | 23 +-- 18 files changed, 522 insertions(+), 190 deletions(-) create mode 100644 data/gui/online/recovery_info.stkgui create mode 100644 data/gui/online/recovery_input.stkgui delete mode 100644 data/gui/online/registration_activation.stkgui create mode 100644 data/gui/online/registration_input.stkgui create mode 100644 src/states_screens/dialogs/recovery_dialog.cpp create mode 100644 src/states_screens/dialogs/recovery_dialog.hpp diff --git a/data/gui/online/recovery_info.stkgui b/data/gui/online/recovery_info.stkgui new file mode 100644 index 000000000..07cffd12c --- /dev/null +++ b/data/gui/online/recovery_info.stkgui @@ -0,0 +1,23 @@ + + +
+ +
+ + + +
+ +
diff --git a/data/gui/online/recovery_input.stkgui b/data/gui/online/recovery_input.stkgui new file mode 100644 index 000000000..26a8a7da0 --- /dev/null +++ b/data/gui/online/recovery_input.stkgui @@ -0,0 +1,46 @@ + + +
+ +
+ + + +
+ +
diff --git a/data/gui/online/registration_activation.stkgui b/data/gui/online/registration_activation.stkgui deleted file mode 100644 index a7d5ec82c..000000000 --- a/data/gui/online/registration_activation.stkgui +++ /dev/null @@ -1,28 +0,0 @@ - - -
- -
- - - -
- -
diff --git a/data/gui/online/registration_info.stkgui b/data/gui/online/registration_info.stkgui index 0617b87bc..5d8b6d12a 100644 --- a/data/gui/online/registration_info.stkgui +++ b/data/gui/online/registration_info.stkgui @@ -3,58 +3,20 @@
+ I18N="In the registration dialog' dialog" text="Registration Complete"/> - + -
-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
- - - -
diff --git a/data/gui/online/registration_input.stkgui b/data/gui/online/registration_input.stkgui new file mode 100644 index 000000000..cdcf59772 --- /dev/null +++ b/data/gui/online/registration_input.stkgui @@ -0,0 +1,61 @@ + + +
+ +
+ + + +
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+ + + +
+ +
diff --git a/data/gui/online/registration_terms.stkgui b/data/gui/online/registration_terms.stkgui index edda8527b..5ba2b1bad 100644 --- a/data/gui/online/registration_terms.stkgui +++ b/data/gui/online/registration_terms.stkgui @@ -19,7 +19,7 @@