____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

widget.cpp File Reference

#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)


Function Documentation

int convertKey ( const char *  key  ) 

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().


Generated on Sat Feb 21 00:28:22 2009 for Bos Wars by  doxygen 1.5.6