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

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.
 

Detailed Description

Definition at line 46 of file Gestures.h.

Member Data Documentation

◆ button

MouseButton Cogs::Gesture::Drag::button

Button that was tapped.

Definition at line 48 of file Gestures.h.

◆ currCoord

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

Pointer position when the event was triggered.

Definition at line 50 of file Gestures.h.

◆ startCoord

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

Pointer position when the gesture has started.

Definition at line 49 of file Gestures.h.


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