summaryrefslogtreecommitdiff
path: root/src/gui/window.h
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06Merged layout handler from mainlineBjørn Lindeijer1-24/+40
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-04Code reformattingBjørn Lindeijer1-6/+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. (cherry picked from mainline)
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-29* Fixed issue with determining whether chat input is focused (method no longerBjørn Lindeijer1-4/+6
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).
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-70/+7
gcn::TabbedArea usage)
2007-11-20Merged revisions 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer1-4/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3642 | gmelquio | 2007-10-19 19:46:46 +0200 (Fri, 19 Oct 2007) | 1 line Factored code between resource handlers. Implemented failure-friendly sprite loader. ........ r3662 | gmelquio | 2007-10-21 21:01:16 +0200 (Sun, 21 Oct 2007) | 1 line Added persistent positioning. ........ r3663 | gmelquio | 2007-10-21 21:03:43 +0200 (Sun, 21 Oct 2007) | 1 line Fixed missing pixels at bottom and right. ........ r3664 | gmelquio | 2007-10-21 21:05:56 +0200 (Sun, 21 Oct 2007) | 1 line Changed to use default values when restoring missing settings. ........ r3667 | gmelquio | 2007-10-21 22:09:08 +0200 (Sun, 21 Oct 2007) | 1 line Fixed invisible text in dropboxes and shopboxes. ........
2007-10-22Merged changesets 3631, 3645 and 3648 from trunk to 0.0 branch.Bjørn Lindeijer1-1/+5
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-5/+5
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-08-28Made buy dialog resizable and added a WindowListener class for listening forBjørn Lindeijer1-0/+39
window resize and move events.
2007-08-24Added trimming of name for new character creation and of chat messagesBjørn Lindeijer1-2/+10
appearing above players. Also improved resize mouse cursor indication, removing duplicated code and fixing indicator above resize grip.
2007-08-24Removed unnecessary Gui::isCustomCursor method.Bjørn Lindeijer1-9/+8
2007-08-24Removed useless logic method and reverted mouse cursor to non-static sinceBjørn Lindeijer1-2/+1
there can be only one Gui instance so there is no point in supporting a shared resource.
2007-08-21mantis id=118 - Added Item Shortcut Bar.Joshua Langley1-0/+6
2007-08-20Added close button functionality, resize cursor cues.Joshua Langley1-2/+29
2007-04-15Reimplemented window resizing. It is now once again possible to resize windowsBjørn Lindeijer1-20/+46
using their borders (except for the top one, since that's the title bar for Guichan) and the resize grip in the bottom right is much easier to grab. Needs some testing.
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-10/+9
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-1/+2
2006-08-24Added support for sticky windows as discussed with doener. Patch by AHarrisonEugenio Favalli1-0/+20
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-6/+6
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-3/+4
2005-10-18Header, whitespace and intendation cleanups.Björn Steinbrink1-1/+0
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-5/+6
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-16/+18
on MacOS X) and some cleanups.
2005-09-30Made the inventory Win behave normally when resized by default size functions.Yohann Ferreira1-3/+3
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-0/+14
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/+10
2005-09-28Added window internal name to every window. Useful to later get and save X, ↵Yohann Ferreira1-0/+12
Y, Height, and Width of these wins.
2005-08-28Small cleanup.Björn Steinbrink1-2/+1
2005-08-28Create a static ConfigListener for the Window class.Björn Steinbrink1-7/+10
2005-08-18*Temporary* fix to the resize code. But I'll be avenged by asking for adding ↵Yohann Ferreira1-1/+0
resize code in guichan itself ;)
2005-08-16Some other fixes and an attempt to use MouseOut().Yohann Ferreira1-2/+3
2005-08-16Bugfixing and simplifying the resize code. Still a little bit buggy. (We ↵Yohann Ferreira1-4/+0
were working on the same thing Elven, ;)
2005-08-16Added a resize grip to resizable window, fixed some compiling errors.Eugenio Favalli1-0/+9
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-4/+8
2005-07-13* Committing some cleanups by DoenerBjørn Lindeijer1-0/+1
* 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-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+0
2005-06-16Fixed window resizing to work properly, and on all edges and corners.Bjørn Lindeijer1-5/+10
2005-06-06Fixed resizing window functionJosé Ávila1-2/+6
2005-06-05Using custom focus handler to work around problem with multiple widgetsBjørn Lindeijer1-1/+0
requesting modal focus using a stack based approach.
2005-05-19Made item amount window a modal dialog and removed support for old map format.Bjørn Lindeijer1-14/+3
2005-05-18Upgrade to Guichan 0.4.0, TMW can no longer compile, link or run against 0.3.0.Bjørn Lindeijer1-23/+28
2005-04-30Correctly draw window borders with GUI opacity in OpenGL mode.Bjørn Lindeijer1-5/+1
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-1/+1
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-18Fixed tileset loading to clear tilesets vector when finished.Bjørn Lindeijer1-34/+34
2005-04-09Fixed up problem with inventory display.Aaron Marks1-0/+14
Added maximum width/height of window (for resizing).
2005-04-08Added window resizing.Aaron Marks1-0/+24
2005-04-02Added ConfigListener class to allow listening for changes to config options,Bjørn Lindeijer1-1/+7
and added a GUI opacity slider to the setup window that utilizes this.
2005-03-26Make sure logic method is called on the content of windows, fixes lists.Bjørn Lindeijer1-0/+5
2005-03-20TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!Bjørn Lindeijer1-30/+9
Also fixed a crash on clicking wallpaper in login phase.
2005-03-19Added config option for GUI alpha.Bjørn Lindeijer1-0/+1