summaryrefslogtreecommitdiff
path: root/src/gui/setup_keyboard.h
AgeCommit message (Collapse)AuthorFilesLines
2025-01-21Replaced include guards with #pragma onceThorbjørn Lindeijer1-4/+1
Thanks to https://github.com/cgmb/guardonce and a follow-up replace to remove duplicated newlines at end of file: find src -type f -name '*.h' -exec \ sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Source: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof Fixes compile on macOS, which appears to have been due to the EVENT_H include guard.
2025-01-20Made client config statically typedThorbjørn Lindeijer1-2/+0
This makes accessing the config values much faster, since it no longer needs to do a lookup nor string conversion, which means we could remove some needless copying of the values. Overall it makes it easier to find out where settings are used and it puts the defaults along with the declaration. Options with default values are no longer saved to the config file. This does not include unrecognized options, which are kept around to provide some compatibility with older clients. While most basic options have kept the same name, more complicated settings like window geometry, shortcuts, outfits, etc. now have their own XML elements. Older clients will ignore these and erase them when saving the configuration.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-4/+4
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-31Added missing copyright notices.Yohann Ferreira1-0/+2
Reviewed-by: Erik Schilling
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-6/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2010-03-08Rename UnAssign to UnassignChuck Miller1-1/+1
2010-03-08Add unassign button in setup keyboard tab.Andrei Karas1-0/+1
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-3/+2
2010-01-11Cleanup GUI classesJared Adams1-4/+4
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer1-2/+2
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-1/+0
Conflicts: A lot of files...
2009-02-09Fixed copyright notice for keyboard configurationBjørn Lindeijer1-2/+2
Also credited Joshua Langley in the AUTHORS file.
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-1/+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-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
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.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-6/+4
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-07-18Import of client treeLloyd Bryant1-1/+1
2007-08-19src/gui/setup_keyboard.cpp, src/gui/setup_keyboard.h: fixed bug - reverts ↵Joshua Langley1-0/+7
unassigned key.
2007-07-25keyboard config - keyboard setup gui re-designed, fixed errors in keyboard ↵Joshua Langley1-10/+5
config. m_id:16
2007-07-24Fixed initialization order and added setup_keyboard.* and keyboardconfig.* toBjørn Lindeijer1-81/+82
the list of source files. Also set some missing Subversion properties.
2007-07-24keyboard configuration - mainly documentation fixes. Joshua Langley1-5/+12
http://mantis.themanaworld.org/view.php?id=16
2007-07-16(no commit message)Joshua Langley1-0/+74