CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui_events.cppm File Reference
#include <cyd_fabric_modules/headers/macros/async_events.h>
#include <SDL3/SDL_events.h>
import cydui.dimensions;
import fabric.async;
import std;
+ Include dependency graph for cydui_events.cppm:

Go to the source code of this file.

Classes

struct  Keysym
 

Namespaces

namespace  cydui
 

Typedefs

using Scancode = SDL_Scancode
 
using Keycode = SDL_Keycode
 
using Keymod = Uint16
 
using screen_measure
 

Enumerations

enum class  cydui::Button {
  cydui::PRIMARY = 1 , cydui::SECONDARY = 3 , cydui::WHEEL = 2 , cydui::BUTTON1 = PRIMARY ,
  cydui::BUTTON2 = WHEEL , cydui::BUTTON3 = SECONDARY
}
 

Functions

 EVENT (RedrawEvent)
 
 EVENT (ButtonEvent)
 
 EVENT (ScrollEvent)
 
 EVENT (MotionEvent)
 
 EVENT (ResizeEvent)
 
 EVENT (KeyEvent)
 
 EVENT (TextInputEvent)
 
 EVENT (WindowClosed)
 

Typedef Documentation

◆ Keycode

using Keycode = SDL_Keycode
export

Definition at line 70 of file cydui_events.cppm.

◆ Keymod

using Keymod = Uint16
export

Definition at line 71 of file cydui_events.cppm.

◆ Scancode

using Scancode = SDL_Scancode
export

Definition at line 69 of file cydui_events.cppm.

◆ screen_measure

Definition at line 21 of file _types.cppm.

Function Documentation

◆ EVENT() [1/8]

EVENT ( ButtonEvent )
export

Definition at line 24 of file cydui_events.cppm.

◆ EVENT() [2/8]

EVENT ( KeyEvent )
export

Definition at line 79 of file cydui_events.cppm.

◆ EVENT() [3/8]

EVENT ( MotionEvent )
export

Definition at line 42 of file cydui_events.cppm.

◆ EVENT() [4/8]

EVENT ( RedrawEvent )
export

Definition at line 17 of file cydui_events.cppm.

◆ EVENT() [5/8]

EVENT ( ResizeEvent )
export

Definition at line 52 of file cydui_events.cppm.

◆ EVENT() [6/8]

EVENT ( ScrollEvent )
export

Definition at line 34 of file cydui_events.cppm.

◆ EVENT() [7/8]

EVENT ( TextInputEvent )
export

Definition at line 86 of file cydui_events.cppm.

◆ EVENT() [8/8]

EVENT ( WindowClosed )
export

Definition at line 95 of file cydui_events.cppm.