summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-05-12Makes ItemContainer use indexes for selected and highlighted items, rather ↵Chuck Miller2-74/+61
then Item pointers. As suggested by Bjorn
2009-05-11Merge branch 'master' of git://gitorious.org/tmw/mainlineChuck Miller4-9/+9
2009-05-11Makes sure a item exists in the inventory before saying it is selectedChuck Miller2-2/+15
Was causing a lot of issues (mainly segfaults) when things were used/dropped/stored/retrieved
2009-05-11Expand the label in the party window to stop names from being cut off (again)Freeyorp1-2/+2
Since there are now brackets around the hp values, we need the room for them, too.
2009-05-11Switch Tab to a color pointer to update on the flyJared Adams3-7/+7
2009-05-11Adjust party window visibility logicJared Adams1-13/+1
It now behaves like most windows: defaults to not visible and will save it's visibility. Only the user should be altering it now.
2009-05-11Made player relations persistent by default and removed option from GUIBjørn Lindeijer2-7/+2
Also changed the config key to make sure the new default applies to everybody. It is now 'persistent-player-list' instead of 'persist-player-list'.
2009-05-11Simplified conversion of font size to index of dropdownBjørn Lindeijer1-21/+1
2009-05-11Removed scroll laziness and scroll radius options. Both of these wereTametomo2-91/+10
partially broken, and my experience has been that players have been frustrated more by accidentally setting them than actually wanting them. They'll still be settable in the configuration file for anyone who needs them, but they seem more like a programmer's debugger than a useful option. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-11Unduplicated the mapping to string representationBjørn Lindeijer2-92/+53
Based on a similar change Tametomo made in Aethyra.
2009-05-11Start out all progress bars at 0, so that they progress upwards.Tametomo5-11/+11
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-11Fix a few states on minimap that I missed. mShow now replaces the visibility ↵peavey1-8/+7
setting since this is only saved on manually setting visibility. go back to saving visibility and use sticky bit to decide if minimap should be turned off or not.
2009-05-10nuke a tab indent I put in by mistakepeavey1-1/+1
2009-05-10Removed the ???/??? for party members of which health isn't knownBjørn Lindeijer2-30/+33
Not very useful. :P
2009-05-10Merge branch 'master' of git@gitorious.org:tmw/mainlinepeavey2-4/+4
2009-05-10Fix visibility and stickyness so its saved correctlypeavey1-5/+10
2009-05-10Made overhead text the default instead of the bubblesBjørn Lindeijer1-3/+3
This is most similar to the way 0.0.28.1 was, and the bubbles still have some style and readability issues.
2009-05-10Fixed default position of party windowBjørn Lindeijer1-1/+1
2009-05-10Fixed the resize grip of the party windowBjørn Lindeijer7-51/+47
It wasn't re-added after doing a clear. Also, don't leak all the PartyMember and Avatar instances.
2009-05-10Fix default party colorJared Adams1-1/+1
Also reset name color for speech bubbles back to where it was.
2009-05-10Fixed the problem with items disappearing beneath the roadBjørn Lindeijer1-1/+1
Increased their pixel y coordinate by half a tile, to make them draw between the fringe and the beings.
2009-05-10Add support for viewing the health and maximum health of other nearby ↵Freeyorp4-9/+68
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-10Color party members differently in the minimapJared Adams1-0/+5
2009-05-10Marked some strings as not translatableBjørn Lindeijer2-4/+5
NPC dialog requested translation of + and - and the chat dialog tried to translate a semicolon.
2009-05-10Fix for skill windowBlue1-1/+1
Fix for a text which was cutted on the fr traduction.
2009-05-10Make sure Unequip button is disabled when appropriateBjørn Lindeijer2-8/+20
2009-05-10Swapped the buttons on the storage windowBjørn Lindeijer1-3/+3
Looks a bit more consistent like this to me.
2009-05-10Client - Close button storage WindowBlue2-1/+8
Adds a close button to the storage Window
2009-05-10Fixed inconsistency in "equipped" labelBjørn Lindeijer1-1/+1
Was "Eq." in ItemContainer and "(Eq)" in ItemShortcutContainer. I prefer the former.
2009-05-10Don't show the chat input when a modal widget has focusBjørn Lindeijer1-0/+3
For example, the chat input would become visible when using Enter to confirm the exit dialog.
2009-05-09Fixed the updating of sliders/preview on changing color selectionBjørn Lindeijer2-155/+158
It only worked when you clicked, not when the selection changed for any other reason, like click+drag. Use a SelectionListener instead.
2009-05-09Increased the distance between head and overhead text a bitBjørn Lindeijer3-4/+5
Plus some small code cleanups.
2009-05-09Insert player and item names at caret position instead of at the endBjørn Lindeijer2-10/+21
An improvement based on the 0.0.28.Q version.
2009-05-09Fix some memory leaksJared Adams4-3/+19
In doing so, NPC Dialogs now show the resize grip again.
2009-05-08Client - Inventory handler moveItem improveBlue3-3/+3
Gives the actual number of items to the moveItem method. Fix compilation problem for twmserv client compilation.
2009-05-08Adjust potion of the item icon in ItemAmountWindowJared Adams1-1/+1
2009-05-08Item image on item amount windowsBlue2-10/+48
Adds the item's image with the popup on the amount selector window.
2009-05-08Fix showing item popups on the shortcut barJared Adams1-1/+1
It no longer requires the inventory window to be open.
2009-05-08Fixed one pixel missing from progress barsBjørn Lindeijer7-70/+64
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-08Keep a little spacing above the tabs in the chat windowBjørn Lindeijer2-4/+4
2009-05-08Remove the title area from ChatWindowJared Adams1-0/+3
2009-05-08Fixed positioning of the item icons in the equipment windowBjørn Lindeijer1-1/+3
Noticed by QOAL.
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-08Reintroduced the cancel button of ItemAmountWindowBjørn Lindeijer1-8/+12
Removed the close button instead. Also, the "All" button now only puts the slider at the maximum and won't also finish the dialog, since that is quite unexpected. This reverts commit ec4656af8e2d1946ea2b1d036457c885a9e420dd.
2009-05-08Got rid of the non-functional TextFieldListenerBjørn Lindeijer4-30/+13
Pointed out by Jaxad0127. We might want to enable its intended functionality in a different way later.
2009-05-08Correctly disables the use and drop buttons when no items are selectedChuck Miller1-5/+16