summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-08-29Made sell dialog resizable and tweaked inventory resize code a bit.Bjørn Lindeijer1-33/+62
2007-08-19buy/sell fixed minimum quantity 1.Joshua Langley1-19/+13
2007-06-02Some cleanup of buy/sell dialog code.Bjørn Lindeijer1-94/+56
2007-05-23A bunch of lingering syntactical changes.Bjørn Lindeijer1-11/+17
2007-05-20Fixed the amount-not-reset-when-using-scrollwheel bug in sell dialog.Philipp Sehmisch1-11/+28
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-9/+9
2006-12-16Subclassed ShopListBox from ListBox to get rid of some duplicated code, andBjørn Lindeijer1-1/+2
fixed a problem with scrolling to the current selection. Also aligned the text a bit better and put the price in parenthesis.
2006-11-23Refectored the Itemmanager class to an ItemDB namespace.Philipp Sehmisch1-2/+2
2006-11-05Fixes the money value after seling something.Yohann Ferreira1-0/+1
2006-11-05Fixes to Sell dialog.Yohann Ferreira1-3/+7
2006-11-05Added item's pictures in sell dialogs, and precisions about the total money ↵Yohann Ferreira1-17/+29
in it.
2006-11-05Added pictures to items in buy dialogs. Also too expensive items are ↵Yohann Ferreira1-2/+2
highlighted in gray and can't be selected.
2006-09-03Fixed updating of labels in buy and sell dialogs. Also made our listbox respondBjørn Lindeijer1-9/+20
to mouse dragging to change the selection.
2006-09-03Introduced SelectionListener to fix updating problem in inventory windowBjørn Lindeijer1-5/+6
(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-1/+1
from the 0.1.0 branch.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-1/+1
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-12/+6
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-6/+12
2006-03-18Added a toString conversion function.Björn Steinbrink1-12/+6
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-95/+95
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-12/+4
2006-01-31Created a ListModel for ShopItems.Björn Steinbrink1-22/+20
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-3/+4
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-10/+0
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-4/+4
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-5/+8
2005-09-14Some header fixes/cleanups.Björn Steinbrink1-1/+1
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-5/+5
2005-08-30Added empty sprite and reorganized spriteset, fixed a typo.Eugenio Favalli1-1/+1
2005-08-26Added effect description to buy/see/inventory, made some improvements and ↵Yohann Ferreira1-5/+46
bugfixes, too.
2005-08-23Some code cleanups in the sell dialog. Made the dialog accept items instead ↵Björn Steinbrink1-98/+56
of looking them up in the inventory itself.
2005-08-23Avoid possible buffer overflows in shop items' names. BuyDialog code cleanup.Björn Steinbrink1-2/+4
2005-08-22Converted the buy & sell diaogs asserts into ifs to avoid game crashing, and ↵Yohann Ferreira1-0/+5
made additional checks on buy sell events to have buttons enabled only when they're useful.
2005-08-13Reset selection in the sell dialog if all items at the selected slot are sold.Björn Steinbrink1-0/+1
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-4/+14
2005-08-12Resetting quantity to 0 after selecting other items in buy/sell dialogs.Eugenio Favalli1-0/+5
2005-07-22Added missing includes and fixed a warning about implicit conversion.Björn Steinbrink1-0/+1
2005-07-22Merge between moi1392's branch and headCedric Borgese1-40/+151
2005-07-18Created Inventory class. (Really) Small code simplifications and cleanups.Björn Steinbrink1-2/+2
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-5/+8
them. Plus some cleanups.
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+2
2005-05-22Picking up now possible with Z, and fixed width of a few scroll area contents.Bjørn Lindeijer1-0/+1
2005-05-10fixing a bug which occured when ItemManager's constructor calls logger (for ↵Jan-Fabian Humann1-1/+1
example if items.xml is missing)
2005-05-01Fixed width of item lists in shops and fixed hitting dead monsters.Bjørn Lindeijer1-1/+1
2005-04-21trying to follow Hammerbear suggestionsEugenio Favalli1-1/+2
2005-04-21Now shops get item names from the xml databaseEugenio Favalli1-6/+1
2005-04-07* Fixed crash on exit when trying to delete listbox that wasn't created.Bjørn Lindeijer1-1/+8
* Disabled Ok button in Buy and Sell dialog when amount is 0 * Corrected the three known map bugs
2005-03-20TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!Bjørn Lindeijer1-1/+1
Also fixed a crash on clicking wallpaper in login phase.