summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-04-18Restored support for build-in colors to BrowserBoxBjørn Lindeijer2-25/+38
Now the BrowserBox can again display 9 build-in (non configurable) colors, used for example in the client news and the help window.
2009-04-16Fix gender setting in CharCreationDialogJared Adams1-0/+2
(cherry picked from commit 19469fdabf9f66348da8e10a7187f634d0c0a7b7)
2009-04-16Some more cleanupsBjørn Lindeijer8-58/+36
Nothing in particular worth mentioning.
2009-04-16Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch8-42/+47
2009-04-16Some cleanupsBjørn Lindeijer8-42/+47
* std::string arguments to 'const std::string &' * findMember2 renamed to findOrCreateMember * Made some functions const
2009-04-16Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch8-3/+156
2009-04-16Fixed TMWServ compilationPhilipp Sehmisch1-4/+0
2009-04-16Rehash CommandHandler a bit, it's now fully mergedJared Adams6-0/+143
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-16Fix an oddity in PartyWindowJared Adams2-3/+13
2009-04-15Clean up some more memory leaksJared Adams5-3/+14
And remove an unneeded variable
2009-04-15Merge the trade dialogJared Adams2-92/+41
2009-04-15Non-neon-colored HP barsunknown1-3/+3
* Defaults for hp bar are more reasonable * Code::Blocks project file updated to include Desktop.cpp and Desktop.h
2009-04-15Right, our ScrollArea deletes its contentBjørn Lindeijer1-1/+0
Fixes crash on closing login dialog...
2009-04-15Have the DropDown create its ScrollArea and ListBoxBjørn Lindeijer7-80/+21
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-15Made the PopupMenu a Popup subclassBjørn Lindeijer9-29/+33
It's a natural better fit. The SkinLoader was changed into a singleton, since it's used by both Window and Popup classes.
2009-04-15Assorted random cleanupsBjørn Lindeijer4-7/+10
2009-04-15Fix some memory problemsJared Adams2-0/+2
2009-04-15Add a config option to always use whipser tabsJared Adams4-7/+27
2009-04-15Trim out (npc) tag from NPC names in PopupMenuTametomo1-2/+8
Generally, it's good to tack on this tag onto nearly everything, but for popup options, it looks a tad tacky. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Reduced maximum gradient delay to 100. 400 was just too high of an upperTametomo1-2/+2
bound to be useful to users. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Only notify the user that they will need to change maps for changingTametomo1-3/+6
whether or not to display particle effects when in game, since they don't need to see it beforehand. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Fixed the width of the gradient type label for the Setup Color tab, as wellTametomo1-19/+32
as moving the delay slider down. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo3-19/+38
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Exposed delay values to the user, but made it so that the delay is colorIra Rice4-62/+124
based, instead of global, so that the user can specify different delays for different types of actions. Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-15Make whisper tabs optionalJared Adams3-11/+42
2009-04-15HP Bar Gradual Changes Config (+ bugfixes)Falkreon4-22/+56
* Setup menu now has settings for the HP bar colors. * StatusWindow handles HP bar changes a little more consistently. * Fixed a bug that cut weightedAverage values in half, making the HP bar very dark.
2009-04-14Start a MathUtils fileJared Adams2-24/+13
It has fast(inv)sqrt and weightedAverage. Also cleanup the last ocmmit a bit.
2009-04-14HP Bar Gradual ColorationFalkreon2-5/+55
Makes HP Bars gradually fade from green to orange to red as HP goes down (or up). It looks pretty :)~
2009-04-15Also hardcode the bold font, we ship it after allBjørn Lindeijer3-24/+13
Plus some tweaks and cleanups.
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