]> git.saurik.com Git - apple/xnu.git/blame - osfmk/console/progress_meter_data.c
xnu-1456.1.26.tar.gz
[apple/xnu.git] / osfmk / console / progress_meter_data.c
CommitLineData
b0d623f7
A
1/*
2 * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
14 *
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
25 *
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 */
28
29#define kProgressBarHeight (18)
30#define kProgressBarCapWidth (9)
31#define kProgressBarWidth (300 + 2 * kProgressBarCapWidth)
32
33static const unsigned char
34progressmeter_leftcap[2][kProgressBarCapWidth * kProgressBarHeight] = {
35{
36 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xd4, 0xb4, 0xa5,
37 0xff, 0xff, 0xff, 0xff, 0xd4, 0x99, 0x99, 0x99, 0x99,
38 0xff, 0xff, 0xff, 0xc4, 0x99, 0x99, 0xc3, 0xe2, 0xef,
39 0xff, 0xff, 0xc4, 0x99, 0x99, 0xd4, 0xfe, 0xfe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0x98, 0x99, 0x98, 0x99, 0x99, 0x99,
62 0xe8, 0x99, 0x9a, 0x99, 0x99, 0x98, 0x98, 0x99, 0x99,
63 0xcf, 0x99, 0x99, 0x98, 0x99, 0x9a, 0x98, 0x98, 0x98,
64 0xc5, 0x99, 0x99, 0x9a, 0x99, 0x99, 0x9a, 0x98, 0x99,
65 0xc4, 0x99, 0x99, 0x99, 0x9a, 0x98, 0x99, 0x99, 0x99,
66 0xcf, 0x98, 0x99, 0x99, 0x98, 0x98, 0x98, 0x98, 0x99,
67 0xe8, 0x9a, 0x99, 0x99, 0x9a, 0x98, 0x99, 0x99, 0x99,
68 0xff, 0xb0, 0x9a, 0x99, 0x99, 0x98, 0x99, 0x9a, 0x99,
69 0xff, 0xd8, 0x99, 0x99, 0x99, 0x9a, 0x98, 0x98, 0x99,
70 0xff, 0xff, 0xc4, 0x98, 0x99, 0x98, 0x9a, 0x99, 0x9a,
71 0xff, 0xff, 0xff, 0xc5, 0x99, 0x9a, 0x9a, 0x99, 0x98,
72 0xff, 0xff, 0xff, 0xff, 0xd3, 0x98, 0x99, 0x98, 0x9a,
73 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xd4, 0xb4, 0xa5,
74}
75};
76
77
78static const unsigned char
79progressmeter_middle[2][1 * kProgressBarHeight] = {
80{
81 0x99,
82 0x99,
83 0xfe,
84 0xfe,
85 0xfe,
86 0xfe,
87 0xfe,
88 0xfe,
89 0xfe,
90 0xfe,
91 0xfe,
92 0xfe,
93 0xfe,
94 0xfe,
95 0xfe,
96 0xfe,
97 0x99,
98 0x99,
99},
100{
101 0x99,
102 0x99,
103 0x99,
104 0x99,
105 0x99,
106 0x99,
107 0x99,
108 0x99,
109 0x99,
110 0x99,
111 0x99,
112 0x99,
113 0x99,
114 0x99,
115 0x99,
116 0x99,
117 0x99,
118 0x99,
119}};
120
121static const unsigned char
122progressmeter_rightcap[2][kProgressBarCapWidth * kProgressBarHeight] = {
123{
124 0xa8, 0xb7, 0xd5, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff,
125 0x99, 0x99, 0x99, 0x99, 0xd8, 0xff, 0xff, 0xff, 0xff,
126 0xef, 0xe0, 0xc0, 0x99, 0x99, 0xc5, 0xff, 0xff, 0xff,
127 0xfe, 0xfe, 0xfe, 0xd1, 0x99, 0x99, 0xc5, 0xff, 0xff,
128 0xfe, 0xfe, 0xfe, 0xfe, 0xe2, 0x99, 0x99, 0xdf, 0xff,
129 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xd4, 0x99, 0xb7, 0xff,
130 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xa8, 0x99, 0xee,
131 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xc0, 0x99, 0xd5,
132 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xcc, 0x99, 0xcb,
133 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xcc, 0x99, 0xcb,
134 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xc1, 0x99, 0xd5,
135 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xa8, 0x99, 0xee,
136 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xd4, 0x99, 0xb7, 0xff,
137 0xfe, 0xfe, 0xfe, 0xfe, 0xe3, 0x99, 0x99, 0xdf, 0xff,
138 0xfe, 0xfe, 0xfe, 0xd1, 0x99, 0x99, 0xc5, 0xff, 0xff,
139 0xef, 0xe0, 0xc0, 0x99, 0x99, 0xc5, 0xff, 0xff, 0xff,
140 0x99, 0x99, 0x99, 0x99, 0xd8, 0xff, 0xff, 0xff, 0xff,
141 0xa8, 0xb7, 0xd5, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff,
142},
143{
144 0xa8, 0xb7, 0xd7, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff,
145 0x99, 0x99, 0x99, 0x99, 0xd7, 0xff, 0xff, 0xff, 0xff,
146 0x98, 0x98, 0x98, 0x98, 0x98, 0xc5, 0xff, 0xff, 0xff,
147 0x99, 0x99, 0x98, 0x9a, 0x98, 0x9a, 0xc5, 0xff, 0xff,
148 0x99, 0x9a, 0x99, 0x99, 0x9a, 0x98, 0x9a, 0xdf, 0xff,
149 0x99, 0x99, 0x98, 0x99, 0x98, 0x99, 0x99, 0xb7, 0xff,
150 0x9a, 0x98, 0x99, 0x98, 0x99, 0x99, 0x99, 0x9a, 0xee,
151 0x9a, 0x99, 0x9a, 0x98, 0x9a, 0x99, 0x9a, 0x9a, 0xd5,
152 0x98, 0x99, 0x99, 0x98, 0x9a, 0x99, 0x9a, 0x99, 0xcb,
153 0x98, 0x99, 0x9a, 0x98, 0x98, 0x99, 0x99, 0x99, 0xc9,
154 0x99, 0x99, 0x98, 0x99, 0x9a, 0x99, 0x99, 0x99, 0xd5,
155 0x99, 0x99, 0x99, 0x99, 0x98, 0x99, 0x99, 0x9a, 0xee,
156 0x9a, 0x98, 0x98, 0x99, 0x99, 0x99, 0x99, 0xb7, 0xff,
157 0x99, 0x9a, 0x9a, 0x98, 0x99, 0x99, 0x9a, 0xdf, 0xff,
158 0x99, 0x99, 0x9a, 0x98, 0x99, 0x99, 0xc7, 0xff, 0xff,
159 0x98, 0x99, 0x99, 0x98, 0x9a, 0xc5, 0xff, 0xff, 0xff,
160 0x99, 0x99, 0x99, 0x9a, 0xd8, 0xff, 0xff, 0xff, 0xff,
161 0xa8, 0xb7, 0xd7, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff,
162}};
163