summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-03-15Fix button overlap issues in login dialogsJared Adams1-1/+1
Reviewed-by: Thorbjørn Lindeijer
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-6/+7
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-11Cleanup GUI classesJared Adams1-3/+3
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-12-06Improve keyboard accessibility of login sequenceJared Adams1-1/+17
Enter and Escape now move forward and backwards for all dialogs except ServerSelectDialog (Escape quits) and CharSelectDialog (Enter doesn't do anything special).
2009-12-04Register credentials information serviceJared Adams1-1/+1
2009-10-04Changed 'Select Server' to 'Change Server', since it's already selectedThorbjørn Lindeijer1-1/+1
2009-10-03Polish login procedure and fix some bugs with itJared Adams1-11/+12
WorldSelectDialog now works correctly. Buttons for several dialogs have more explainatory text and consistant locations.
2009-09-30Merge login state machines for both clientsJared Adams1-212/+1
Also do some cleanup and refactoring of related code.
2009-09-23Minor update while seeing it.Bertram1-0/+4
2009-08-07Gettext fixesKess Vargavind1-1/+1
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-05-07Moved two files which held net data into the net folder. ConsideringTametomo1-1/+2
their function, this is a much better place to put them. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-16Rehash CommandHandler a bit, it's now fully mergedJared Adams1-0/+2
Tabs can now interract with CommandHandler and define their own commands in a seemless way. Most channel-related commands have been moved into ChannelTab, the close command is now in the WhisperTab, and eAthena's party tab now shows all standard commands.
2009-04-15Clean up some more memory leaksJared Adams1-0/+5
And remove an unneeded variable
2009-04-15Have the DropDown create its ScrollArea and ListBoxBjørn Lindeijer1-9/+2
And also clean them up again. Fixes some memory leaks and simplifies the code. Also got rid of the basically unused "opaque" setting of DropDown.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-19/+20
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-27Simplified and fixed initialization of login dataBjørn Lindeijer1-1/+2
Command line parameters were being overridden by old configuration settings.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-28/+17
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-27/+16
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-4/+36
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Make sure positionable dialogs start out centeredJared Adams1-1/+1
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-7/+6
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Moved enforcement of minimum widths and heights to the Window class.Ira Rice1-19/+9
This was needed in the Minimap class, but not migrated out to the Window class until now. Signed-off-by: Ira Rice <irarice@gmail.com>
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-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-09Mostly whitespace and formatting changesBjørn Lindeijer1-1/+2
(merged from eAthena client)
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>