summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
2009-05-09Fix some memory leaksJared Adams2-3/+5
In doing so, NPC Dialogs now show the resize grip again.
2009-05-08Fixed one pixel missing from progress barsBjørn Lindeijer2-59/+53
Also fixed the progress bar during connecting to reset again when full, by disabling the smooth updating there. The ProgressBar now uses gcn::Color instead of three separate color attributes.
2009-05-08Make sure all tab modes get their opacity updateJared Adams1-2/+6
2009-05-08Have progressbar labels ignore gui alphaJared Adams1-2/+2
2009-05-08Fixed list box selection wrapping to the bottom on dragging upwardsBjørn Lindeijer1-3/+6
Negative values of y were not handled correctly, causing the selection to wrap when the mouse moved out of the listbox at the top while dragging.
2009-05-08Fixed scroll wheel handling in list boxesBjørn Lindeijer1-20/+2
The scroll wheel was changing the list box selection, which is somewhat unexpected. By not handling the event, it will be passed on to the parent ScrollArea and be handled appropriately.
2009-05-08Got rid of the non-functional TextFieldListenerBjørn Lindeijer2-20/+8
Pointed out by Jaxad0127. We might want to enable its intended functionality in a different way later.
2009-05-05Hide the item popup when the mouse moves on top of itBjørn Lindeijer1-6/+8
Makes the popup a lot less annoying. Still sticks around in some cases when it shouldn't, which seems to be because of missing mouseExited events from Guichan.
2009-05-04Fix link colors and item links for pickup messagesJared Adams1-1/+1
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer4-5/+4
2009-05-02Make sure messages on most tabs are handled rightJared Adams2-3/+2
2009-05-01Merge the NPC dialogs into oneJared Adams2-0/+31
Also add support for the new TMWServ NPC packets
2009-04-29Some random cleanupsBjørn Lindeijer2-4/+4
2009-04-26Remove a debugging statementJared Adams1-1/+0
2009-04-25Fix chat actionsJared Adams1-1/+2
2009-04-20Fix up window visibility saving/restoringJared Adams3-3/+28
2009-04-20Removed the unused itemshortcutwindow.{h,cpp}Bjørn Lindeijer1-1/+2
2009-04-20Fixed key handling in dropdowns when the dropdown portion isn't visible.Tametomo2-0/+56
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Removed the unused setSelected overrideBjørn Lindeijer2-39/+0
It wasn't actually used because it is no longer virtual in the base Guichan class.
2009-04-20Repaired table and listbox scrolling when using the keyboard.Ira Rice3-19/+23
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Fixed a fairly obscure text wrapping bug.Ira Rice1-2/+9
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Fixed speech bubbles not respecting the set palette text color.Ira Rice1-3/+1
Signed-off-by: Ira Rice <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-20Drop current target on deathBjørn Lindeijer1-1/+1
2009-04-19Made ItemContainer wrap items depending on its width againBjørn Lindeijer1-1/+2
This is instead of taking a fixed number of rows and columns. The inventory and trade window are now resizable again. Other smaller changes: * Don't use bold font for the labels in the item container * Changed "(Eq)" back to "Eq." * Removed the ugly grid lines
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