summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-18Fixed the NPC Integer input field, as well as cut some bull from theIra Rice1-12/+12
NPC String class. The Integer input field was rather horribly broken to the point where it could send invalid data, the increment and decrement buttons didn't work, and overall it was tripping over itself. As for the NPC String, "The Mana World" as a string is not needed to set the field to that length, but instead fills the text field with that text for starting. This is completely inappropriate for a text entry field, and a more sensible default would be to leave it empty, so that people can type in what they want without having to delete it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Used layout for buy, sell and item amount dialogsBjørn Lindeijer1-30/+29
(changes by Guillaume Melquiond, merged from the mainline client)
2009-01-06Added support for internationalizationIra Rice1-17/+17
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-4/+1
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-18Import of client treeLloyd Bryant1-1/+1
2007-11-11Moved check on dropping 1 item to the inventory dialog.Bjørn Lindeijer1-8/+0
2007-10-25Item amount dialog is now skipped when there is only one item on the stack.Philipp Sehmisch1-0/+8
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-10/+10
2006-12-05Fixed visibility of item amount window.Bjørn Lindeijer1-1/+2
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-05-15Set slider range to the real values instead of mapping the amount between ↵Björn Steinbrink1-4/+3
[0,1] and [1,max] all the time.
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-12/+4
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-4/+2
2005-10-20Added garbage collection to the ScrollArea class. Fixed slider not being ↵Björn Steinbrink1-3/+7
updated in the item amount box when the buttons are used.
2005-10-20Various cleanups and refactorisations.Björn Steinbrink1-22/+22
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-10/+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-08-19Made the item amount box work with a provided item.Björn Steinbrink1-49/+49
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-2/+7
2005-07-22Added missing includes and fixed a warning about implicit conversion.Björn Steinbrink1-1/+1
2005-07-22Merge between moi1392's branch and headCedric Borgese1-2/+14
2005-07-18Created Inventory class. (Really) Small code simplifications and cleanups.Björn Steinbrink1-4/+4
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-3/+3
them. Plus some cleanups.
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+2
2005-06-03Magical 1 character change in new item amount window (+ to -).Aaron Marks1-1/+1
2005-06-03Added IntTextBox class (a TextBox which only accepts integers).Aaron Marks1-24/+14
Changed passive label in drop item dialog to IntTextBox.
2005-05-19Made item amount window a modal dialog and removed support for old map format.Bjørn Lindeijer1-36/+35
2005-05-14Mainly separating core GUI classes from game interface.Bjørn Lindeijer1-4/+2
2005-05-12trade fixes as usual + quit dialog pops up now instead of being under other ↵Jan-Fabian Humann1-27/+26
windows
2005-03-20TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!Bjørn Lindeijer1-2/+2
Also fixed a crash on clicking wallpaper in login phase.
2005-03-05Now you can decide how many items to dropJan-Fabian Humann1-0/+142