____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include "guichan/basiccontainer.h"#include "guichan/exception.h"#include "guichan/focushandler.h"#include "guichan/widget.h"#include <iostream>#include "guichan/sdl/sdlinput.h"#include "SDL.h"Go to the source code of this file.
Namespaces | |
| namespace | gcn |
Functions | |
| int | Str2SdlKey (const char *str) |
| int | convertKey (const char *key) |
| int convertKey | ( | const char * | key | ) |
Definition at line 70 of file widget.cpp.
References gcn::SDLInput::convertKeyCharacter(), gcn::Key::getValue(), and Str2SdlKey().
Referenced by GetHotKey(), and gcn::Widget::setHotKey().
| int Str2SdlKey | ( | const char * | str | ) |
Convert a string to SDLKey
Definition at line 785 of file sdl.cpp.
References InitKey2Str(), Key2Str, and Str2Key.
Referenced by convertKey().
1.5.6