cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::WindowEvent Struct Reference

Struct for window events. More...

#include <IWindow.hpp>

+ Collaboration diagram for cae::WindowEvent:

Public Attributes

WindowEventType type
 
union { 
 
   struct { 
 
      KeyCode   key 
 
   }   key 
 
   struct { 
 
      int   x 
 
      int   y 
 
   }   mouseMove 
 
   struct { 
 
      MouseButton   button 
 
   }   mouseButton 
 
   struct { 
 
      float   x 
 
      float   y 
 
   }   scroll 
 
   struct { 
 
      uint16_t   w 
 
      uint16_t   h 
 
   }   resize 
 
};  
 

Detailed Description

Struct for window events.

Definition at line 62 of file IWindow.hpp.

Member Data Documentation

◆ [union]

union { ... } cae::WindowEvent

◆ button

MouseButton cae::WindowEvent::button

Definition at line 78 of file IWindow.hpp.

◆ h

uint16_t cae::WindowEvent::h

Definition at line 86 of file IWindow.hpp.

◆ key [1/2]

KeyCode cae::WindowEvent::key

Definition at line 70 of file IWindow.hpp.

◆ [struct] [2/2]

struct { ... } cae::WindowEvent::key

◆ [struct]

struct { ... } cae::WindowEvent::mouseButton

◆ [struct]

struct { ... } cae::WindowEvent::mouseMove

◆ [struct]

struct { ... } cae::WindowEvent::resize

◆ [struct]

struct { ... } cae::WindowEvent::scroll

◆ type

◆ w

uint16_t cae::WindowEvent::w

Definition at line 86 of file IWindow.hpp.

◆ x [1/2]

int cae::WindowEvent::x

Definition at line 74 of file IWindow.hpp.

◆ x [2/2]

float cae::WindowEvent::x

Definition at line 82 of file IWindow.hpp.

◆ y [1/2]

int cae::WindowEvent::y

Definition at line 74 of file IWindow.hpp.

◆ y [2/2]

float cae::WindowEvent::y

Definition at line 82 of file IWindow.hpp.


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