Subversion Repositories HelenOS

Rev

Rev 2927 | Rev 4338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 4337
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef __SCREENBUFFER_H__
35
#ifndef __SCREENBUFFER_H__
36
#define __SCREENBUFFER_H__
36
#define __SCREENBUFFER_H__
37
 
37
 
-
 
38
#include <stdint.h>
38
 
39
 
39
#define DEFAULT_FOREGROUND 0x0  /**< default console foreground color */
40
#define DEFAULT_FOREGROUND 0x0  /**< default console foreground color */
40
#define DEFAULT_BACKGROUND 0xf0f0f0 /**< default console background color */
41
#define DEFAULT_BACKGROUND 0xf0f0f0 /**< default console background color */
41
 
42
 
42
typedef struct {
43
typedef struct {
43
    unsigned int bg_color;      /**< background color */
44
    uint32_t bg_color;      /**< background color */
44
    unsigned int fg_color;      /**< foreground color */
45
    uint32_t fg_color;      /**< foreground color */
45
} style_t;
46
} style_t;
46
 
47
 
47
/** One field on screen. It contain one character and its attributes. */
48
/** One field on screen. It contain one character and its attributes. */
48
typedef struct {
49
typedef struct {
49
    char character;         /**< Character itself */
50
    char character;         /**< Character itself */