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

#include <events.h>

Inheritance diagram for ga::MouseEvent:
ga::Event

Public Types

enum class  Type {
  MOVE , PRESS , DRAG , RELEASE ,
  SCROLL_UP , SCROLL_DOWN
}
 

Public Attributes

Type type
 
vec2 position
 
int button
 
- 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::MouseEvent::Type
strong
Enumerator
MOVE 
PRESS 
DRAG 
RELEASE 
SCROLL_UP 
SCROLL_DOWN 

Member Data Documentation

◆ button

int ga::MouseEvent::button

◆ position

vec2 ga::MouseEvent::position

◆ type

Type ga::MouseEvent::type

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