Changeset 04803bf in mainline for uspace/lib/c/include/io/console.h


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes (needs fixes).

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/console.h

    rb50b5af2 r04803bf  
    3636#define LIBC_IO_CONSOLE_H_
    3737
    38 #include <ipc/ipc.h>
    3938#include <bool.h>
    4039
     
    4443} console_ev_type_t;
    4544
    46 enum {
     45typedef enum {
    4746        CONSOLE_CCAP_NONE = 0,
    4847        CONSOLE_CCAP_STYLE,
    4948        CONSOLE_CCAP_INDEXED,
    5049        CONSOLE_CCAP_RGB
    51 };
     50} console_caps_t;
    5251
    5352/** Console event structure. */
     
    6867extern void console_clear(int phone);
    6968
    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);
     69extern int console_get_size(int phone, sysarg_t *cols, sysarg_t *rows);
     70extern int console_get_pos(int phone, sysarg_t *col, sysarg_t *row);
     71extern void console_set_pos(int phone, sysarg_t col, sysarg_t row);
    7272
    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);
     73extern void console_set_style(int phone, uint8_t style);
     74extern void console_set_color(int phone, uint8_t fg_color, uint8_t bg_color,
     75    uint8_t flags);
     76extern void console_set_rgb_color(int phone, uint32_t fg_color, uint32_t bg_color);
    7677
    7778extern void console_cursor_visibility(int phone, bool show);
    78 extern int console_get_color_cap(int phone, int *ccap);
     79extern int console_get_color_cap(int phone, sysarg_t *ccap);
    7980extern void console_kcon_enable(int phone);
    8081
Note: See TracChangeset for help on using the changeset viewer.