summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-08-20Added close button functionality, resize cursor cues.Joshua Langley1-26/+138
2007-07-11Fixed resizing windows by their resize grip.Bjørn Lindeijer1-7/+6
2007-04-15Increased minimum window height and fixed a problem with setting window contentBjørn Lindeijer1-3/+3
size which was introduced with the new resize grip.
2007-04-15Reimplemented window resizing. It is now once again possible to resize windowsBjørn Lindeijer1-67/+124
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-83/+38
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-2/+0
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-0/+3
2006-08-24Added support for sticky windows as discussed with doener. Patch by AHarrisonEugenio Favalli1-0/+21
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-21/+11
from the 0.1.0 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
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-0/+1
style is up for discussion.
2005-06-06Fixed resizing window functionJosé Ávila1-15/+80
2005-06-05Using custom focus handler to work around problem with multiple widgetsBjørn Lindeijer1-14/+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-4/+3
2005-05-18Upgrade to Guichan 0.4.0, TMW can no longer compile, link or run against 0.3.0.Bjørn Lindeijer1-30/+57
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-2/+2
2005-04-30Correctly draw window borders with GUI opacity in OpenGL mode.Bjørn Lindeijer1-12/+12
2005-04-18Fixed tileset loading to clear tilesets vector when finished.Bjørn Lindeijer1-19/+19
2005-04-09Fixed up problem with inventory display.Aaron Marks1-0/+17
Added maximum width/height of window (for resizing).
2005-04-08Added window resizing.Aaron Marks1-3/+37
2005-04-02Added ConfigListener class to allow listening for changes to config options,Bjørn Lindeijer1-0/+16
and added a GUI opacity slider to the setup window that utilizes this.
2005-04-02Less Image::setAlpha calls.Bjørn Lindeijer1-3/+4
2005-03-26Make sure logic method is called on the content of windows, fixes lists.Bjørn Lindeijer1-0/+8
2005-03-25Moved datafiles in unified structure.Bjørn Lindeijer1-3/+3
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-2/+2
2005-03-20TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!Bjørn Lindeijer1-91/+34
Also fixed a crash on clicking wallpaper in login phase.
2005-03-19Added config option for GUI alpha.Bjørn Lindeijer1-2/+6