summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2010-02-28Rename gui.xml to window.xmlJared Adams1-1/+1
2010-02-28Fix inital state of server delete buttonJared Adams1-1/+1
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams2-9/+37
Reviewed-by: Thorbjørn Lindeijer
2010-02-28Some code cleanup regarding the server dialogThorbjørn Lindeijer1-104/+116
Reviewed-by: Jared Adams
2010-02-28Make the gui more themeable and distribute two themesJared Adams26-97/+164
The older gray theme and the new wood theme are available as themes. The gray theme needs some new graphics for hilights. Add a theme option for branding and add path/to/branding/data to the PhysFS search path. Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-28Removed a few pointless const qualifiersThorbjørn Lindeijer3-6/+5
Reviewed-by: Jared Adams
2010-02-28Take the URL to the server list from the branding fileThorbjørn Lindeijer1-4/+8
This way, a Mana based game can have multiple servers associated with it (for example with different languages), listed under the same branding. Reviewed-by: Jared Adams
2010-02-27Report more info on client in cURL useragent and DesktopJared Adams1-1/+11
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-27Disable guilds for eAthena for nowJared Adams1-3/+7
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Color the tabs in the SocialWindowJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer
2010-02-25Fix some comments in beingpopupChuck Miller2-5/+5
Reviewed-By: Jared Adams
2010-02-25Handle Ctrl+v for pasting in text fieldsThorbjørn Lindeijer2-0/+18
Reviewed-by: Jared Adams
2010-02-25Add support for platform specifig config/data directories #84Bernd Wachter1-1/+1
Reviewed-by: Jared Adams
2010-02-24Move StorageWindow to instancing intead of globalJared Adams10-37/+60
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Add more to eAthena guild supportJared Adams3-0/+3
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-23Add BeingPopup hiding.Andrei Karas1-2/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-02-22Change chat autocompletion to be more flexibleJared Adams5-33/+4
Reviewed-by: Chuck Miller
2010-02-22Fixed crash on exit when you're part of a guildThorbjørn Lindeijer2-4/+3
When the ChannelTab gets deleted by the Channel, the ChatWindow may have already been removed. So before telling it that the tab got deleted, check whether it's still there. Reviewed-by: Jared Adams
2010-02-22Fix more copyright headersJared Adams2-2/+2
2010-02-22Cleanup some popup-related code and make sure BeingPopup is includedJared Adams15-83/+51
2010-02-21Handle packet 0x0195, and shows player's party name in a popupChuck Miller5-3/+194
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer19-56/+66
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-21Do some more copyright header cleanupsJared Adams29-29/+23
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp182-182/+364
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer199-778/+579
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 Lindeijer6-172/+198
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-15Revert "Attempt to fix Minimap caption again..."Chuck Miller1-1/+4
This reverts commit 20d2a17c8c0fa9220c257d61641a6459e154de26. Going to try to remove this fix, people have still been reporting crashes with minimap caption. Maybe if more people report it, we can get more information.
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-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.