PatchworkOS
Loading...
Searching...
No Matches
event_t Struct Reference

Event structure. More...

#include <event.h>

Data Fields

event_type_t type
 
surface_id_t target
 
union { 
 
   event_screen_info_t   screenInfo 
 
   event_surface_new_t   surfaceNew 
 
   event_kbd_t   kbd 
 
   event_mouse_t   mouse 
 
   event_cursor_enter_t   cursorEnter 
 
   event_cursor_leave_t   cursorLeave 
 
   event_report_t   report 
 
   gevent_attach_t   globalAttach 
 
   gevent_detach_t   globalDetach 
 
   gevent_report_t   globalReport 
 
   gevent_kbd_t   globalKbd 
 
   gevent_mouse_t   globalMouse 
 
   levent_redraw_t   lRedraw 
 
   levent_action_t   lAction 
 
   levent_force_action_t   lForceAction 
 
   uint8_t   raw [EVENT_MAX_DATA
 
};  
 

Detailed Description

Event structure.

Represents an event sent by the DWM or libpatchwork.

Definition at line 270 of file event.h.

Field Documentation

◆ [union]

union { ... } event_t

◆ cursorEnter

event_cursor_enter_t event_t::cursorEnter

Definition at line 279 of file event.h.

◆ cursorLeave

event_cursor_leave_t event_t::cursorLeave

Definition at line 280 of file event.h.

◆ globalAttach

gevent_attach_t event_t::globalAttach

Definition at line 282 of file event.h.

Referenced by taskbar_procedure().

◆ globalDetach

gevent_detach_t event_t::globalDetach

Definition at line 283 of file event.h.

Referenced by taskbar_procedure().

◆ globalKbd

gevent_kbd_t event_t::globalKbd

Definition at line 285 of file event.h.

Referenced by taskbar_procedure().

◆ globalMouse

gevent_mouse_t event_t::globalMouse

Definition at line 286 of file event.h.

◆ globalReport

gevent_report_t event_t::globalReport

Definition at line 284 of file event.h.

Referenced by taskbar_procedure().

◆ kbd

event_kbd_t event_t::kbd

Definition at line 277 of file event.h.

Referenced by procedure(), and terminal_procedure().

◆ lAction

◆ lForceAction

levent_force_action_t event_t::lForceAction

Definition at line 289 of file event.h.

Referenced by button_procedure(), and window_dispatch().

◆ lRedraw

levent_redraw_t event_t::lRedraw

Definition at line 287 of file event.h.

Referenced by element_dispatch(), and window_dispatch().

◆ mouse

event_mouse_t event_t::mouse

Definition at line 278 of file event.h.

Referenced by button_procedure(), element_dispatch(), and window_deco_procedure().

◆ raw

uint8_t event_t::raw[EVENT_MAX_DATA]

Definition at line 290 of file event.h.

Referenced by element_dispatch(), and terminal_procedure().

◆ report

event_report_t event_t::report

Definition at line 281 of file event.h.

Referenced by button_procedure(), window_deco_procedure(), and window_dispatch().

◆ screenInfo

event_screen_info_t event_t::screenInfo

Definition at line 275 of file event.h.

Referenced by display_get_screen().

◆ surfaceNew

event_surface_new_t event_t::surfaceNew

Definition at line 276 of file event.h.

Referenced by window_new().

◆ target

◆ type


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