summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Removed 'inline' keyword where it's not of any valueThorbjørn Lindeijer4-14/+14
Members that are implemented inline are already inline, there is no need to mark them as such. Made two inline members of OpenGLGraphics private since because they are marked as inline, they can't be used from other classes. Reviewed-by: Erik Schilling
2012-01-22Allow resizing of the game in windowed modeThorbjørn Lindeijer6-59/+76
Window positions are semi-smartly corrected as a result of the resize. Not supported when using OpenGL on Windows for now. Reviewed-by: Yohann Ferreira
2012-01-20Made the update window bigger and resizableThorbjørn Lindeijer1-6/+7
Also made it remember its size and position. Reviewed-by: Erik Schilling
2012-01-20Made the ignore record parameter usefulErik Schilling1-1/+1
Reviewed-by: Bjorn.
2012-01-18ColorDB -> HairDB.Yohann Ferreira2-6/+6
This will ease the reading of the next patch about hair handling at character creation time in tAthena. As requested by bjorn. Reviewed-by: bjorn
2012-01-17Fix update error if file line is empty, like in aethyra updatesAndrei Karas1-1/+2
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Yohann Ferreira
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer31-24/+24
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira
2012-01-15Remove dead beings from the minimapStefan Dombrowski1-0/+4
Reviewed-by: Bertram
2012-01-15Show item quantity in the shop listThorbjørn Lindeijer1-23/+40
Rather useful when selling items to quickly see what you have in abundance, rather than only seeing the quantity of the selected item. Reviewed-by: Yohann Ferreira
2012-01-15Center the CustomServerDialog on its parent windowThorbjørn Lindeijer6-7/+8
Also shortened the title of the Custom Server dialog to "Custom Server" since it is also used for editing an existing custom server and not just for adding a new one. And used Window::center() in a bunch of places just to reduce code size. Reviewed-by: Yohann Ferreira
2012-01-13Improved the layout of the custom server dialogThorbjørn Lindeijer1-10/+10
Reviewed-by: Yohann Ferreira
2012-01-10Added a separate label for the download description in the server dialog.Yohann Ferreira2-10/+14
+ Fixe requested by Ablu. Reviewed-by: Ablu
2012-01-10Added a modify button to the server dialog.Yohann Ferreira4-17/+68
This was righteously requested by Ablu as missing when dealing with one's own entries. Reviewed-by: Ablu
2012-01-10Made addition of custom servers be done in a separate window.Yohann Ferreira4-150/+347
Now the first window the user can see is a list of servers which can double-clicked, making it all less cluttered. This commit also makes custom servers able to now have their own titles and their own description, just as the official ones. I also fixed the add entry button being registered twice to the action listener, and the fact that the description wasn't updated properly at windows loading and when adding/removing an entry. Resolves: Mana-Mantis #237. Reviewed-by: Ablu
2012-01-10player_node -> local_playerYohann Ferreira12-45/+45
Reviewed-by: Ablu
2012-01-09Added a close button to the npc dialog window.Yohann Ferreira2-24/+32
The close button will only display when the window is waiting for the server, so that crashed windows can be closed without restarting the client. Pushing the QUIT key (Escape by default) will also close the crashed windows in that case. I also fixed a memleak with the "next" button. Resolves: Mana-Mantis #72, 93, 389. Reviewed-by: Ablu.
2012-01-09Gave a bit more space to the equip/unequip button.Yohann Ferreira1-2/+6
The correct solution will be to make the buttons aware of each others and it seems the placer can't do that atm. But let's add that after the release.
2012-01-09Fixed the setup overall width to fix the tab behaviour withYohann Ferreira1-1/+1
default locale. Spotted by Ali-G. Reviewed-by: Ablu.
2012-01-09Fix wrong logic in the enable joystick setup option.Yohann Ferreira2-11/+11
I also renamed the badly named members to clarify it all. Part of Mana-Mantis #420. Reviewed-by: Ablu.
2012-01-09Changed INT and DELETE enum names to fix C::B compilation.Yohann Ferreira4-4/+4
This was introduced since Crush updated his mana lib pack. I simply changed the names to avoid a collision. Reviewed-by: Ablu.
2012-01-09Made the chat text much more readable in every opacity case.Yohann Ferreira4-4/+94
I added text shadow and outline support to the browserbox, and made it adapt the text for the chattabs depending on the GUI opacity. Reviewed-by: Ablu.
2012-01-07Made the first choice item be selected at the beginningBen Longbons2-0/+11
Resolves Mana-Mantis: #432. Reviewed-by: Bertram, Ablu.
2012-01-07Fixed minimap showing the right colors for npcs and monstersErik Schilling1-2/+2
Actually Bertram explained the fix in the bugtracker and I only did what he said there. Resolves: Mana-mantis #444. Reviewed-by: Bertram.
2012-01-06Made announcements spreading over all whispers and channelsErik Schilling1-0/+20
Resolves: Mana-mantis #430. Reviewed-by: Bertram.
2011-12-02Mac: Change to local SDL inclues.David Athay1-1/+1
2011-11-13Added background support to the equipment boxes.Yohann Ferreira2-0/+27
The background images are auto-centered. Also, for Manaserv, a new background parameter has been added in the box node of the equip.xml file to specify the background image. Note that the filename is relative to the gui theme folder. Reviewed-by: Thorbjorn Lindeijer Resolves: TMW-Mantis #769.
2011-11-12Removed hiding of button popup when setting the text to emptyYohann Ferreira2-8/+2
The text is never set to an empty string, especially not while the mouse is over the button. The popup will be updated or hidden by mouseMoved anyway. Reviewed-by: Thorbjorn Lindeijer
2011-11-12Removed some Channel and ChannelTab related sillinessThorbjørn Lindeijer1-5/+0
* Channel always has a ChannelTab, so need to check it for null * Removed duplicate handling of 'topic' command * No need to set Channel::mTab twice Reviewed-by: Yohann Ferreira
2011-11-12Fixed the button popup incorrectly shown when loading the window menu.Yohann Ferreira1-3/+1
This was due to a small logic error when setting the popup text. Reviewed-by: Erik Schilling
2011-11-01Merge github.com:mana/manaYohann Ferreira11-38/+30
Conflicts: src/localplayer.cpp src/net/manaserv/beinghandler.cpp src/net/manaserv/charhandler.cpp
2011-10-25Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, ↵Bernd Wachter1-2/+2
enforced by -std=c++0x Reviewed-by: Thorbjørn Lindeijer
2011-10-23Fixed a certain class of Doxygen warningsThorbjørn Lindeijer10-36/+28
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
2011-09-28Merge github.com:mana/manaYohann Ferreira5-1/+19
2011-09-29Fixed item popup still visible after closing inventory window.Erik Schilling5-1/+19
Reviewed-by: Bertram.
2011-09-28Small changes requested by o11c - part 2.Yohann Ferreira1-39/+38
Most noticeably I added the shortcut in a popup, even when there are no images to the image buttons in the windowmenu.
2011-09-28Small changes requested by o11c - part 1.Yohann Ferreira2-3/+8
2011-09-28Added true arrows graphics to tab area buttons.Yohann Ferreira2-3/+7
2011-09-28Made the shortcuts link actually use the plural in its caption.Yohann Ferreira1-4/+4
2011-09-28The shortcuts are now refreshed when reassigning keys.Yohann Ferreira3-8/+69
2011-09-28Added icons to the confirm and cancel button of the quit dialog.Yohann Ferreira2-2/+6
This a good example of use for the new graphics and button functionalities.
2011-09-28Fixed back the special window display in a basic but working way.Yohann Ferreira2-1/+4
This to avoid cluttering the gui until Crush has the time to fulfill his issue about those.
2011-09-28Added a naive way to display the window keyboard shortcut.Yohann Ferreira2-10/+31
This is not updated once the keys are reassigned but it will do the trick for now.
2011-09-28Reached the state where the menu bar is now using image buttons.Yohann Ferreira1-7/+7
I had to adapt a bit the images given by Enchilado to do that.
2011-09-28Made the button icon only shown when the icon file is valid.Yohann Ferreira3-9/+9
And falls back to the text based caption otherwise.
2011-09-28Added the setup button icon and optimized the image size.Yohann Ferreira1-1/+1
2011-09-28Changed the Social button to an image one.Yohann Ferreira4-12/+25
I also made the client able to keep the old behaviour, and i changed the button api to not require the icon frames size as it could easily guess them.
2011-09-28Added textpopup on mouse hovering support to buttons.Yohann Ferreira3-2/+74
I added a use of it to the menu buttons.
2011-09-28Small chages requested by o11c - part 2.Yohann Ferreira1-39/+38
Most noticeably i added the shortcut in a popup, even when there are no images to the image buttons in the windowmenu.
2011-09-28Small changes requested by o11c - part 1.Yohann Ferreira2-3/+8
2011-09-16Renamed Map::DebugFlags enumeratorsThorbjørn Lindeijer2-14/+14
Their name is a bit more clear with DEBUG prefix rather than MAP prefix. They're already scoped in the Map class anyway. MAP_NORMAL was changed to DEBUG_NONE to represent no debug flags. Acked-by: Bertram