summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-15Allow pressing enter with focus in port fieldBjørn Lindeijer1-1/+2
Added action event id to port field of login dialog.
2009-02-15Merge branch 'aethyra/master'Bjørn Lindeijer1-7/+0
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Deleted some unneeded delete statements.Ira Rice1-7/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-5/+5
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer1-5/+5
2009-02-10Fixed default server port.Philipp Sehmisch1-4/+1
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-4/+5
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-15/+201
Conflicts: Almost everywhere.
2009-02-04Cleaned up some login includes that I missed earlier.Ira Rice1-3/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-0/+1
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-03Modified the dropdown class to handle opacity.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-21Added the straight IP address for the server to the default servers, soIra Rice1-0/+2
that people can see that option if the DNS server isn't resolving the web address. While this shouldn't ever be an issue, it could occur in some parts of the world at various times and for various reasons. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-16Some small layout tweaks, as well as making a few dialogs moreIra Rice1-7/+7
consistent UI-wise (continue-like functionality is always in the bottom right corner, with canceling to the left of it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-19/+10
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Merged layout handler from mainlineBjørn Lindeijer1-57/+20
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for internationalizationIra Rice1-10/+11
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Merged layout handler from mainlineBjørn Lindeijer1-43/+16
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for internationalizationBjørn Lindeijer1-9/+11
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-8/+6
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-11-06Minor interface cleanup. Moved the login selection scrollbox so that it Ira Rice1-1/+4
aligns up with the other fields.
2008-11-03Fixed login server order, so as to not confuse new people.Ira Rice1-1/+1
2008-09-29Modified the client so that it displays both servers as server choices, Ira Rice1-11/+15
as well as changing the default server to point to www.aethyra.org instead of Slinker's IP address now.
2008-09-12Changed default port for Aethyra server to 21001Lloyd Bryant1-1/+1
2008-08-03Changed the default server in the dropdown menu in the loginKraant1-1/+1
screen to the new server
2008-07-18Import of client treeLloyd Bryant1-26/+224
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-1/+1
gcn::TabbedArea usage)
2007-03-24Make sure that when a network error occurs, the error message is available andBjørn Lindeijer1-1/+1
shown to the user. Also, only enable Register button when all necessary fields are filled in.
2007-03-24Go back to login or register state on error, depending on what the user wasBjørn Lindeijer1-0/+1
doing, and fixed the error message when registering an account that already exists. Also another crash fix following from previous commit.
2007-03-22Only enable login button when a username, password and server are filled in.Bjørn Lindeijer1-41/+34
Pass username, password and server on to the register dialog. Go back to login dialog when canceling registration. Fixed a crash caused by deleting an OkDialog twice (it also deletes itself). Made the register dialog a bit wider. Register dialog no longer clears username field when it is invalid.
2007-03-20Fixed small issue where default server didn't fit in the server entry fieldBjørn Lindeijer1-9/+13
properly.
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-9/+9
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-0/+1
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-2/+2
from the 0.1.0 branch.
2006-03-19Removed some duplicate initializations.Björn Steinbrink1-2/+1
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-4/+4
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-62/+62
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-9/+3
2006-02-03Made the login dialog work on LoginData only, without playing with the ↵Björn Steinbrink1-34/+11
config, it's not its job to do so.
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-4/+8
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-01-31Various small cleanups.Björn Steinbrink1-1/+0
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-164/+11
2006-01-14Removed unused var.Björn Steinbrink1-5/+1
2006-01-03Really disabled /commands and added proper message when logging in and banned.Eugenio Favalli1-0/+6