summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-7/+8
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-9/+5
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-8/+5
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-17/+41
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-11Added a new Popup class, which overall is functionally similar to theIra Rice1-8/+5
Window class, but stripped down to the bare essential functionality to just draw and position them. This means no resizing, no close buttons, no ability to move them, etc. This should help reduce the overhead in drawing speech bubbles, as well as other popup type dialogs, but is also not a drop in replacement for the Window class as well. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-1/+0
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-1/+0
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Mostly whitespace and formatting changesBjørn Lindeijer1-1/+1
(merged from eAthena client)
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-12Some rather pedantic changes. Unified all naming for emoticons in theIra Rice1-2/+2
code so that only one term is used everywhere (to simplify maintainability), as well as corrected several variable names and comments where there was copy/pasted code, but it wasn't corrected. Also moved emote shortcuts back to where they were originally, to reduce player confusion when the next build comes around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Added support for internationalizationIra Rice1-18/+20
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>
2009-01-05Added emote window button.Ira Rice1-0/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-05Add buddy windowDavid Athay1-0/+6
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-8/+5
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-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-01Magic implementation phase 1 and 2 (added netcode and a very crude gui for ↵Philipp Sehmisch1-0/+6
using special actions like magic)
2008-07-23Added viewable cape/misc1/misc2, Chat button in GUILloyd Bryant1-1/+7
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-04-09Re-enabled non-functional item shortcut window, planned to be fixed for 0.0.25Bjørn Lindeijer1-6/+6
(reverted change 3811). Somehow seems it's not drawing anything, not sure why.
2008-02-28Work in Progress commit of guilds.David Athay1-0/+6
2007-12-24Disabled non-functional item shortcut window.Bjørn Lindeijer1-6/+6
2007-11-20Merged revisions 3642,3662-3664,3667 via svnmerge from Bjørn Lindeijer1-6/+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-21Fixed missing pixels at bottom and right.Guillaume Melquiond1-6/+3
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-2/+10
2007-08-22Added close button and item shortcut backgrounds to files that will beBjørn Lindeijer1-2/+5
installed.
2007-08-21mantis id=118 - Added Item Shortcut Bar.Joshua Langley1-1/+6
2007-08-07Marked most of the GUI as translatable.Guillaume Melquiond1-9/+10
2007-03-11Merged 0.0 changes from revision 3065 to 3177 to trunk.Bjørn Lindeijer1-6/+19
2007-02-04Fixed a small glitch when dragging the menu window.Bjørn Lindeijer1-6/+19
2007-01-23Merged 0.0 changes from revision 3035 to 3065 to trunk.Bjørn Lindeijer1-1/+2
2007-01-15Fixed issue where the player stops walking.v0.0.22.1Bjørn Lindeijer1-1/+2
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-7/+7
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-7/+7
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-4/+4
from the 0.1.0 branch.
2006-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-4/+4
branch).
2006-03-18Use the window container instead of the graphics class to calculate window ↵Björn Steinbrink1-4/+2
positions.
2006-03-09Made all local action listeners structs and moved them into anonymous ↵Björn Steinbrink1-8/+10
namespaces.
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-3/+1
2006-03-08Some fixes for compiling with pedantic compiler settings and const char* checks.Bjørn Lindeijer1-2/+2
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-5/+5
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-02-01Simplified button creation code in some windows. Fixed a bug where the game ↵Björn Steinbrink1-36/+15
crashes if there's a message dialog from a npc that no longer exists. Reverted properties to private.
2005-10-23Fix a warning and a possible segmentation fault.Cedric Borgese1-1/+1
2005-10-20Various cleanups and refactorisations.Björn Steinbrink1-27/+40
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-9/+0
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-4/+5
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-04Move to top the requested windows. Also corrected the default win pos for ↵Yohann Ferreira1-0/+5
inventory and equipment.
2005-09-30Fixed paths for windows usersMatthias Hartmann1-1/+1
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-2/+7
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-16Improved General GUI Layout.Yohann Ferreira1-0/+116