summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer3-8/+68
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer2-0/+112
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-14Exposed the progress bar colors to the color management tab.Ira Rice2-1/+20
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-2/+8
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-13Made the TextPreview widget respect alpha values.Ira Rice2-7/+18
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Added in option for opacity for the text preview widget, which all ofIra Rice2-5/+25
the other widgets have as well. Also set the preview widget to have opacity off, like all of the other widgets (if it is on, then opacity can't be applied to it. Also looks rather tacky with it) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Make use of the new available colorsMajin Sniper1-10/+6
This patch lets all being derivatives use the palette to set their name's colors. Text Particle Effects all respect the new settings. Some widgets were updated to use the colors.
2009-03-12Extend color config gui to support the new colorsMajin Sniper2-0/+173
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Extending the internal handling of colorssniper1-12/+9
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-12Make use of the new available colorsMajin Sniper2-10/+8
This patch lets all being derivatives use the palette to set their name's colors. Text Particle Effects all respect the new settings. Some widgets were updated to use the colors.
2009-03-12Extend color config gui to support the new colorsMajin Sniper2-0/+167
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Extending the internal handling of colorssniper1-12/+9
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-11Fix a memory leak in dropdownJared Adams1-0/+3