1 |
/* display.h - Interface to the display component of a virtual console. |
/* display.h - Interface to the display component of a virtual console. |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
30 |
|
|
31 |
/* Create a new virtual console display, with the system encoding |
/* Create a new virtual console display, with the system encoding |
32 |
being ENCODING and the default colors being FOREGROUND and BACKGROUND. */ |
being ENCODING and the default colors being FOREGROUND and BACKGROUND. */ |
33 |
error_t display_create (display_t *r_display, const char *encoding, |
error_t |
34 |
conchar_attr_t attr); |
display_create (display_t *r_display, const char *encoding, |
35 |
|
conchar_attr_t def_attr, unsigned int lines, |
36 |
|
unsigned int width, unsigned int height); |
37 |
|
|
38 |
|
|
39 |
/* Destroy the display DISPLAY. */ |
/* Destroy the display DISPLAY. */ |
40 |
void display_destroy (display_t display); |
void display_destroy (display_t display); |