summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14Cleanup of Sound class, fixing restoring of volumes and musicBjørn Lindeijer1-11/+3
While a previous commit fixed the restoring of music of the current map in the setup window, this commit makes sure that the Sound class itself will resume a previously playing song when it is re-initialized. Other fixes: * Restore the correct volumes when enabling sound * Play the right audio track during login * Specify which font to use for bold text
2009-04-14Put the remaining unnamespaced handlers in a namespaceBjørn Lindeijer1-1/+0
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
2009-04-13Some cleanup of the SkinLoaderBjørn Lindeijer4-151/+155
Mainly stopped it from parsing the skin XML files over and over again, but also fixed Skin leaking sticky button images and made some optimizations. The Skin class still has an 'instances' member which could be used for cleanup in theory, but is unused at the moment.
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer5-43/+39
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-13Revert forced FPS limitBjørn Lindeijer1-1/+1
Don't force an FPS limit when people don't want it. Just default to limit on 60 fps instead, but do allow it to be disabled. This reverts part of commit 4b7755fcae0de15951c508ec034158007c8b6cf3.
2009-04-13Fixed broken linksDavid Athay2-7/+7
2009-04-13Fixed @'s in a user's nickDavid Athay1-0/+3
2009-04-12Moved client version string creation to preprocessorBjørn5-11/+21
2009-04-12Cleaned up the ItemPopup class a bitBjørn12-78/+15
Removed methods updateColors, getItemName and getNumRows. The last one was also removed from some other classes.
2009-04-12Merge version strings, add version to setup, etcJared Adams3-2/+19
All instances of version strings should now use the same text. The version label was moved from main.cpp to Desktop. A new version label was added to SetupDialog to make it easier to get the version if you are already in game.
2009-04-12Append _F or _M to username in eAthena network layerBjørn Lindeijer3-8/+9
Abstracts it away and out of main.cpp and register.cpp.
2009-04-10Fix popup to prevent an item from showing on warpsJared Adams1-1/+2
2009-04-10Revived the email field to fix registration crashBjørn Lindeijer4-3/+10
Now you can register new accounts on tmwserv again. The email field apparently gots lost during the merge somewhere.
2009-04-10Reduced the GCContainer to be even more trivialBjørn Lindeijer11-80/+21
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
2009-04-10Some cleanup of the equipment window codeBjørn Lindeijer6-86/+53
Also removed some unnecessary delete statements, since the Popup class already deletes its children and the ScrollArea already deletes its content.
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer3-2/+158
Cleans up main.cpp a little.
2009-04-09Actually use ItemType instead of shortBjørn Lindeijer4-25/+27
Plus some random cleanups.
2009-04-09Fixed crash on applying setup before entering the gameBjørn Lindeijer1-8/+11
Engine hasn't been created yet at that point.
2009-04-09No need for ChatInput to be in the header file, evenBjørn Lindeijer2-26/+22
2009-04-09Fixed some warningsBjørn Lindeijer1-1/+2
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
2009-04-09Made BeingManager methods const where appropriateBjørn Lindeijer5-13/+8
2009-04-09Remove a segfault when exiting the clientJared Adams1-3/+1
2009-04-09Add a popup menu item to add Being name to chatJared Adams3-16/+14
2009-04-09QOAL's do not walk with the mouse while sittingMadCamel1-0/+4
2009-04-08Make some more file build for both serversJared Adams2-2/+2
Also some cleanup in main.cpp
2009-04-08Move ChatInput into the files for ChatWindowJared Adams4-80/+30
2009-04-08Don't highlight chat tabs on own inputBernd Wachter1-1/+2
2009-04-08CMake: We actually no longer depend on Guichan OpenGLBjørn Lindeijer1-1/+1
2009-04-07Restore the MP bar to the darker blue it hadJared Adams1-1/+1
2009-04-07Implement TMWServ's PartyHandlerJared Adams1-17/+3
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer11-44/+89
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer155-669/+712
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-04-07restart background music after sound is enabledTurmfalke1-0/+4
2009-04-07Fixed compile for tmwserv clientBjørn Lindeijer2-0/+3
2009-04-07Used custom widgets where appropriate and some cleanupBjørn Lindeijer32-306/+247
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
2009-04-07Fixed compile warnings about unsigned/signed comparisonsBjørn Lindeijer1-5/+5
2009-04-06Fix CharCreateDialogJared Adams1-1/+5
2009-04-06Implement TMWServ's CharHandlerJared Adams4-392/+451
Also cleanup character creation, which isn't functional at the moment.
2009-04-06Another slight adjustment to speech bubble dialog positioning to makeIra Rice1-1/+1
them look a little better aesthetically. Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Removed some unneeded extra spacing in the speechbubble.Ira Rice1-2/+2
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Fixed bar progress on the storage window when initially opened.Ira Rice1-1/+3
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Modified speech bubble class to be less skin specific for positioning.Ira Rice1-20/+19
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Moved many MessageOut constructions aroundBjørn Lindeijer1-3/+3
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
2009-04-06Fixed compile warning about initialization orderBjørn Lindeijer1-2/+2
Also made CMakeLists.txt consistent with Makefile.am regarding the BuySellDialog.
2009-04-06Add TMWServ's SkillHandlerJared Adams2-9/+8
Also namespace both Player- and TradeHandlers
2009-04-06Fix a spelling errorJared Adams5-5/+5
2009-04-06Fix the Sell button in BuySellDialogJared Adams1-1/+1
Also make the dialog build for all servers
2009-04-06Clean up and expand item equip handling in the GUIJared Adams7-21/+36
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams4-33/+8
2009-04-05Remove some more #ifdefsJared Adams1-5/+4