summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-05-08Correctly disables the use and drop buttons when no items are selectedChuck Miller1-5/+16
2009-05-06Clean up the bypass code for the ItemAmountWindowJared Adams1-15/+3
2009-05-06Don't show the split button for eAthenaJared Adams1-0/+5
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-10/+4
This also fixes some minor bugs and centralizes some logic.
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+1
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-28Remove some more support #ifdefsJared Adams1-9/+1
2009-04-22No need to remove item selection when droppingJared Adams1-1/+0
2009-04-20Fix up window visibility saving/restoringJared Adams1-0/+1
2009-04-19Made ItemContainer wrap items depending on its width againBjørn Lindeijer1-6/+8
This is instead of taking a fixed number of rows and columns. The inventory and trade window are now resizable again. Other smaller changes: * Don't use bold font for the labels in the item container * Changed "(Eq)" back to "Eq." * Removed the ugly grid lines
2009-04-10Some cleanup of the equipment window codeBjørn Lindeijer1-1/+0
Also removed some unnecessary delete statements, since the Popup class already deletes its children and the ScrollArea already deletes its content.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-4/+4
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-01Make eAthena's inventory handlerJared Adams1-8/+2
Also cleanup some related #ifdefs in LocalPlayer.
2009-03-28Make the full inventory accessible againBjørn Lindeijer1-5/+4
Was broken due to tmwserv having only 50 as opposed to 100 places in the inventory at the moment.
2009-03-27Fixed inventory window. Not resizable though.Bjørn Lindeijer1-41/+34
Resizing of the inventory window may come back later. Also did some more code cleanups, moving defines to enums, getting rid of eAthena-specific offset handling (to be done in the network layer), etc. Mantis-issue: 666
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-10/+8
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-26Some code cleanups (mostly reducing how many calculations need to beIra Rice1-10/+2
done in certain statements, rearranging arguements to make them look cleaner, or overall making the code slightly more flexible) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-25Merged relevent changes from TMW commitIra Rice1-21/+19
dfcc6397848d4597b386b688f689352de6c19ae2 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer1-15/+9
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-6/+7
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-5/+4
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-28/+113
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Reformatted the item amount window and the buy/sell windows so thatIra Rice1-1/+1
their guis are similarly laid out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-4/+3
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice1-2/+1
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>