orx  1.14
Portable Game Engine
orxMouse.h File Reference
#include "orxInclude.h"
#include "plugin/orxPluginCore.h"
#include "math/orxVector.h"
#include "utils/orxString.h"

Go to the source code of this file.

Macros

#define orxMOUSE_KZ_CONFIG_GRAB   "Grab"
 
#define orxMOUSE_KZ_CONFIG_SECTION   "Mouse"
 
#define orxMOUSE_KZ_CONFIG_SHOW_CURSOR   "ShowCursor"
 

Enumerations

enum  orxMOUSE_AXIS { orxMOUSE_AXIS_X = 0, orxMOUSE_AXIS_Y, orxMOUSE_AXIS_NUMBER, orxMOUSE_AXIS_NONE = orxENUM_NONE }
 
enum  orxMOUSE_BUTTON {
  orxMOUSE_BUTTON_LEFT = 0, orxMOUSE_BUTTON_RIGHT, orxMOUSE_BUTTON_MIDDLE, orxMOUSE_BUTTON_EXTRA_1,
  orxMOUSE_BUTTON_EXTRA_2, orxMOUSE_BUTTON_EXTRA_3, orxMOUSE_BUTTON_EXTRA_4, orxMOUSE_BUTTON_EXTRA_5,
  orxMOUSE_BUTTON_WHEEL_UP, orxMOUSE_BUTTON_WHEEL_DOWN, orxMOUSE_BUTTON_NUMBER, orxMOUSE_BUTTON_NONE = orxENUM_NONE
}
 

Functions

orxDLLAPI void orxFASTCALL orxMouse_Exit ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxMouse_GetAxisName (orxMOUSE_AXIS _eAxis)
 
orxDLLAPI const orxSTRING orxFASTCALL orxMouse_GetButtonName (orxMOUSE_BUTTON _eButton)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxMouse_GetMoveDelta (orxVECTOR *_pvMoveDelta)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxMouse_GetPosition (orxVECTOR *_pvPosition)
 
orxDLLAPI orxFLOAT orxFASTCALL orxMouse_GetWheelDelta ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxMouse_Grab (orxBOOL _bGrab)
 
orxDLLAPI orxSTATUS orxFASTCALL orxMouse_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxMouse_IsButtonPressed (orxMOUSE_BUTTON _eButton)
 
orxDLLAPI orxSTATUS orxFASTCALL orxMouse_SetCursor (const orxSTRING _zName, const orxVECTOR *_pvPivot)
 
orxDLLAPI orxSTATUS orxFASTCALL orxMouse_SetPosition (const orxVECTOR *_pvPosition)
 
orxDLLAPI void orxFASTCALL orxMouse_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxMouse_ShowCursor (orxBOOL _bShow)
 

Detailed Description


Generated for orx by doxygen 1.8.11