summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-02-14Release modal mouse focus in DropDowns when focus is lost. If notTametomo2-0/+10
released, this can cause the user to think that the client has frozen up when dialogs such as the quit dialog take modal focus. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed Viewport from acknowledging clicks from widgets on top of it whenTametomo1-0/+3
they happened within a contained widget. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Overloaded the tabNext() and tabPrevious() functions in the FocusHandlerTametomo2-0/+50
to move a window to the top when one of its contained widgets is focused. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Make sure the tabbed area gets focus set on it when one of its tabs isTametomo1-0/+6
pressed by the mouse. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Made the ScrollArea scrolling with buttons smootherThorbjørn Lindeijer2-33/+23
Update more frequently (every tick) and by a smaller amount.
2010-02-14Fixed ScrollAreas to allow for continual scrolling, as long as the mouseTametomo2-2/+38
button is pressed, instead of just moving one tick for each press. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed color tab alignment from coming up slightly short.Tametomo1-6/+6
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed TabbedAreas stealing click focus from their children widgets.Tametomo2-0/+16
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Match alignment better in the colors tab. Now the textfields terminateTametomo1-16/+16
at the same spot the scroll area does. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Allow handling drag events in tables as well.Tametomo1-0/+9
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed duplicating of up and down actions with the dropdown widget. (itTametomo1-2/+4
used to get one event from the dropdown, then another from the listbox if dropped down. Otherwise, it only got one from the dropdown) Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Reduce the number of necessary logic checks, in order to improveTametomo1-2/+2
performance in ProgressBar logic loops. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Avoid some unnecessary pointer referencing in the Palette classThorbjørn Lindeijer1-22/+21
2010-02-14Ensure that gradients update when the framerate is 200 or more.Tametomo1-1/+2
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Don't create the viewport until it's really needed.Tametomo2-9/+0
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Make NPC dialogs instance instead of globalJared Adams13-102/+265
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-13Changed FPS display from a text field to a labelThorbjørn Lindeijer2-60/+26
Not really useful to be able to edit it by hand.
2010-02-13Fixed the FPS checkbox, field, and slider not updating properly onTametomo1-13/+19
cancel events. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Remove imprecise operator== and just compare the textThorbjørn Lindeijer1-6/+1
2010-02-13Optimise TrueTypeFont::getWidthSteve Cotton2-1/+19
Use the cache created by TTF::drawString, drops the cost of TTF::getWidth from 5% of runtime to 0.5%. It increases the cost of calculating line-wrapping in the BrowserBox, but overall it's a saving, even with the BrowserBox recalculating on every redraw.
2010-02-13Allow player to talk after deathAndrei Karas3-4/+4
Mantis-issue: 938 (TMW Mantis)
2010-02-10Remove extra incRef callJared Adams1-2/+0
2010-02-10Improve look and utility of the SkillDialogJared Adams4-159/+278
2010-02-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram1-1/+1
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram2-11/+19
2010-02-08Open a WhisperTab when you double-click on an Avatar in an AvatarListBoxJared Adams1-0/+12
2010-02-08Fix finding width of bold textJared Adams1-1/+1
2010-02-08Fix some bugs in party handling and add HP to AvatarListBoxJared Adams1-2/+14
2010-02-08Remove a debugging statement that got left inJared Adams1-3/+0
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams20-1236/+853
2010-02-08Delete models explicitly rather than relying on booleansThorbjørn Lindeijer6-16/+21
It is more clear in the end. Also fixed deleting of the mode list model.
2010-02-07Cleanup some memory issuesJared Adams7-7/+27
2010-02-07Nicer way of indicating that we're waiting on the serverThorbjørn Lindeijer4-30/+137
No longer a dialog with an annoying progress bar (due to going back and forth), but rather a progress indicator that integrates better with the background.
2010-02-07Updated Copyright year to 2010!Bertram194-194/+194
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer3-18/+8
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-02-04Applied patch from TMW-Mantis #972: The shortcut windows are not placed ↵Bertram2-6/+6
correctly. Patch from BinaryMind.
2010-02-01Attempt to fix Minimap caption again...Jared Adams1-4/+1
2010-02-01Small cleanups.Bertram2-5/+5
2010-01-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw4-17/+80
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-28Increase integer input default maximum to 2^31-1Jared Adams1-1/+2
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw3-2/+5
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-01-27Added mutators/accessors to being.h and smal cleanups.Bertram1-4/+4
2010-01-26Fixed dealing with @@id|caption@@ causing ## to form line breaksDaniel Bradshaw1-0/+2
Add a couple of missing wrapped = false; lines, so that it doesn't treat every further ## as a line wrap
2010-01-26Add compilation warnings when using cmake.Bertram1-1/+1
2010-01-26Removed a non-hurting ifdef...Bertram1-2/+2
2010-01-25Finished Freeyorp's ViewPort bug fixing commit:Bertram2-9/+6
http://gitorious.org/mana/mana/commit/58149dca937410826971f99b72e304121e61abb7 by merging ViewPort::mLocalWalkTime and ::mLocalWalktime into the first one, removing ifdefs, and making sure the setDestination() calls aren't done each ticks by setting the mLocalWalkTime equal to player->mWalkTime while Mouse Left Dragging, I also set it back to -1 when stop walking to avoid the bug where you have to start walking using the keyboard before being able to walk dragging the mouse under eAthena.
2010-01-25Fix a bug when converting strings to server typesJared Adams1-1/+1
2010-01-24Remove some more _SUPPORT ifdefsJared Adams1-1/+1
2010-01-24Better handle server typesJared Adams1-14/+39
Now they are stored in the config file instead of defaulting to current build type.
2010-01-24Autocomplete names with quotes if the string begins with a / or @ (commands)Blue Sans Douze1-0/+3