Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_Types.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| /** The y-location of the trackpad event */ | /** The y-location of the trackpad event */ | ||||
| int32_t y; | int32_t y; | ||||
| /** The x-delta or value of the trackpad event */ | /** The x-delta or value of the trackpad event */ | ||||
| int32_t deltaX; | int32_t deltaX; | ||||
| /** The y-delta (currently only for scroll subtype) of the trackpad event */ | /** The y-delta (currently only for scroll subtype) of the trackpad event */ | ||||
| int32_t deltaY; | int32_t deltaY; | ||||
| /** The delta is inverted from the device due to system preferences. */ | /** The delta is inverted from the device due to system preferences. */ | ||||
| char isDirectionInverted; | char isDirectionInverted; | ||||
| /** The change in scale factor, or rotation in degrees. */ | |||||
| float factor; | |||||
| } GHOST_TEventTrackpadData; | } GHOST_TEventTrackpadData; | ||||
| typedef enum { | typedef enum { | ||||
| GHOST_kDragnDropTypeUnknown = 0, | GHOST_kDragnDropTypeUnknown = 0, | ||||
| GHOST_kDragnDropTypeFilenames, /* Array of strings representing file names (full path). */ | GHOST_kDragnDropTypeFilenames, /* Array of strings representing file names (full path). */ | ||||
| GHOST_kDragnDropTypeString, /* Unformatted text UTF-8 string. */ | GHOST_kDragnDropTypeString, /* Unformatted text UTF-8 string. */ | ||||
| GHOST_kDragnDropTypeBitmap /* Bitmap image data. */ | GHOST_kDragnDropTypeBitmap /* Bitmap image data. */ | ||||
| } GHOST_TDragnDropTypes; | } GHOST_TDragnDropTypes; | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||