summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
2009-05-23Fixed the empty item link crash differentlyBjørn Lindeijer1-14/+8
The crash was due to an assertion which shouldn't have been there, so I removed the assertion instead. I've also made sure the unknown item has its id initialized to 0, so that it can be used to check against instead of the item name. Normalization of item names was moved within the item database.
2009-05-23Fix a segmentation faultKess Vargavind1-8/+12
The client crashed when entering [] inside an item link, for example the string [[]]. (cherry picked from commit 86a055d46df5a262fce0f76697cc3d54e75b19e1)
2009-05-18Fixed progress bar crashBjørn Lindeijer1-10/+4
Sorry about that.
2009-05-14Don't apply GUI opacity to the selected value of a DropDownBjørn Lindeijer1-3/+3
2009-05-13Fix how the PartyWindow lays out AvatarsJared Adams1-4/+8
Also fix the height of Avatars
2009-05-13Modify PartyWindow sizing againFreeyorp1-2/+3
Rather than expanding PartyWindow again, call mLabel->adjustSize(); and let players resize the window if they need to. Also shrink the minimum size of the PartyWindow.
2009-05-13Remove Aethyra's custom visible GM systemJared Adams1-7/+0
Very hackish and would require altering eAthena. It also isn't very portable; if you use the same character name on multiple servers and are a GM on one of them, the client will try to make you a GM on the other.
2009-05-12Fix up handling of GM statusJared Adams1-1/+1
2009-05-13BrowserBox doesn't need to know about the TrueTypeFont classBjørn Lindeijer1-6/+6
2009-05-12Don't show Hp and maxHp for the local player in the party windowFreeyorp1-7/+1
It's already being displayed elsewhere, and it's partly broken anyway.
2009-05-11Switch Tab to a color pointer to update on the flyJared Adams3-7/+7
2009-05-10Removed the ???/??? for party members of which health isn't knownBjørn Lindeijer2-30/+33
Not very useful. :P
2009-05-10Fixed the resize grip of the party windowBjørn Lindeijer4-28/+20
It wasn't re-added after doing a clear. Also, don't leak all the PartyMember and Avatar instances.
2009-05-10Add support for viewing the health and maximum health of other nearby ↵Freeyorp2-3/+53
members of your party.
2009-05-10Expand the label in the party window to stop names being cut off.Freeyorp1-3/+3
Lots of space has been left to compensate for planned additon of hp/maxhp to the same line.
2009-05-09Increased the distance between head and overhead text a bitBjørn Lindeijer2-2/+2
Plus some small code cleanups.
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.