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

#include <Gestures.h>

Public Attributes

MouseButton button
 Button that was tapped.
 
glm::vec2 startCoord = {}
 Pointer position when the gesture has started.
 
glm::vec2 currCoord = {}
 Pointer position when the event was triggered.
 

Member Data Documentation

◆ button

MouseButton Cogs::Gesture::Drag::button

Button that was tapped.

◆ currCoord

glm::vec2 Cogs::Gesture::Drag::currCoord = {}

Pointer position when the event was triggered.

◆ startCoord

glm::vec2 Cogs::Gesture::Drag::startCoord = {}

Pointer position when the gesture has started.


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