]>
Commit | Line | Data |
---|---|---|
de355530 A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
e5568f75 A |
6 | * The contents of this file constitute Original Code as defined in and |
7 | * are subject to the Apple Public Source License Version 1.1 (the | |
8 | * "License"). You may not use this file except in compliance with the | |
9 | * License. Please obtain a copy of the License at | |
10 | * http://www.apple.com/publicsource and read it before using this file. | |
de355530 | 11 | * |
e5568f75 A |
12 | * This Original Code and all software distributed under the License are |
13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
de355530 A |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
e5568f75 A |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the |
17 | * License for the specific language governing rights and limitations | |
18 | * under the License. | |
de355530 A |
19 | * |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
de355530 | 22 | |
55e303ae A |
23 | #ifndef _TEXT_CONSOLE_H_ |
24 | #define _TEXT_CONSOLE_H_ | |
de355530 | 25 | |
55e303ae | 26 | #define TEXT_MODE 0 |
de355530 | 27 | |
55e303ae A |
28 | void tc_paint_char(int x, int y, unsigned char ch, int attrs, unsigned char ch_previous, int attrs_previous); |
29 | void tc_scroll_down(int lines, int top, int bottom); | |
30 | void tc_scroll_up(int lines, int top, int bottom); | |
31 | void tc_clear_screen(int x, int y, int top, int bottom, int operation); | |
32 | void tc_show_cursor(int x, int y); | |
33 | void tc_hide_cursor(int x, int y); | |
34 | void tc_enable(boolean_t enable); | |
35 | void tc_initialize(struct vc_info * vinfo_p); | |
36 | void tc_update_color(int color, int fore); | |
de355530 | 37 | |
55e303ae | 38 | #endif /* !_TEXT_CONSOLE_H_ */ |