Changeset f7fb2b21 in mainline for uspace/lib/display/include
- Timestamp:
- 2020-02-10T19:01:42Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b43edabe
- Parents:
- 287688f2
- Location:
- uspace/lib/display/include/types
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/include/types/display.h
r287688f2 rf7fb2b21 39 39 #include <fibril_synch.h> 40 40 #include <io/kbd_event.h> 41 #include <io/pos_event.h> 41 42 #include <stdint.h> 42 43 … … 58 59 typedef struct { 59 60 void (*kbd_event)(void *, kbd_event_t *); 61 void (*pos_event)(void *, pos_event_t *); 60 62 } display_wnd_cb_t; 61 63 -
uspace/lib/display/include/types/display/event.h
r287688f2 rf7fb2b21 37 37 38 38 #include <io/kbd_event.h> 39 #include <io/pos_event.h> 40 41 typedef enum { 42 wev_kbd, 43 wev_pos 44 } display_wnd_ev_type_t; 39 45 40 46 typedef struct { 41 kbd_event_t kbd_event; 47 display_wnd_ev_type_t etype; 48 union { 49 kbd_event_t kbd; 50 pos_event_t pos; 51 } ev; 42 52 } display_wnd_ev_t; 43 53
Note:
See TracChangeset
for help on using the changeset viewer.