Changeset 04803bf in mainline for uspace/lib/c/include/io/console.h
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (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 moved
-
uspace/lib/c/include/io/console.h (moved) (moved from uspace/lib/libc/include/io/console.h ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/console.h
rb50b5af2 r04803bf 36 36 #define LIBC_IO_CONSOLE_H_ 37 37 38 #include <ipc/ipc.h>39 38 #include <bool.h> 40 39 … … 44 43 } console_ev_type_t; 45 44 46 enum {45 typedef enum { 47 46 CONSOLE_CCAP_NONE = 0, 48 47 CONSOLE_CCAP_STYLE, 49 48 CONSOLE_CCAP_INDEXED, 50 49 CONSOLE_CCAP_RGB 51 } ;50 } console_caps_t; 52 51 53 52 /** Console event structure. */ … … 68 67 extern void console_clear(int phone); 69 68 70 extern int console_get_size(int phone, ipcarg_t *rows, ipcarg_t *cols); 71 extern void console_goto(int phone, ipcarg_t row, ipcarg_t col); 69 extern int console_get_size(int phone, sysarg_t *cols, sysarg_t *rows); 70 extern int console_get_pos(int phone, sysarg_t *col, sysarg_t *row); 71 extern void console_set_pos(int phone, sysarg_t col, sysarg_t row); 72 72 73 extern void console_set_style(int phone, int style); 74 extern void console_set_color(int phone, int fg_color, int bg_color, int flags); 75 extern void console_set_rgb_color(int phone, int fg_color, int bg_color); 73 extern void console_set_style(int phone, uint8_t style); 74 extern void console_set_color(int phone, uint8_t fg_color, uint8_t bg_color, 75 uint8_t flags); 76 extern void console_set_rgb_color(int phone, uint32_t fg_color, uint32_t bg_color); 76 77 77 78 extern void console_cursor_visibility(int phone, bool show); 78 extern int console_get_color_cap(int phone, int *ccap);79 extern int console_get_color_cap(int phone, sysarg_t *ccap); 79 80 extern void console_kcon_enable(int phone); 80 81
Note:
See TracChangeset
for help on using the changeset viewer.
