Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2141 in orxonox.OLD for orxonox/branches/chris/src/keynames.h


Ignore:
Timestamp:
Jul 14, 2004, 3:31:42 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: added lots and lots of doxygen tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/keynames.h

    r2066 r2141  
    1212#include <SDL/SDL.h>
    1313
     14/**
     15        \brief converts a button name string to a integer representing the corresponding SDL mouse button identifier
     16        \param name: the name of the mouse button
     17        \return an int containing the SDL identifier of the mouse button or -1 if the button name is not valid
     18*/
    1419int buttonname_to_SDLB( char* name);
     20
     21/**
     22        \brief converst a SDL mouse button identifier to a name string
     23        \param button: an SDL mouse button identifier
     24        \return a pointer to a string containing the name of the mouse button
     25*/
    1526char* SDLB_to_buttonname( int button);
     27
     28/**
     29        \brief converts a key name string to a integer representing the corresponding SDLK sym
     30        \param name: the name of the key
     31        \return the SDLK sym of the named key or -1 if the key name is not valid
     32*/
    1633int keyname_to_SDLK( char* name);
     34
     35/**
     36        \brief converts an SDLK sym to a name string
     37        \param key: the SDLK sym
     38        \return a pointer to a string containig the name of the key
     39*/
    1740char* SDLK_to_keyname( int key);
    1841
Note: See TracChangeset for help on using the changeset viewer.