summaryrefslogtreecommitdiff
path: root/src/gui/widgets
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-16Some more cleanupsBjørn Lindeijer7-57/+35
Nothing in particular worth mentioning.
2009-04-16Some cleanupsBjørn Lindeijer6-14/+22
* std::string arguments to 'const std::string &' * findMember2 renamed to findOrCreateMember * Made some functions const
2009-04-16Rehash CommandHandler a bit, it's now fully mergedJared Adams5-0/+141
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-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 Lindeijer2-46/+14
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 Lindeijer3-11/+4
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-15Make whisper tabs optionalJared Adams1-3/+3
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 Lindeijer1-5/+0
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-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ørn4-10/+20
2009-04-12Merge version strings, add version to setup, etcJared Adams2-2/+12
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-10Reduced the GCContainer to be even more trivialBjørn Lindeijer7-66/+17
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-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 Lindeijer1-2/+5
Plus some random cleanups.
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 Lindeijer2-6/+0
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-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer40-8/+5074
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-07Used custom widgets where appropriate and some cleanupBjørn Lindeijer5-23/+6
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams3-32/+7
2009-04-01Create a few more handlers for eAthenaJared Adams2-15/+8
Map, chat, and admin have been finished (to the degree they handle all existing cases).
2009-04-01Some cleanupJared Adams1-2/+1
2009-03-30fixed a segfault on client exit if the chatwindow has tabs and the main tab ↵Bernd Wachter1-1/+1
is active
2009-03-30Hilight chat tabs when appropriateJared Adams5-0/+25
2009-03-30Allow tabs to be colored and color whisper tabsJared Adams3-4/+18
2009-03-29Fix up eAthena party handling some moreJared Adams4-50/+46
2009-03-28Fix output location for CommandHandlerJared Adams1-1/+1
2009-03-27Make chat wrapJared Adams1-1/+1
2009-03-28Removed a lot of useless isVisible() checksBjørn Lindeijer1-3/+0
The draw() method of a widget isn't called when a widget is not visible.
2009-03-27Clean up some ifdefs and start cleanup of partiesJared Adams1-1/+0
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer2-7/+3
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-27Clean up chat and chat tabs some moreJared Adams6-96/+63
2009-03-27Removed all the static initializations of mAlphaBjørn Lindeijer4-4/+4
They happened before the configuration was initialized, so that didn't make any sense. It never showed up as a problem since the value is constantly set in the draw methods anyway.
2009-03-27Add some const to the chat tabsJared Adams6-8/+8
2009-03-27Add a close command to WhisperTabJared Adams4-1/+19
2009-03-27Fixed some compiler warningsBjørn Lindeijer2-8/+8
Fixed a faulty == statement that should have been an assignment and a mismatched 'else' block.
2009-03-26Major clean up of ChatTab handlingJared Adams4-8/+39
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-26Add WhisperTabsJared Adams3-1/+132
2009-03-26Add ChannelTab for chat channelsJared Adams4-17/+156
This fixes TMWServ compilation form the previous commit.
2009-03-26Move ChatWindow over to ChatTabsJared Adams3-0/+405
TMWServ compilation is likely not functional after this, I didn't check. THe next commit will address that.
2009-03-26First batch of include cleanupBjørn Lindeijer13-61/+64
Since the relative includes are getting ugly and somewhat inconvenient, we'll switch to includes relative to the project root. We've done this for a while already with tmwserv. Another rule which we've always had but was never written down, is that each source file first includes its own header. This is common practice and ensures each header compiles without needing other stuff to be included first. Somebody using Code::Blocks might want to fix the project file by adding the 'src' directory to the list of include paths.
2009-03-26Fixes to file headers and header guardsBjørn Lindeijer2-11/+11
Mostly removal of branding for tmwserv related files, as was done for the eAthena client before.
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer2-2/+2
2009-03-25A host of code style fixesBjørn Lindeijer2-14/+14
Mostly putting & and * in the right place and making some getters const.
2009-03-25Don't crash cause of deleting a model twiceBjørn Lindeijer1-3/+0
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer5-43/+261
Conflicts: A lot of files.