World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Классы | |
struct | SDL_Finger |
Определения типов | |
typedef Sint64 | SDL_TouchID |
typedef Sint64 | SDL_FingerID |
typedef struct SDL_Finger | SDL_Finger |
Перечисления | |
enum | SDL_TouchDeviceType { SDL_TOUCH_DEVICE_INVALID = -1, SDL_TOUCH_DEVICE_DIRECT, SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE, SDL_TOUCH_DEVICE_INDIRECT_RELATIVE } |
Функции | |
DECLSPEC int SDLCALL | SDL_GetNumTouchDevices (void) |
Get the number of registered touch devices. Подробнее... | |
DECLSPEC SDL_TouchID SDLCALL | SDL_GetTouchDevice (int index) |
Get the touch ID with the given index, or 0 if the index is invalid. Подробнее... | |
DECLSPEC SDL_TouchDeviceType SDLCALL | SDL_GetTouchDeviceType (SDL_TouchID touchID) |
Get the type of the given touch device. Подробнее... | |
DECLSPEC int SDLCALL | SDL_GetNumTouchFingers (SDL_TouchID touchID) |
Get the number of active fingers for a given touch device. Подробнее... | |
DECLSPEC SDL_Finger *SDLCALL | SDL_GetTouchFinger (SDL_TouchID touchID, int index) |
Get the finger object of the given touch, with the given index. Подробнее... | |
Include file for SDL touch event handling.
См. определение в файле SDL_touch.h
typedef Sint64 SDL_TouchID |
См. определение в файле SDL_touch.h строка 41
typedef Sint64 SDL_FingerID |
См. определение в файле SDL_touch.h строка 42
typedef struct SDL_Finger SDL_Finger |
enum SDL_TouchDeviceType |
Элементы перечислений | |
---|---|
SDL_TOUCH_DEVICE_INVALID | |
SDL_TOUCH_DEVICE_DIRECT | |
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE | |
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE |
См. определение в файле SDL_touch.h строка 44
DECLSPEC int SDLCALL SDL_GetNumTouchDevices | ( | void | ) |
Get the number of registered touch devices.
DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice | ( | int | index | ) |
Get the touch ID with the given index, or 0 if the index is invalid.
DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType | ( | SDL_TouchID | touchID | ) |
Get the type of the given touch device.
DECLSPEC int SDLCALL SDL_GetNumTouchFingers | ( | SDL_TouchID | touchID | ) |
Get the number of active fingers for a given touch device.
DECLSPEC SDL_Finger* SDLCALL SDL_GetTouchFinger | ( | SDL_TouchID | touchID, |
int | index | ||
) |
Get the finger object of the given touch, with the given index.