summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-11/+51
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-3/+3
Conflicts: Many files.
2009-03-19Make sure positionable dialogs start out centeredJared Adams1-2/+4
2009-03-18Fix up the NPC interraction widnows a bitJared Adams1-1/+15
2009-03-18Fix up the NPC interraction widnows a bitJared Adams1-3/+13
2009-03-15Fixed BuySell dialog to remember its position. For proper configurationIra Rice1-0/+1
saving, this needed a window name set. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Overrode the reset window function in the chat window to also reset theIra Rice1-2/+3
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Centered buy/sell dialog.Ira Rice1-0/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice1-1/+0
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Don't center the NPC interraction dialogsJared Adams1-1/+0
Use the last location the user gave instead. Also, do the same for the inventory dialog.
2009-02-26Merge branch 'aethyra/master'Bjørn Lindeijer1-4/+12
Conflicts: data/graphics/images/login_wallpaper.png src/being.cpp src/beingmanager.cpp src/engine.cpp src/game.cpp src/gui/buysell.cpp src/gui/buysell.h src/gui/gui.h src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npclistdialog.h src/gui/npcstringdialog.cpp src/gui/sell.cpp src/gui/shop.cpp src/gui/table.cpp src/net/beinghandler.cpp src/net/npchandler.cpp src/net/playerhandler.cpp src/npc.cpp src/npc.h src/shopitem.cpp src/shopitem.h src/utils/stringutils.cpp src/utils/stringutils.h src/utils/trim.h
2009-02-25Fix NPC handling to not need a handle on the NPCIra Rice1-8/+26
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fix NPC handling to not need a handle on the NPCJared Adams1-6/+16
The Being ID is used instead, as that is all that was ever really needed.
2009-02-23Hide the buy/sell dialogs when there is no NPCJared Adams1-0/+7
2009-02-18Centralize current_npc cleanupJared Adams1-1/+1
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-4/+6
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
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-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-4/+4
2006-10-09little tweaks to buy and buy/sell dialogs.Yohann Ferreira1-0/+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-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-3/+1
2006-03-08Some fixes for compiling with pedantic compiler settings and const char* checks.Bjørn Lindeijer1-2/+2
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-1/+1
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-02-01Simplified button creation code in some windows. Fixed a bug where the game ↵Björn Steinbrink1-27/+20
crashes if there's a message dialog from a npc that no longer exists. Reverted properties to private.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-18/+6
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-7/+0
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-3/+3
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-3/+9
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-4/+4
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.
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-0/+1
2005-02-23Committed patch by Mra, which fixes multiple NPCs talks in one window andBjørn Lindeijer1-4/+27
moves the action listener used with BuySellDialog into that class.
2005-01-08Well improved window container and window widgets a bit, and made a startBjørn Lindeijer1-2/+2
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
2004-12-28Renamed stats dialog to status dialog, which it is and to make room for theBjørn Lindeijer1-6/+0
real stats dialog that is currently called the skill dialog.
2004-12-28Ported buy/sell dialog, made sure mouse is only drawn once and updated buildBjørn Lindeijer1-0/+69
files.