Subversion Repositories HelenOS

Rev

Rev 4482 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4482 Rev 4644
Line 41... Line 41...
41
typedef enum {
41
typedef enum {
42
    KEY_PRESS,
42
    KEY_PRESS,
43
    KEY_RELEASE
43
    KEY_RELEASE
44
} console_ev_type_t;
44
} console_ev_type_t;
45
 
45
 
-
 
46
enum {
-
 
47
    CONSOLE_CCAP_NONE = 0,
-
 
48
    CONSOLE_CCAP_STYLE,
-
 
49
    CONSOLE_CCAP_INDEXED,
-
 
50
    CONSOLE_CCAP_RGB
-
 
51
};
-
 
52
 
46
/** Console event structure. */
53
/** Console event structure. */
47
typedef struct {
54
typedef struct {
48
    /** Press or release event. */
55
    /** Press or release event. */
49
    console_ev_type_t type;
56
    console_ev_type_t type;
50
   
57
   
Line 66... Line 73...
66
extern void console_set_style(int phone, int style);
73
extern void console_set_style(int phone, int style);
67
extern void console_set_color(int phone, int fg_color, int bg_color, int flags);
74
extern void console_set_color(int phone, int fg_color, int bg_color, int flags);
68
extern void console_set_rgb_color(int phone, int fg_color, int bg_color);
75
extern void console_set_rgb_color(int phone, int fg_color, int bg_color);
69
 
76
 
70
extern void console_cursor_visibility(int phone, bool show);
77
extern void console_cursor_visibility(int phone, bool show);
-
 
78
extern int console_get_color_cap(int phone, int *ccap);
71
extern void console_kcon_enable(int phone);
79
extern void console_kcon_enable(int phone);
72
 
80
 
73
extern bool console_get_event(int phone, console_event_t *event);
81
extern bool console_get_event(int phone, console_event_t *event);
74
 
82
 
75
#endif
83
#endif