Cogs.Foundation
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
Cogs::Gesture::Swipe Struct Reference

#include <Gestures.h>

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.
 

Member Enumeration Documentation

◆ Direction

Enumerator
Left 
Right 
Up 
Down 

Member Data Documentation

◆ button

MouseButton Cogs::Gesture::Swipe::button

Button that was tapped.

◆ direction

Direction Cogs::Gesture::Swipe::direction

Swipe general direction.

◆ startCoord

Coord Cogs::Gesture::Swipe::startCoord

Pointer position when the gesture has started.

◆ velocity

float Cogs::Gesture::Swipe::velocity

Pointer velocity relative to startCoord.


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