summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-2/+5
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-28Consolidated setMinWidth into textWrap, since all lines are dependantIra Rice1-2/+1
upon knowing what dimension they have to wrap to or beat in order for text wrapping to work. By adding this to be initiated at the same time as the text wrapping is done, this should decrease visual artifacts caused by not initializing it properly to begin with. Also made the item popups compact to the minimum dimension. 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-06Added support for internationalizationIra Rice1-1/+3
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-2/+0
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-10-28Fixed up confirm dialogues so that they also can utilize the text Ira Rice1-1/+0
wrapping code, like the ok dialogues.
2008-10-28Fixed OK dialogue so that it draws correctly for multiple lines Ira Rice1-1/+1
(forgot to do button padding before).
2008-10-25Made the ok dialogue use code that's similar to the speech bubble, so Ira Rice1-14/+40
that it can take advantage of the text box's wrapping code.
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-3/+3
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-1/+2
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-2/+2
from the 0.1.0 branch.
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-4/+1
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-4/+8
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-01-30A few cleanups and simplifications.Björn Steinbrink1-21/+6
2006-01-04Reverted r0nny changes, enabled 3 slots to create players, smoothed player ↵Eugenio Favalli1-6/+6
deletion.
2005-10-20Various cleanups and refactorisations.Björn Steinbrink1-2/+2
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-6/+4
2005-09-20Fixed use of Enter for closing death and weight notices, and changed glColor4fBjørn Lindeijer1-5/+4
to glColor4ub.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-0/+4
2005-05-19Made item amount window a modal dialog and removed support for old map format.Bjørn Lindeijer1-3/+3
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-01-13Got rid of Allegro ok dialog completely. Now just the yes_no dialog remaining.Bjørn Lindeijer1-5/+9
2005-01-11Implemented parent relationship for Window class and converted more ok dialogsBjørn Lindeijer1-2/+14
to the OkDialog class.
2005-01-08Some improvements to character creation and selection dialogs.Bjørn Lindeijer1-7/+15
2005-01-08Well improved window container and window widgets a bit, and made a startBjørn Lindeijer1-2/+5
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
2004-12-28Simplified graphic engineEugenio Favalli1-4/+4
2004-12-27Added AUTHORS.txt file, $Id$ tags to gui source files and added OkButtonBjørn Lindeijer1-2/+2
modules to file lists.
2004-12-27Ok dialog (still to complete)Eugenio Favalli1-0/+56