Shiokaze Framework
A research-oriented fluid solver for computer graphics
UI_interface::event_structure Struct Reference

Event information structure. More...

#include <UI_interface.h>

Public Types

enum  EVENT_TYPE {
  KEYBOARD, CURSOR, MOUSE, SCROLL,
  DRAG, RESIZE, DRAW
}
 Event type. More...
 

Public Attributes

EVENT_TYPE type
 Event type.
 
int button {0}
 Button type.
 
int key {0}
 Key type.
 
int action {0}
 Action type.
 
int mods {0}
 Modifier information.
 
int width {0}
 Width.
 
int height {0}
 Height.
 
double x {0.0}
 X coordinate value.
 
double y {0.0}
 Y coordinate value.
 
double z {0.0}
 Z coordinate value.
 
double u {0.0}
 X coordinate displacement value.
 
double v {0.0}
 Y coordinate displacement value.
 
double w {0.0}
 Z coordinate displacement value.
 
graphics_engineg {nullptr}
 Pointer to the graphics engine.
 

Detailed Description

Event information structure.

Member Enumeration Documentation

◆ EVENT_TYPE

Event type.

Enumerator
KEYBOARD 

Keyboard event.

CURSOR 

Cursor event.

MOUSE 

Mouse event.

SCROLL 

Scroll event.

DRAG 

Drag event.

RESIZE 

Resize event.

DRAW 

Draw event.


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