summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-03-10Don't center the NPC interraction dialogsJared Adams1-1/+0
Use the last location the user gave instead. Also, do the same for the inventory dialog.
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-0/+3
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-0/+3
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer1-0/+1
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-03-06Microoptimization in compile speedBjørn Lindeijer1-0/+1
No need to include localplayer.h from inventorywindow.h
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-15Merge branch 'aethyra/master'Bjørn Lindeijer1-7/+0
2009-02-15Don't make window name translatableBjørn Lindeijer1-1/+1
The window name is used in the configuration file, in contrast to the window title.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Deleted some unneeded delete statements.Ira Rice1-7/+0
Signed-off-by: Ira Rice <irarice@gmail.com>