Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_GetModifierKeyState ( GHOST_SystemHandle  systemhandle,
GHOST_TModifierKeyMask  mask,
int *  isDown 

Returns the state of a modifier key (ouside the message queue).

systemhandle The handle to the system
mask The modifier key state to retrieve.
isDown Pointer to return modifier state in.
Indication of success.

Definition at line 351 of file GHOST_C-api.cpp.

References GHOST_ISystem::getModifierKeyState(), and GHOST_GetModifierKeyState().

Referenced by GHOST_GetModifierKeyState().

      GHOST_ISystem* system = (GHOST_ISystem*) systemhandle;
      GHOST_TSuccess result;
      bool isdown;
      result = system->getModifierKeyState(mask, isdown);
      *isDown = (int) isdown;

      return result;

Generated by  Doxygen 1.6.0   Back to index