summaryrefslogtreecommitdiff
path: root/src/gui/widgets
AgeCommit message (Collapse)AuthorFilesLines
2010-02-20Don't check a pointer for 0 before deleting itThorbjørn Lindeijer1-2/+2
This check is built in already.
2010-02-19Prevent issues when channels are cleared after the ChatWindowJared Adams1-0/+3
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-1/+1
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-14Fixed browser links not properly resizing once the font size is changed.Tametomo1-1/+1
They'd be in the correct position, just that the link length would always stay at the length of the original font. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Remove focus from a window's internal widgets on hiding.Tametomo2-1/+10
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Don't allow tabs to be focusable. Our tab implementations are heavilyTametomo1-0/+1
dependent on a tabbed area, and because of that, shouldn't get double focus. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed DropDowns not collapsing when an item was clicked on, or enter orTametomo2-21/+28
space was pressed. Signed-off-by: Tametomo <irarice@gmail.com>
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-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 TabbedAreas stealing click focus from their children widgets.Tametomo2-0/+16
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-13Make NPC dialogs instance instead of globalJared Adams1-1/+1
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-10Improve look and utility of the SkillDialogJared Adams2-22/+47
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-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams8-360/+158
2010-02-08Delete models explicitly rather than relying on booleansThorbjørn Lindeijer4-13/+6
It is more clear in the end. Also fixed deleting of the mode list model.
2010-02-07Cleanup some memory issuesJared Adams4-6/+19
2010-02-07Nicer way of indicating that we're waiting on the serverThorbjørn Lindeijer2-0/+110
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!Bertram85-85/+85
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw2-1/+4
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
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-15Fixes drawing sprite in the playerbox widget.Chuck Miller1-1/+1
2010-01-12Standardize header orderJared Adams13-25/+24
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-12Improve chat speed.Andrei Karas4-32/+265
For improve chat speed this patch add some hacks to BrowserBox class, split big words in ChatTab. Also fix DoS in chat.
2010-01-11Fix segfault in ShopListBoxAndrei Karas2-8/+20
2010-01-11Cleanup GUI classesJared Adams42-43/+3578
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas5-6/+8
2010-01-07Chat auto completingAndrei Karas6-4/+33
2010-01-06Party leader bold issueblue1121-1/+1
Fixing the issue which makes that the party leader's name wasn't bold
2009-12-24Alpha property of outline and shadow of rendered text is now taken from the ↵Philipp Sehmisch1-1/+1
guichan color of the main text instead of an additional argument. Fixed alpha blending of text particles.
2009-12-04Don't process redudant visibility calls in WindowJared Adams1-0/+3
2009-12-04Reset the cursor when a window is hiddenJared Adams2-0/+13
2009-12-02Simplify PartyMember by moving fields into AvatarJared Adams2-0/+18
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-1/+1
2009-10-04Replaced setNetworkOptions with LoginHandler::supportedOptionalActionsThorbjørn Lindeijer1-7/+1
Better to ask when needed that rely on static booleans to be set from somewhere. Also tried to fix the layouting a bit, but it's still not perfect.
2009-09-03Resolved Mantis #847: Login stage Windows won't go less than the default gui ↵Bertram15-68/+154
opacity. Of course, in-game, the wanted opacity still shows up.
2009-09-02Added a minimum alpha opacity value handle in SkinLoader and made use of it.Bertram5-23/+51
Part 1 of 3 for Mantis #847 Only a few controls follow minimum opacity value at login stage. Part 2 will make all other controls do the same. Part 3 will try to set default gui opacity value as a constant.
2009-08-23Fix some layout issues with TabbedAreasJared Adams2-5/+12
2009-08-13Fix initial sizing issue with TabbedAreasJared Adams1-1/+2
Also remove some commented code from ChatWindow
2009-08-10Remove layout code from ChatWindowJared Adams2-0/+16
2009-08-10Add SpecialsWindowJared Adams2-0/+146
THis replaces the MagicWindow that the TMWServ build used and will be usable going forward for eAthena.
2009-08-10Fix TabbedArea and ScrollArea to resize contentsJared Adams4-2/+24
Also remove that code from SkillDialog. I tried to do the same with ChatWindow, but it kept segfaulting. Will try again later.
2009-08-07Gettext fixesKess Vargavind2-5/+6
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-08-06Use fillRectangle instead of tiling a colored imageThorbjørn Lindeijer2-20/+10