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