summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-8/+5
2007-08-29Made sell dialog resizable and tweaked inventory resize code a bit.Bjørn Lindeijer1-18/+23
2007-08-28Made buy dialog resizable and added a WindowListener class for listening forBjørn Lindeijer1-23/+2
window resize and move events.
2007-08-20Added close button functionality, resize cursor cues.Joshua Langley1-0/+1
2007-08-14inventory - split function fixJoshua Langley1-16/+40
2007-08-14mantis_id:129 - Inventory Window Slots Added.Joshua Langley1-41/+94
2007-08-07Fixed my breakage of persistent window dimensions. Cleaned a few things ↵Guillaume Melquiond1-23/+3
along the way.
2007-08-06Fixed some header typos. Moved gettext.h to utils directory. Removed ↵Guillaume Melquiond1-1/+1
redundant HAS_CONFIG_H macro. Used autopoint for generating gettext environment. Removed auto-generated file from po directory.
2007-08-06Added support for translating variable strings.Guillaume Melquiond1-31/+19
2007-08-05Added support for internationalization. Tested by translating a few gui ↵Guillaume Melquiond1-6/+6
strings to french.
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-12/+2
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-3/+4
2007-04-15Reimplemented window resizing. It is now once again possible to resize windowsBjørn Lindeijer1-3/+4
using their borders (except for the top one, since that's the title bar for Guichan) and the resize grip in the bottom right is much easier to grab. Needs some testing.
2007-03-22Redesigned the localplayer class to use getters and setters instead of ↵Philipp Sehmisch1-2/+2
direct access to the member variables. Implemented communication of attributes between server and client.
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-10/+10
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-10/+10
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-1/+2
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-11-02Merged trunk changes from revision 2716 to 2756 into the 0.1.0 branch.Bjørn Lindeijer1-0/+1
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-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-24/+34
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-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-3/+4
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