screenbuffer.h File Reference

#include <stdint.h>
#include <sys/types.h>
#include <bool.h>

Go to the source code of this file.

Data Structures

struct  attr_idx_t
struct  attr_rgb_t
struct  attr_style_t
union  attr_val_t
struct  attrs_t
struct  keyfield_t
 One field on screen. More...
struct  screenbuffer_t
 Structure for buffering state of one virtual console. More...

Enumerations

enum  attr_type_t

Functions

static bool attrs_same (attrs_t a1, attrs_t a2)
 Compares two sets of attributes.
static keyfield_tget_field_at (screenbuffer_t *scr, sysarg_t x, sysarg_t y)
 Returns keyfield for position on screen.
void screenbuffer_clear (screenbuffer_t *scr)
 Clear screenbuffer.
void screenbuffer_clear_line (screenbuffer_t *scr, sysarg_t line)
 Clear one buffer line.
void screenbuffer_copy_buffer (screenbuffer_t *scr, keyfield_t *dest)
 Copy content buffer from screenbuffer to given memory.
void screenbuffer_goto (screenbuffer_t *scr, sysarg_t x, sysarg_t y)
 Set new cursor position in screenbuffer.
screenbuffer_tscreenbuffer_init (screenbuffer_t *scr, sysarg_t size_x, sysarg_t size_y)
 Initilize screenbuffer.
void screenbuffer_putchar (screenbuffer_t *scr, wchar_t ch)
 Store one character to screenbuffer.
void screenbuffer_set_color (screenbuffer_t *scr, uint8_t fg_color, uint8_t bg_color, uint8_t flags)
 Set new color.
void screenbuffer_set_rgb_color (screenbuffer_t *scr, uint32_t fg_color, uint32_t bg_color)
 Set new RGB color.
void screenbuffer_set_style (screenbuffer_t *scr, uint8_t style)
 Set new style.


Detailed Description

Definition in file screenbuffer.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7