1 | /*
|
---|
2 | glcbars.h -- Bar graph driver constants
|
---|
3 | Created: 1988-08-04 17:50:28
|
---|
4 | */
|
---|
5 |
|
---|
6 | #pragma once
|
---|
7 |
|
---|
8 | #include "stdint.h"
|
---|
9 |
|
---|
10 | int16_t BBase = 9; /* bottom line of bar graph */
|
---|
11 | int16_t BCenter = 32; /* center line of bar graph */
|
---|
12 | int16_t BTop = 53; /* top line of bar graph */
|
---|
13 | int16_t BOffset = 128; /* data offset for centered-zero bars */
|
---|
14 |
|
---|
15 | int16_t BarBLn[128] = { /* bottom-zero bar lines */
|
---|
16 |
|
---|
17 | 9, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 15,
|
---|
18 | 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20,
|
---|
19 | 20, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25, 25, 25, 26,
|
---|
20 | 26, 26, 27, 27, 27, 28, 28, 28, 29, 29, 29, 30, 30, 30, 31, 31,
|
---|
21 | 31, 32, 32, 32, 33, 33, 34, 34, 34, 35, 35, 35, 36, 36, 36, 37,
|
---|
22 | 37, 37, 38, 38, 38, 39, 39, 39, 40, 40, 40, 41, 41, 41, 42, 42,
|
---|
23 | 42, 43, 43, 43, 44, 44, 44, 45, 45, 46, 46, 46, 47, 47, 47, 48,
|
---|
24 | 48, 48, 49, 49, 49, 50, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53
|
---|
25 | };
|
---|
26 |
|
---|
27 | int16_t BarCLn[256] = { /* centered-zero bar lines */
|
---|
28 |
|
---|
29 | 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11,
|
---|
30 | 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14,
|
---|
31 | 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17,
|
---|
32 | 17, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 20,
|
---|
33 | 20, 20, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23,
|
---|
34 | 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 26, 26,
|
---|
35 | 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 29,
|
---|
36 | 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31,
|
---|
37 | 32, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 35, 35, 35,
|
---|
38 | 35, 35, 35, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 38,
|
---|
39 | 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 40, 40, 40, 40, 40,
|
---|
40 | 40, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 43, 43, 43,
|
---|
41 | 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45, 45,
|
---|
42 | 46, 46, 46, 46, 46, 46, 47, 47, 47, 47, 47, 47, 48, 48, 48, 48,
|
---|
43 | 48, 48, 49, 49, 49, 49, 49, 49, 50, 50, 50, 50, 50, 50, 51, 51,
|
---|
44 | 51, 51, 51, 51, 52, 52, 52, 52, 52, 52, 53, 53, 53, 53, 53, 53
|
---|
45 | };
|
---|