summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-10/+10
2006-12-04Introduced a new class Viewport which combines the drawing code from EngineBjørn Lindeijer1-1/+2
with the (rather misplaced) input handling from the Gui class. Also, it's a Container itself which should allow for extending it to show Guichan widgets on map coordinates.
2006-10-01Accepted patches by GDO and VictorSan that fix problems with hiding windowsBjørn Lindeijer1-0/+1
using h and problems with trade window positioning.
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer1-24/+34
(should also be used to fix similar problem in trade, buy and sell dialogs). Made the ItemInfo be passed around as a reference instead of a pointer, since it is never NULL.
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-3/+4
from the 0.1.0 branch.
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-5/+5
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-5/+5
2006-03-18Added a toString conversion function.Björn Steinbrink1-5/+5
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-55/+54
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-7/+2
2006-03-09Use std::auto_ptr in some places.Björn Steinbrink1-1/+1
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-10/+7
2005-12-29Added popup support to the Gui class. Moved all mouse input handling into ↵Björn Steinbrink1-2/+2
the Gui class.
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-5/+0
updated in the item amount box when the buttons are used.
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-7/+0
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-0/+2
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-04Move to top the requested windows. Also corrected the default win pos for ↵Yohann Ferreira1-1/+1
inventory and equipment.
2005-09-30Made the inventory Win behave normally when resized by default size functions.Yohann Ferreira1-1/+17
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-5/+7
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-28Save and load X, Y, Height, and Width to useful wins.Yohann Ferreira1-1/+1
2005-09-28Added window internal name to every window. Useful to later get and save X, ↵Yohann Ferreira1-0/+2
Y, Height, and Width of these wins.
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-1/+2
2005-08-28Prepare our source so that it'll survive a guichan header cleanup, should it ↵Björn Steinbrink1-0/+2
ever happen...
2005-08-26Added effect description to buy/see/inventory, made some improvements and ↵Yohann Ferreira1-8/+16
bugfixes, too.
2005-08-19Made the item amount box work with a provided item.Björn Steinbrink1-1/+1
2005-08-13Updated dev-cpp project file, removed unnecessary header, fixed some include ↵Eugenio Favalli1-1/+1
paths.
2005-08-13Small header cleanup.Björn Steinbrink1-0/+2
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-5/+12
2005-07-28Cleaned up the showPopup() code, moved "map"-related code into game.cpp, ↵Björn Steinbrink1-4/+3
made the popup show up at mouse coordinates instead of being aligned to tiles.
2005-07-22Merge between moi1392's branch and headCedric Borgese1-0/+13
2005-07-18Created Inventory class. (Really) Small code simplifications and cleanups.Björn Steinbrink1-0/+201