Cogs.Core
Public Types | Public Attributes | List of all members
Cogs::Gesture::Swipe Struct Reference

Public Types

enum  Direction { Left , Right , Up , Down }
 

Public Attributes

MouseButton button
 Button that was tapped.
 
Direction direction
 Swipe general direction.
 
Coord startCoord
 Pointer position when the gesture has started.
 
float velocity
 Pointer velocity relative to startCoord.
 

Detailed Description

Definition at line 57 of file Gestures.h.

Member Enumeration Documentation

◆ Direction

enum Cogs::Gesture::Swipe::Direction

Definition at line 59 of file Gestures.h.

Member Data Documentation

◆ button

MouseButton Cogs::Gesture::Swipe::button

Button that was tapped.

Definition at line 66 of file Gestures.h.

◆ direction

Direction Cogs::Gesture::Swipe::direction

Swipe general direction.

Definition at line 67 of file Gestures.h.

◆ startCoord

Coord Cogs::Gesture::Swipe::startCoord

Pointer position when the gesture has started.

Definition at line 68 of file Gestures.h.

◆ velocity

float Cogs::Gesture::Swipe::velocity

Pointer velocity relative to startCoord.

Definition at line 69 of file Gestures.h.


The documentation for this struct was generated from the following file: