From 856a21a47e36a48b5343ae8e65917eded163ef77 Mon Sep 17 00:00:00 2001 From: unitraxx Date: Mon, 5 Aug 2013 02:03:33 +0000 Subject: [PATCH] start of profiles git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13416 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/gui/online/main.stkgui | 8 +- data/gui/online/profile_overview.stkgui | 22 ++++ data/gui/online/registration_terms.stkgui | 7 +- sources.cmake | 8 +- src/addons/addon.hpp | 4 +- src/addons/addons_manager.cpp | 2 +- src/addons/addons_manager.hpp | 2 +- src/online/profile_manager.cpp | 70 +++++++++++ src/online/profile_manager.hpp | 80 ++++++++++++ .../dialogs/registration_dialog.cpp | 17 +++ .../networking_lobby_settings.cpp | 116 ------------------ .../online_profile_overview.cpp | 96 +++++++++++++++ ...ttings.hpp => online_profile_overview.hpp} | 47 +++---- src/states_screens/online_screen.cpp | 10 +- src/states_screens/online_screen.hpp | 1 + 15 files changed, 327 insertions(+), 163 deletions(-) create mode 100644 data/gui/online/profile_overview.stkgui create mode 100644 src/online/profile_manager.cpp create mode 100644 src/online/profile_manager.hpp delete mode 100644 src/states_screens/networking_lobby_settings.cpp create mode 100644 src/states_screens/online_profile_overview.cpp rename src/states_screens/{networking_lobby_settings.hpp => online_profile_overview.hpp} (50%) diff --git a/data/gui/online/main.stkgui b/data/gui/online/main.stkgui index a500db436..7bdc3e2f1 100644 --- a/data/gui/online/main.stkgui +++ b/data/gui/online/main.stkgui @@ -33,11 +33,13 @@ + I18N="Online menu button" text="Sign In" label_location="hover"/> + I18N="Online menu button" text="Register" label_location="hover"/> + + I18N="Online menu button" text="Sign Out" label_location="hover"/> diff --git a/data/gui/online/profile_overview.stkgui b/data/gui/online/profile_overview.stkgui new file mode 100644 index 000000000..299d4b5f4 --- /dev/null +++ b/data/gui/online/profile_overview.stkgui @@ -0,0 +1,22 @@ + + +
+ +
+ + + + + + + + +
+ +
+
+
+ + + +
diff --git a/data/gui/online/registration_terms.stkgui b/data/gui/online/registration_terms.stkgui index 5ba2b1bad..d0a33e220 100644 --- a/data/gui/online/registration_terms.stkgui +++ b/data/gui/online/registration_terms.stkgui @@ -6,9 +6,10 @@ I18N="In the registration dialog' dialog" text="Terms and Agreement"/> - -