summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17Reintroduced window name propertyBjørn Lindeijer1-3/+4
Still used in the eAthena client and it seems saner to me to have it.
2008-12-17Code reformattingBjørn Lindeijer1-4/+3
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project.
2008-12-14Fixed inconsistency in default window sizesBjørn Lindeijer1-3/+3
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> (cherry picked from eAthena branch, commit 72f5288682f46af1f7c04c002172178c880e060b) Conflicts: src/gui/chat.cpp src/gui/equipmentwindow.cpp src/gui/inventorywindow.cpp src/gui/ministatus.cpp src/gui/setup.cpp src/gui/skill.cpp src/gui/trade.cpp src/gui/window.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-11-01Merged revisions 4207-4209,4221-4222 via svnmerge from Bjørn Lindeijer1-16/+7
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4207 | b_lindeijer | 2008-04-29 11:10:43 +0200 (Tue, 29 Apr 2008) | 6 lines * Fixed issue with determining whether chat input is focused (method no longer virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway). ........ r4208 | b_lindeijer | 2008-04-29 13:25:26 +0200 (Tue, 29 Apr 2008) | 3 lines Removed unused option from GCContainer to not delete a child, fixing warnings about hiding virtual method gcn::Container::add. ........ r4209 | b_lindeijer | 2008-04-29 14:58:21 +0200 (Tue, 29 Apr 2008) | 3 lines When compiling with GCC, use the printf format attribute for the log method so that the compiler checks the type of its parameters. ........ r4221 | peaveydk | 2008-05-06 21:23:49 +0200 (Tue, 06 May 2008) | 1 line Dont allow dragging of empty placeholders. ........ r4222 | peaveydk | 2008-05-08 00:49:38 +0200 (Thu, 08 May 2008) | 1 line Make F8 toggle shortcut window as suggested by And1 an fate. ........
2008-07-03Fix guild window focus and crash bugDavid Athay1-1/+1
2008-07-01Ported some GUI improvements from Legend of Mazeroth (GUI skinning via XML ↵Philipp Sehmisch1-35/+222
files, item descriptions on mouse-over, map names in minimap window, speech bubbles)
2008-04-11Ported trunk over to Guichan 0.8.0. Based on merge from 0.0 branch, but becauseBjørn Lindeijer1-94/+23
of quite a bit of GUI differences there were additional changes and probably additional issues. You have been warned. ;) Merged revisions 4045-4049,4051-4059 via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4045 | b_lindeijer | 2008-04-07 17:23:07 +0200 (Mon, 07 Apr 2008) | 3 lines Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except for gcn::TabbedArea usage) ........ r4059 | b_lindeijer | 2008-04-09 16:25:42 +0200 (Wed, 09 Apr 2008) | 2 lines Fixed problem with row height in shop list box. ........
2007-10-27Improved layout handler to support trees of nested arrays. Needed for ↵Guillaume Melquiond1-19/+11
converting and fixing the trade window.
2007-10-27Made it compile with GCC 4.3Guillaume Melquiond1-1/+4
2007-10-21Changed to use default values when restoring missing settings.Guillaume Melquiond1-7/+8
2007-10-21Made visible the resizable grip on inventory window.Guillaume Melquiond1-3/+7
2007-10-21Added automatic layout reflowing on window resize.Guillaume Melquiond1-0/+11
2007-10-21Removed redundant resizable flag. Factored moving/resizing code, so that ↵Guillaume Melquiond1-38/+35
events are fired only once per size change.
2007-10-20Added a layout handler for automatically positioning widgets in a window. ↵Guillaume Melquiond1-26/+39
Fixed layout of login dialog box when native language is not English.
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-30/+168
2007-09-10Added support for True Type Fonts.Eugenio Favalli1-0/+1
2007-08-07Fixed my breakage of persistent window dimensions. Cleaned a few things ↵Guillaume Melquiond1-14/+16
along the way.
2007-07-11Merged Guichan 0.7.0 fix from 0.0 branch.Bjørn Lindeijer1-7/+6
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-65/+120
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-83/+38
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-0/+3
2006-11-05Merged the definition of ImageRect into graphics.h.Bjørn Lindeijer1-2/+0
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-5/+7
2006-08-28Merged trunk development between revisions 2530 and 2618 to the 0.1.0 branch.Bjørn Lindeijer1-0/+21
2006-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-22/+12
branch).
2006-03-25Added window resize patch by peoro.Eugenio Favalli1-9/+6
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-19/+6
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-23/+23
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-6/+8
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-21/+19
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-10-02Added check for pthread library (needed for FreeBSD, still needs to be checkedBjørn Lindeijer1-39/+36
on MacOS X) and some cleanups.
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-0/+21
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-28Save and load X, Y, Height, and Width to useful wins.Yohann Ferreira1-0/+25
2005-09-28Added window internal name to every window. Useful to later get and save X, ↵Yohann Ferreira1-0/+11
Y, Height, and Width of these wins.
2005-09-20Fixed use of Enter for closing death and weight notices, and changed glColor4fBjørn Lindeijer1-5/+6
to glColor4ub.
2005-08-28Create a static ConfigListener for the Window class.Björn Steinbrink1-21/+33
2005-08-27Bail out early if there's no window container.Björn Steinbrink1-6/+5
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-8/+3
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-18*Temporary* fix to the resize code. But I'll be avenged by asking for adding ↵Yohann Ferreira1-33/+1
resize code in guichan itself ;)
2005-08-16Some other fixes and an attempt to use MouseOut().Yohann Ferreira1-3/+36
2005-08-16Bugfixing and simplifying the resize code. Still a little bit buggy. (We ↵Yohann Ferreira1-43/+11
were working on the same thing Elven, ;)
2005-08-16Added a resize grip to resizable window, fixed some compiling errors.Eugenio Favalli1-7/+26
2005-08-14Removed guiGraphics global pointer and removed dependencies on gui.h in some ↵Björn Steinbrink1-7/+6
places.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-2/+12
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-1/+1
nicer approach after the release.
2005-07-16Updated changelog, got rid of remaining extern SDL_Surface *screen cases,Bjørn Lindeijer1-9/+7
fixed double free and cleaned up a bit.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-0/+3
2005-07-13* Committing some cleanups by DoenerBjørn Lindeijer1-11/+6
* Fixed some compiler warnings * Restored a USE_OPENGL check around OpenGL headers * Fixed error about FALSE not being defined * Fixed issue with font to become speechFont when the latter is not installed
2005-06-16Fixed window resizing to work properly, and on all edges and corners.Bjørn Lindeijer1-79/+143