summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06Used layout for buy, sell and item amount dialogsBjørn Lindeijer1-60/+15
(changes by Guillaume Melquiond, merged from the mainline client)
2009-01-06Added support for internationalizationIra Rice1-18/+22
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-6/+3
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-07-25Applied patch by ElvenProgrammer to remember window locations between sessionsLloyd Bryant1-0/+1
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-12Merged revisions 3738 via svnmerge from Bjørn Lindeijer1-18/+11
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3738 | b_lindeijer | 2007-11-16 00:44:01 +0100 (Fri, 16 Nov 2007) | 3 lines Moved item icon from ItemInfo class to the Item class, so that it can be loaded on demand. Results in faster startup time and reduced memory usage. ........
2008-04-17fixes for r4110, have to account for index value and add 1 to get the right ↵Dennis Friis1-1/+2
scroll position.
2008-04-16Fix shop list not to scroll to top when selling. Redo of revision 3801 due ↵Dennis Friis1-0/+4
to changes in guichan 0.8.0.
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-3/+4
gcn::TabbedArea usage)
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