summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2009-07-23Clear some more support ifdefsJared Adams1-45/+10
2009-05-14Fixed Reset Windows to also reset the party windowBjørn Lindeijer1-0/+2
Mantis-issue: 697
2009-05-14Fixed the worst layout issues that came up with translationsBjørn Lindeijer1-2/+2
Video and player setup pages now look a bit better when translated or when the font size is increased.
2009-05-05Fixed up the video tab in the setup window.Chuck Miller1-1/+1
We really should considering adding a new tab, the video window is getting pretty full
2009-05-04Replaced emote window with a new emote popupBjørn Lindeijer1-3/+1
The popup is meant to be temporary, showing the emote instantly when you click on it. It adapts nicely to show any number of emotes. I still need to add a better way of assigning emote shortcuts, since currently you can only change which emote is assigned to which shortcut by actually using it.
2009-05-01Merge the NPC dialogs into oneJared Adams1-2/+0
Also add support for the new TMWServ NPC packets
2009-04-12Moved client version string creation to preprocessorBjørn1-1/+1
2009-04-12Merge version strings, add version to setup, etcJared Adams1-0/+7
All instances of version strings should now use the same text. The version label was moved from main.cpp to Desktop. A new version label was added to SetupDialog to make it easier to get the version if you are already in game.
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer1-25/+13
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-10/+11
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-14/+41
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-13/+26
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+8
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-19Make sure positionable dialogs start out centeredJared Adams1-1/+1
2009-03-15Overrode the reset window function in the chat window to also reset theIra Rice1-0/+2
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fix some mem leaksJared Adams1-0/+2
2009-03-14Exposed a few more windows to the reset button on the setup window.Ira Rice1-15/+21
These windows required an external declaration to reset. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Exposed a few more windows to the reset window button under the setupIra Rice1-0/+6
dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Delete local player earlier and fix a rare crashJared Adams1-3/+0
Rare crash is in KeyboardConfig, where the active keys array is accessed before it's initialized. Also remove some debug prints that made it into a previous commit.
2009-03-10Remove some SetupWindow weirdnessJared Adams1-3/+10
2009-03-10Fix some mem leaksJared Adams1-9/+2
2009-03-10Remove some SetupWindow weirdnessJared Adams1-2/+8
2009-03-10Fix some mem leaksJared Adams1-2/+9
2009-03-10Fix some mem leaksJared Adams1-2/+9
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-2/+2
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-2/+2
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-10Added two more options for displaying speech overhead (don't show it atIra Rice1-2/+2
all and show speech bubbles without names). Since a checkbox won't work any more for all of these modes, it's now a slider. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed some accidental capitalization errorsPhilipp Sehmisch1-1/+1
2009-02-10Changed spelling from colour to color.Philipp Sehmisch1-2/+2
2009-02-09Mostly whitespace and formatting changesBjørn Lindeijer1-1/+1
(merged from eAthena client)
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-3/+0
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-25Fixed a few translatable strings.Ira Rice1-4/+4
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-15Merged Tab and TabbedArea from mainlineBjørn Lindeijer1-11/+11
Changes mostly done by David Athay. Currently these widgets are only used in the setup window, where they replace the previously used TabbedContainer.
2009-01-12Fixed color spelling for American English.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-12Some rather pedantic changes. Unified all naming for emoticons in theIra Rice1-4/+4
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-09Fixed the default size for shortcut windows, as well as added both ofIra Rice1-0/+4
the new shortcut windows to the reset shortcut window. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-06Added support for internationalizationIra Rice1-13/+14
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-05Made trade window resizableBjørn Lindeijer1-0/+2
Also fixed overlap between description label and the buttons and added the SDL_ttf library to the Code::Blocks project file.
2008-12-14Fixed inconsistency in default window sizesBjørn Lindeijer1-0/+2
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-12-07Fixed inconsistency in default window sizesBjørn Lindeijer1-0/+2
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>
2008-12-03Disabled "Reset Windows" button when appropriateBjørn Lindeijer1-0/+9
You shouldn't be able to press "Reset Windows" before the in-game windows have been created. Previously this would crash.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-10/+7
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/+2
using special actions like magic)