summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
2009-05-28Add /ignore and /unignore commandsJared Adams1-0/+23
These make it easy to ignore/unignore other players that aren't visible. Special versions are also available in WhisperTabs that don't need a name given.
2009-05-26Fixed the line under links to not extend below the textBjørn Lindeijer1-1/+1
Caused the underline for links at the bottom of the BrowserBox to draw outside of the clip area.
2009-05-26Guard against an issue where forced wrapping would never succeedBjørn Lindeijer1-5/+5
In some situations, like when wrapping the "]." part after an item link, the attempt at forced-wrapping the text never succeeded. The additional guard "end > start" protects against these cases. Also made some small optimizations. Removed redundant c_str() calls, noticed by Octalot, and changed " " to ' ' for finding a space.
2009-05-24Made some parameters const references like they should beBjørn Lindeijer2-2/+3
2009-05-23Fix resetting height of browserbox on /clear.Dennis Friis1-0/+1
Patch by QOAL (cherry picked from commit cc2cd67e1c3c3f95485ae4477b6a2f0d255e9163)
2009-05-23Reorganized status window and used non-bold font for progress bars to make ↵Philipp Sehmisch1-1/+1
more space for the numbers on the exp bar (cherry picked from commit addbb9bd9362550e91540c1caaf7f6683bdae9a8)
2009-05-23Display the party leaders name in bold fontFreeyorp2-1/+8
(cherry picked from commit 244b0d9b46128ab3498da078020c8bbf8c65f69f)
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