summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-2/+1
This patch is not exhaustive.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-2/+2
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-02-11Made items equippable by double click in inventoryErik Schilling1-2/+9
+ Fixed disabling of use button when possible Reviewed-by: bjorn.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-1/+1
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-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.
2011-09-29Fixed item popup still visible after closing inventory window.Erik Schilling1-0/+6
Reviewed-by: Bertram.
2011-05-26Fix compilation on gcc 4.6.1.Yohann Ferreira1-1/+1
2011-05-25Added more double clickable actionsAngelo Castellani1-2/+10
- double clicking a do_choice item submits it - double clicking the npc chat will hit 'next' - double click to buy/sell a single item - clicking on no item in the inventory now deselects - double click to use/activate items in inventory
2011-05-20Fixed 'InventoyListener' typoAngelo Castellani1-2/+2
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-13/+13
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 Channels to Mana::Event::ChannelThorbjørn Lindeijer1-5/+5
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-8/+8
Acked-by: Jared Adams
2011-03-26Add search bar to storage and inventory windowsBlue Sans Douze1-11/+47
Reviewed-by: thorbjorn
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-8/+8
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-5/+5
Reviewed-by: Freeyorp
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-1/+8
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-09-08Adding missing updates for buttons in InventoryWindowStefan Dombrowski1-1/+8
Reviewed-by: Thorbjorn
2010-08-26Merged testing branch into master.Yohann Ferreira1-12/+19
2010-08-16Move more to the event systemJared Adams1-10/+22
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-03Move Theme and UserPalette to the resources folderJared Adams1-1/+1
Reviewed-by: Yohann Ferreira
2010-08-01Remove isActive methods from NPC dialogs and InventoryWindowJared Adams1-1/+7
Uses counts in PlayerInfo instead. Reviewed-by: Chuck Miller
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller1-1/+0
You'll have to include it anyways 99% of the time
2010-07-18Fix crash when withdrawing something from storageChuck Miller1-0/+3
Reviewed-by: Jared Adams
2010-07-17Modify how attributes and stats are handledChuck Miller1-3/+22
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-04-25Fix some storage bugsJared Adams1-15/+15
Reviewed-by: Bertram
2010-03-25Fix the close button on the inventory windowChuck Miller1-5/+8
Reviewed-by: Jared Adams
2010-03-25Fix crash in inventory window, adds quick retrieve to the windowChuck Miller1-4/+11
Reviewed-by: Jared Adams
2010-03-25Remove the type boolean from InventoryWindowJared Adams1-8/+8
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-03-25Fix save/load storage window position.Andrei Karas1-1/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-03-25Remove InventoryWindows from their instances list when deletedJared Adams1-0/+1
2010-03-25Merge StorageWindow into InventoryWindowJared Adams1-42/+104
Reviewed-by: Chuck Miller
2010-03-25Eliminate the logic methods from InventoryWindow and StorageWindowJared Adams1-60/+44
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-10/+3
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-02-24Move StorageWindow to instancing intead of globalJared Adams1-3/+4
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-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-14Auto-store featureBlue Sans Douze1-0/+14
Autostore is a feature that allow you a fast store-retreive by pressing emote key and clicking on the object you want to move. All the stack will be moved that way.
2010-01-11Cleanup GUI classesJared Adams1-6/+6
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2010-01-10Change code styleAndrei Karas1-4/+1
2009-09-13Add ellipsis (...) to some options requiring further inputKess Vargavind1-1/+6
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-05-23Merge branch '0.0.29'Bjørn Lindeijer1-2/+3
Conflicts: src/gui/widgets/chattab.cpp
2009-05-23Fixes a segmentfault and disables shift split for eAChuck Miller1-2/+3
2009-05-14Fixes to outfit windowDennis Friis1-3/+15
- Moved the outfit button onto the Inventory window - Fixed 'unequip first' saving bug Patch by QOAL
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-3/+3
And make a few others like that, and remove them too.
2009-05-11Start out all progress bars at 0, so that they progress upwards.Tametomo1-2/+2
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-10Fixed the problem with items disappearing beneath the roadBjørn Lindeijer1-1/+1
Increased their pixel y coordinate by half a tile, to make them draw between the fringe and the beings.
2009-05-08Fixed one pixel missing from progress barsBjørn Lindeijer1-2/+2
Also fixed the progress bar during connecting to reset again when full, by disabling the smooth updating there. The ProgressBar now uses gcn::Color instead of three separate color attributes.