summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.cpp
AgeCommit message (Collapse)AuthorFilesLines
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-20Switch the NPC text dialog over to a BrowserBoxJared Adams1-12/+14
2009-01-06Added support for internationalizationBjørn Lindeijer1-2/+4
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91.
2008-12-07Fixed wrapping in some cases, removed draw methodBjørn Lindeijer1-15/+8
The 'draw' method was confusingly named, and was actually for updating the GUI after a resize. Its functionality has been merged into 'widgetResized'. The wrapping was broken in the case where text was added to the NPC dialog, cause it was added to an already wrapped string, causing the wrapping to become permanent. Sorry for all the reformatting. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Made NPC dialogues resizeable.Ira Rice1-4/+33
(cherry picked from Aethyra commit 81299ca9acc39dec62e1e504781721ad0db0d471) Conflicts: src/gui/inventorywindow.cpp src/gui/npc_text.cpp
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-04-16Restored the text wrapping in TextBox, since it was based on overriding aBjørn Lindeijer1-4/+4
method that is no longer virtual in Guichan 0.8.0 (gcn::TextBox::setText()).
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-2/+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-4/+1
2006-02-01Simplified button creation code in some windows. Fixed a bug where the game ↵Björn Steinbrink1-1/+2
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-13/+10
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-2/+0
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-2/+2
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-6/+9
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-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-2/+8
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-8/+10
2005-06-05Implemented wrapping for textbox (still could use a small fix) and made deathBjørn Lindeijer1-23/+6
notice dialog release modal focus immediately.
2005-05-05Added text wrapping to NPC dialog.Aaron Marks1-3/+22
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-0/+1
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.
2005-01-05Removed bugging cancel button from npc dialog and fixed npc sprites.Bjørn Lindeijer1-2/+5
2004-12-30Subclassed ListBox and TextBox for a little better visual appearance.Bjørn Lindeijer1-1/+2
2004-12-29Ported the npc text dialog and some other small updates.Bjørn Lindeijer1-0/+75