GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::TouchEvent Struct Reference

#include <events.h>

Inheritance diagram for ga::TouchEvent:
ga::Event

Public Types

enum class  Type { PRESS , DRAG , RELEASE , CANCEL }
 

Public Attributes

Type type
 
ga::vec2 position
 
ga::vec2 size
 
float angle
 
float pressure
 
- Public Attributes inherited from ga::Event
TimePoint time
 
bool captured
 

Additional Inherited Members

- Public Member Functions inherited from ga::Event
 Event ()
 

Member Enumeration Documentation

◆ Type

enum class ga::TouchEvent::Type
strong
Enumerator
PRESS 
DRAG 
RELEASE 
CANCEL 

Member Data Documentation

◆ angle

float ga::TouchEvent::angle

◆ position

ga::vec2 ga::TouchEvent::position

◆ pressure

float ga::TouchEvent::pressure

◆ size

ga::vec2 ga::TouchEvent::size

◆ type

Type ga::TouchEvent::type

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