summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-02General code cleanupsThorbjørn Lindeijer1-5/+5
* Removed some unused includes * Removed unused ListBox::mFont * Removed wrong cast to SDL_Scancode * Removed superfluous .c_str() * Removed superfluous explicit std::string construction * Removed unused variable * Use more emplace_back * Turned FindBeingFunctor into a lambda * Avoid needless pointer references for ambient layers and use a vector
2024-02-15Fix handling of non-consecutive emote IDsThorbjørn Lindeijer1-3/+3
Previous code was assuming there would be no gaps in the emote IDs. Also cleaned up some confusion where the "emote ID" being passed around in the code was often offset by 1. Now it is only offset in communication with tmwAthena and when saving the shortcuts.
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-2/+1
This patch is not exhaustive.
2024-01-29Apply C++11 fixitsThorbjørn Lindeijer1-2/+2
modernize-loop-convert modernize-deprecated-headers
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-7/+7
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-25Ported to SDL2Thorbjørn Lindeijer1-1/+1
2012-05-10Corrected coordinates of window menujurkan1-1/+1
The window menu (the row of buttons at the top right in game) was displayed 3 pixels left of where it should be, which makes the setup button jump 3 pixels left when logging in. Reviewed-by: Ablu
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
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-08-11Made the shortcuts link actually use the plural in its caption.Yohann Ferreira1-4/+4
2011-08-11The shortcuts are now refreshed when reassigning keys.Yohann Ferreira1-8/+61
2011-08-11Fixed back the special window display in a basic but working way.Yohann Ferreira1-1/+1
This to avoid cluttering the gui until Crush has the time to fulfill his issue about those.
2011-08-11Added a naive way to display the window keyboard shortcut.Yohann Ferreira1-9/+26
This is not updated once the keys are reassigned but it will do the trick for now.
2011-08-11Reached 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 Poison ivy to do that.
2011-08-11Made the button icon only shown when the icon file is valid.Yohann Ferreira1-2/+1
And falls back to the text based caption otherwise.
2011-08-11Added the setup button icon and optimized the image size.Yohann Ferreira1-1/+1
2011-08-11Changed the Social button to an image one.Yohann Ferreira1-5/+15
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-08-11Added textpopup on mouse hovering support to buttons.Yohann Ferreira1-1/+2
I added a use of it to the menu buttons.
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-0/+1
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-08-30Fixing segmentation fault and making invite to guild in pop-up conditionalStefan Dombrowski1-0/+1
How to reproduce the segmentation fault: Open the emote pop-up. Then press the escape key and switch the character. The emote pop-up is still open and clicking on it makes the game crash. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-10Moved parsing of specials.xml from gui/specialswindow.cpp to separate source ↵Philipp Sehmisch1-1/+1
files. Restored functional recharge bars in specials window. Individual specials are only shown after the server informed the client about their status. Made level label, use button and progress bars optional. Their use is controlled through specials.xml. The special window button is again shown even when the player has no specials. This problem needs to be solved differently now for architecture reasons. Reviewed-by: Jaxad0127
2010-03-08Only show skill and special buttons in WindowMenu when neededJared Adams1-24/+25
Reviewed-by: Chuck Miller
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams1-4/+4
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-11Cleanup GUI classesJared Adams1-2/+2
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-11-26Merge a little more and remove the BuddyWindowJared Adams1-12/+0
The BuddyWindow was only half implemented and would have been made redundant with the planned social window.
2009-10-24REplace instances of TMW with ManaJared Adams1-3/+3
2009-08-10Add SpecialsWindowJared Adams1-5/+5
THis replaces the MagicWindow that the TMWServ build used and will be usable going forward for eAthena.
2009-08-07Gettext fixesKess Vargavind1-2/+2
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-05-14Fixes to outfit windowDennis Friis1-6/+0
- Moved the outfit button onto the Inventory window - Fixed 'unequip first' saving bug Patch by QOAL
2009-05-14Add QOAL's outfit windowJared Adams1-1/+6
2009-05-04Replaced emote window with a new emote popupBjørn Lindeijer1-0/+177
The popup is meant to be temporary, showing the emote instantly when you click on it. It adapts nicely to show any number of emotes. I still need to add a better way of assigning emote shortcuts, since currently you can only change which emote is assigned to which shortcut by actually using it.