Changeset e1a27be in mainline for uspace/lib/c/include/io
- Timestamp:
- 2012-12-29T10:48:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17cc8f4f
- Parents:
- 8f88beb7 (diff), c928bb7 (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. - Location:
- uspace/lib/c/include/io
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/charfield.h
r8f88beb7 re1a27be 38 38 39 39 #include <sys/types.h> 40 #include < bool.h>40 #include <stdbool.h> 41 41 #include <io/color.h> 42 42 #include <io/style.h> -
uspace/lib/c/include/io/con_srv.h
r8f88beb7 re1a27be 44 44 #include <io/pixel.h> 45 45 #include <io/style.h> 46 #include < bool.h>46 #include <stdbool.h> 47 47 #include <sys/time.h> 48 48 #include <sys/types.h> -
uspace/lib/c/include/io/console.h
r8f88beb7 re1a27be 41 41 #include <io/keycode.h> 42 42 #include <async.h> 43 #include < bool.h>43 #include <stdbool.h> 44 44 #include <stdio.h> 45 45 -
uspace/lib/c/include/io/klog.h
r8f88beb7 re1a27be 42 42 extern size_t klog_write(const void *, size_t); 43 43 extern void klog_update(void); 44 extern void klog_command(const void *, size_t); 44 45 extern int klog_printf(const char *, ...) 45 46 PRINTF_ATTRIBUTE(1, 2); -
uspace/lib/c/include/io/pixel.h
r8f88beb7 re1a27be 42 42 ((channel) >> (8 - (bits))) 43 43 44 #define INVERT(pixel) ((pixel) ^ 0x00ffffff) 45 44 46 #define ALPHA(pixel) ((pixel) >> 24) 45 47 #define RED(pixel) (((pixel) & 0x00ff0000) >> 16) -
uspace/lib/c/include/io/pixelmap.h
r8f88beb7 re1a27be 52 52 sysarg_t y) 53 53 { 54 size_t offset = y * pixelmap->width + x; 55 pixel_t *pixel = pixelmap->data + offset; 56 return pixel; 54 if (x < pixelmap->width && y < pixelmap->height) { 55 size_t offset = y * pixelmap->width + x; 56 pixel_t *pixel = pixelmap->data + offset; 57 return pixel; 58 } else { 59 return NULL; 60 } 57 61 } 58 62 -
uspace/lib/c/include/io/window.h
r8f88beb7 re1a27be 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> … … 71 71 ET_POSITION_EVENT, 72 72 ET_SIGNAL_EVENT, 73 ET_WINDOW_FOCUS, 74 ET_WINDOW_UNFOCUS, 73 75 ET_WINDOW_RESIZE, 74 76 ET_WINDOW_REFRESH, … … 100 102 } window_grab_flags_t; 101 103 102 extern int win_register(async_sess_t *, service_id_t *, service_id_t * );104 extern int win_register(async_sess_t *, service_id_t *, service_id_t *, sysarg_t, sysarg_t); 103 105 104 106 extern int win_get_event(async_sess_t *, window_event_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
