Changeset 25eec4e in mainline for uspace/lib/c/include/io/window.h
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/window.h
ra1e2df13 r25eec4e 36 36 #define LIBC_IO_WINDOW_H_ 37 37 38 #include < bool.h>38 #include <stdbool.h> 39 39 #include <sys/types.h> 40 40 #include <async.h> 41 41 #include <loc.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; 42 #include <io/kbd_event.h> 43 #include <io/pos_event.h> 57 44 58 45 typedef struct { … … 71 58 ET_POSITION_EVENT, 72 59 ET_SIGNAL_EVENT, 60 ET_WINDOW_FOCUS, 61 ET_WINDOW_UNFOCUS, 73 62 ET_WINDOW_RESIZE, 74 63 ET_WINDOW_REFRESH, … … 100 89 } window_grab_flags_t; 101 90 102 extern int win_register(async_sess_t *, service_id_t *, service_id_t * );91 extern int win_register(async_sess_t *, service_id_t *, service_id_t *, sysarg_t, sysarg_t); 103 92 104 93 extern int win_get_event(async_sess_t *, window_event_t *);
Note:
See TracChangeset
for help on using the changeset viewer.