summaryrefslogtreecommitdiff
path: root/src/gui/setup_players.cpp
AgeCommit message (Collapse)AuthorFilesLines
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-11Made player relations persistent by default and removed option from GUIBjørn Lindeijer1-6/+2
Also changed the config key to make sure the new default applies to everybody. It is now 'persistent-player-list' instead of 'persist-player-list'.
2009-04-29Fixed const-ness of TableModel related methodsBjørn Lindeijer1-6/+6
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-15Clean up some more memory leaksJared Adams1-2/+3
And remove an unneeded variable
2009-04-15Have the DropDown create its ScrollArea and ListBoxBjørn Lindeijer1-7/+2
And also clean them up again. Fixes some memory leaks and simplifies the code. Also got rid of the basically unused "opaque" setting of DropDown.
2009-04-15Add a config option to always use whipser tabsJared Adams1-1/+15
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-1/+1
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer1-1/+2
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-15/+16
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-23Merge branch 'aethyra/master'Bjørn Lindeijer1-5/+4
Conflicts: Many files.
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-5/+4
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-2/+2
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-2/+2
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-5/+5
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-22/+35
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-12Some more files which got fixed up for release (basically versionIra Rice1-2/+3
bumps). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Fixed the default table width for the player tab.Ira Rice1-20/+33
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Whitespace fixesBjørn Lindeijer1-1/+1
Mainly removed trailing whitespace. Also small fix in header of recorder.cpp.
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-3/+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-1/+1
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-10Whitespace fixesBjørn Lindeijer1-1/+1
Mainly removed trailing whitespace. Also small fix in header of recorder.cpp.
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-8/+18
Conflicts: A lot of files...
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-7/+6
Conflicts: Almost everywhere.
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-1/+3
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-02-03Modified the dropdown class to handle opacity.Ira Rice1-5/+12
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-03Fixed up table class to allow for different background colors, as wellIra Rice1-1/+2
as defining whether the given table is opaque or not. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Synchronized setup dialog size with AethyraBjørn Lindeijer1-2/+2
Hopefully fixes some layout issues on Windows.
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-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-19Reflowed Player tab in setup to use layout codeIra Rice1-22/+28
Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from commit 18c00fedebda79d4ebfbe15401c3e5bc8869fda2) Conflicts: src/gui/setup_players.cpp
2009-01-18Reflowed Player tab in setup to use layout code. TODO: Fix up tableIra Rice1-21/+27
model, cause it's a mess. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Merged Tab and TabbedArea from mainlineBjørn Lindeijer1-0/+1
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-13Merged Tab and TabbedArea from mainlineBjørn Lindeijer1-0/+1
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-12Updated the po files so that they shouldn't generate errors for us anyIra Rice1-10/+5
more, as well as a few more code style fixes. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-22/+40
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-21/+39
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-13Code style reformattingBjørn Lindeijer1-26/+22
Got rid of "void" in functions that take no arguments and removed the newline after the return type of a method in many places.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+3
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-10-15Added patch so that players can turn on or off speech bubbles.Ira Rice1-1/+1
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-16Allow whispers by default (patch by Fate).Bjørn Lindeijer1-1/+1
2008-06-09Fix for segfault in drop down list of player ignore and sanity check for ↵Dennis Friis1-1/+6
/whisper ignore. Patch by fate.
2008-05-19Removed the PopupBox class and used gcn::DropDown instead. It has clippingBjørn Lindeijer1-5/+5
issues, but it would be better to fix those instead of using this complicated workaround.
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-0/+342
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.