summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-03-28Fixed size and child positions for various popupsThorbjørn Lindeijer1-2/+1
Most prominently, fixes the tooltips on the window buttons being clipped due to their position being slightly outside of the clipping children area. And fixes NPC tooltips from having a lot of empty space below the NPC name. Also reduced the space between texts in the item tooltip to match the padding rather than being an entire empty line.
2024-03-02Changed server type to "enum class"Thorbjørn Lindeijer1-1/+1
2024-02-13Removed no longer supported admin messagesThorbjørn Lindeijer1-5/+3
* Removed /announce command * Changed "Kick player" in player pop-up to kick by name Other messages, like CMSG_ADMIN_HIDE, CMSG_ADMIN_MUTE and CMSG_ADMIN_LOCAL_ANNOUNCE were already not used by the client. Also, none of this was implemented for Manaserv.
2024-02-09Optimized BrowserBoxThorbjørn Lindeijer1-1/+0
* Introduced a LayoutContext that conveniently allows for relayouting all rows, or just a single one when it is added. BrowserBox::addRow no longer relayouts all the rows. * BrowserLink and LinePart are now merged into a new TextRow struct, so they can be conveniently dropped when the row limit has been reached. * Removed "opaque" option, which was enabled by default but disabled for all BrowserBox instances. * Removed "always update" option, and instead start delaying relayouting automatically when there are a lot of rows (> 100 currently). * Update window now also has text wrapping enabled. Closes #50
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-4/+1
This patch is not exhaustive.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-4/+4
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-2/+2
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-10player_node -> local_playerYohann Ferreira1-7/+7
Reviewed-by: Ablu
2011-08-30Made the popup-menu work again for equip/unequip processes.Yohann Ferreira1-8/+17
I disabled the drop from equipment window since it was more simple to implement, and because it seemed useless or even bad for the user experience to me.
2011-05-15Starting to fix party inviteStefan Dombrowski1-1/+4
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-3/+3
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-3/+3
Acked-by: Jared Adams
2011-02-21Merge branch '0.5'Thorbjørn Lindeijer1-5/+5
Translation file updates ignored. Conflicts: src/client.cpp src/commandhandler.cpp src/gui/popupmenu.cpp src/localplayer.cpp
2011-02-19Reorder store option to the top, so it is more useful.Ben Longbons1-5/+5
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-3/+3
2010-10-08Remove the following systemStefan Dombrowski1-9/+0
Removed due to unresolved social issues. In master it had been already removed by Kage in commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
2010-10-04Remove the following systemChuck Miller1-9/+0
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-1/+2
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-1/+2
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-08-26Merged testing branch into master.Yohann Ferreira1-8/+9
2010-08-16Move more to the event systemJared Adams1-5/+3
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams1-1/+2
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-2/+2
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-16/+22
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-05-06Add support for floor item spritesJared Adams1-3/+6
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite; CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common functionailty into new base classes which will make other Mantis tickets easier to do. Also allows monsters to use particle effects. Reviewed-by: Bertram
2010-03-26Replace most dynamic_casts with static_castsJared Adams1-22/+9
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-25Merge StorageWindow into InventoryWindowJared Adams1-2/+1
Reviewed-by: Chuck Miller
2010-03-19Fix crash when player chooses to follow a being that has been deleted alreadyChuck Miller1-2/+2
Reviewed-By: Jarad Adams
2010-02-24Move StorageWindow to instancing intead of globalJared Adams1-4/+6
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-13Make NPC dialogs instance instead of globalJared Adams1-3/+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-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-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-1/+1
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-13Adds a follow manager for usersBlueSansDouze1-4/+5
Right click contextual menu on player "follow" entry Cancel the following by moving with mouse or keys Adds a special behavior for map changes
2010-01-11Cleanup GUI classesJared Adams1-7/+7
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-1/+2
2009-12-27Add right click whisperdweems000@gmail.com1-0/+8
2009-11-26Merge a little more and remove the BuddyWindowJared Adams1-19/+1
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-2/+2
2009-09-23Fixes party inviteChuck Miller1-1/+1
2009-09-13Add ellipsis (...) to some options requiring further inputKess Vargavind1-3/+6
2009-08-31Fixes NPC names on the popup menu.Freeyorp1-6/+2
Mantis-issue: 861
2009-08-07Gettext fixesKess Vargavind1-3/+4
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-07-24Prevent translations from leaving popups uselessJared Adams1-35/+63
2009-07-23Clear some more support ifdefsJared Adams1-2/+0
2009-07-17Various gettext fixesKess Vargavind1-1/+2
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
2009-05-12Fix up handling of GM statusJared Adams1-9/+12
2009-05-12Adjust the context menu's invite optionsJared Adams1-1/+4
Guild will no longer show for eAthena builds and party will only show if you are in a party.