summaryrefslogtreecommitdiff
path: root/src/gui/itemamountwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-04-29Some Inventory and TradeWindow cleanupsThorbjørn Lindeijer1-1/+4
Mainly using std::vector<std::unique_ptr<Item>> to automate memory management.
2025-04-28GUI: Removed fixed width for ItemAmountWindowThorbjørn Lindeijer1-1/+1
The window needs to be slightly larger on Jewelry theme. By not specifying a width, the layout will take care of this.
2025-04-25GUI: Added support for defining named icons to the themeThorbjørn Lindeijer1-3/+1
Now we can define icon names for each equipment box and then look up the icon image through the theme, enabling some shared control over equipment slot icons between the game data and GUI theme. The icon for an equipment slot is also no longer rendered when the slot has an item in it. Removed the needless storing of equipment box positions and images in the EquipmentWindow, because this information is readily available from the InventoryHandler and the images are already loaded by the Theme.
2025-03-07Removed the functionality to split item stacksThorbjørn Lindeijer1-6/+0
No longer supported by manaserv and not supported by tmwAthena.
2024-04-02General code cleanupsThorbjørn Lindeijer1-4/+3
* 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-01-26Apply C++11 fixitsThorbjørn Lindeijer1-5/+5
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-0/+249
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