Ignore:
File:
1 edited

Legend:

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

    r369a5f8 r63f8966  
    4444} console_ev_type_t;
    4545
    46 typedef enum {
     46enum {
    4747        CONSOLE_CCAP_NONE = 0,
    4848        CONSOLE_CCAP_STYLE,
    4949        CONSOLE_CCAP_INDEXED,
    5050        CONSOLE_CCAP_RGB
    51 } console_caps_t;
     51};
    5252
    5353/** Console event structure. */
     
    6868extern void console_clear(int phone);
    6969
    70 extern int console_get_size(int phone, ipcarg_t *cols, ipcarg_t *rows);
    71 extern int console_get_pos(int phone, ipcarg_t *col, ipcarg_t *row);
    72 extern void console_set_pos(int phone, ipcarg_t col, ipcarg_t row);
     70extern int console_get_size(int phone, int *cols, int *rows);
     71extern int console_get_pos(int phone, int *col, int *row);
     72extern void console_goto(int phone, int col, int row);
    7373
    74 extern void console_set_style(int phone, uint8_t style);
    75 extern void console_set_color(int phone, uint8_t fg_color, uint8_t bg_color,
    76     uint8_t flags);
    77 extern void console_set_rgb_color(int phone, uint32_t fg_color, uint32_t bg_color);
     74extern void console_set_style(int phone, int style);
     75extern void console_set_color(int phone, int fg_color, int bg_color, int flags);
     76extern void console_set_rgb_color(int phone, int fg_color, int bg_color);
    7877
    7978extern void console_cursor_visibility(int phone, bool show);
    80 extern int console_get_color_cap(int phone, ipcarg_t *ccap);
     79extern int console_get_color_cap(int phone, int *ccap);
    8180extern void console_kcon_enable(int phone);
    8281
Note: See TracChangeset for help on using the changeset viewer.