Changes in uspace/lib/c/include/io/window.h [bc4bf97:6d5e378] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/window.h
rbc4bf97 r6d5e378 36 36 #define LIBC_IO_WINDOW_H_ 37 37 38 #include < stdbool.h>38 #include <bool.h> 39 39 #include <sys/types.h> 40 40 #include <async.h> 41 41 #include <loc.h> 42 #include <io/kbd_event.h> 43 #include <io/pos_event.h> 42 #include <io/console.h> 43 44 typedef enum { 45 POS_UPDATE, 46 POS_PRESS, 47 POS_RELEASE 48 } pos_event_type_t; 49 50 typedef struct { 51 sysarg_t pos_id; 52 pos_event_type_t type; 53 sysarg_t btn_num; 54 sysarg_t hpos; 55 sysarg_t vpos; 56 } pos_event_t; 44 57 45 58 typedef struct { … … 58 71 ET_POSITION_EVENT, 59 72 ET_SIGNAL_EVENT, 60 ET_WINDOW_FOCUS,61 ET_WINDOW_UNFOCUS,62 73 ET_WINDOW_RESIZE, 63 74 ET_WINDOW_REFRESH, … … 89 100 } window_grab_flags_t; 90 101 91 extern int win_register(async_sess_t *, service_id_t *, service_id_t * , sysarg_t, sysarg_t);102 extern int win_register(async_sess_t *, service_id_t *, service_id_t *); 92 103 93 104 extern int win_get_event(async_sess_t *, window_event_t *);
Note:
See TracChangeset
for help on using the changeset viewer.