line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
10574
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
36
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
221
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Backlight', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'default' => 'no', |
11
|
|
|
|
|
|
|
'description' => 'Backlight if applicable', |
12
|
|
|
|
|
|
|
'type' => 'leaf', |
13
|
|
|
|
|
|
|
'value_type' => 'uniline' |
14
|
|
|
|
|
|
|
}, |
15
|
|
|
|
|
|
|
'Brightness', |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
'default' => '50', |
18
|
|
|
|
|
|
|
'description' => 'Brightness (in %) if applicable', |
19
|
|
|
|
|
|
|
'type' => 'leaf', |
20
|
|
|
|
|
|
|
'value_type' => 'uniline' |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
'CharEncoding', |
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
'default' => 'iso8859-2', |
25
|
|
|
|
|
|
|
'description' => 'character encoding to use', |
26
|
|
|
|
|
|
|
'type' => 'leaf', |
27
|
|
|
|
|
|
|
'value_type' => 'uniline' |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
'Contrast', |
30
|
|
|
|
|
|
|
{ |
31
|
|
|
|
|
|
|
'default' => '50', |
32
|
|
|
|
|
|
|
'description' => 'Contrast (in %) if applicable', |
33
|
|
|
|
|
|
|
'type' => 'leaf', |
34
|
|
|
|
|
|
|
'value_type' => 'uniline' |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'Driver', |
37
|
|
|
|
|
|
|
{ |
38
|
|
|
|
|
|
|
'description' => 'which graphical display supported by graphlcd-base to use |
39
|
|
|
|
|
|
|
(see /etc/graphlcd.conf for possible drivers)', |
40
|
|
|
|
|
|
|
'type' => 'leaf', |
41
|
|
|
|
|
|
|
'upstream_default' => 'image', |
42
|
|
|
|
|
|
|
'value_type' => 'uniline' |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
'FontFile', |
45
|
|
|
|
|
|
|
{ |
46
|
|
|
|
|
|
|
'default' => '/usr/share/fonts/corefonts/courbd.ttf', |
47
|
|
|
|
|
|
|
'description' => 'path to font file to use', |
48
|
|
|
|
|
|
|
'type' => 'leaf', |
49
|
|
|
|
|
|
|
'value_type' => 'uniline' |
50
|
|
|
|
|
|
|
}, |
51
|
|
|
|
|
|
|
'Invert', |
52
|
|
|
|
|
|
|
{ |
53
|
|
|
|
|
|
|
'default' => 'no', |
54
|
|
|
|
|
|
|
'description' => 'invert light/dark pixels', |
55
|
|
|
|
|
|
|
'type' => 'leaf', |
56
|
|
|
|
|
|
|
'value_type' => 'uniline' |
57
|
|
|
|
|
|
|
}, |
58
|
|
|
|
|
|
|
'MinFontFaceSize', |
59
|
|
|
|
|
|
|
{ |
60
|
|
|
|
|
|
|
'default' => '7x12', |
61
|
|
|
|
|
|
|
'description' => 'minimum size in pixels in which fonts should be rendered', |
62
|
|
|
|
|
|
|
'type' => 'leaf', |
63
|
|
|
|
|
|
|
'value_type' => 'uniline' |
64
|
|
|
|
|
|
|
}, |
65
|
|
|
|
|
|
|
'PixelShiftX', |
66
|
|
|
|
|
|
|
{ |
67
|
|
|
|
|
|
|
'default' => '0', |
68
|
|
|
|
|
|
|
'type' => 'leaf', |
69
|
|
|
|
|
|
|
'value_type' => 'uniline' |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
'PixelShiftY', |
72
|
|
|
|
|
|
|
{ |
73
|
|
|
|
|
|
|
'default' => '2', |
74
|
|
|
|
|
|
|
'type' => 'leaf', |
75
|
|
|
|
|
|
|
'value_type' => 'uniline' |
76
|
|
|
|
|
|
|
}, |
77
|
|
|
|
|
|
|
'ShowBigBorder', |
78
|
|
|
|
|
|
|
{ |
79
|
|
|
|
|
|
|
'default' => 'no', |
80
|
|
|
|
|
|
|
'description' => 'border within the usable text area, |
81
|
|
|
|
|
|
|
for setting up TextResolution and |
82
|
|
|
|
|
|
|
MinFontFaceSize (if using FT2); |
83
|
|
|
|
|
|
|
border around the unused area', |
84
|
|
|
|
|
|
|
'type' => 'leaf', |
85
|
|
|
|
|
|
|
'value_type' => 'uniline' |
86
|
|
|
|
|
|
|
}, |
87
|
|
|
|
|
|
|
'ShowDebugFrame', |
88
|
|
|
|
|
|
|
{ |
89
|
|
|
|
|
|
|
'default' => 'no', |
90
|
|
|
|
|
|
|
'description' => 'turns on/off 1 pixel thick debugging', |
91
|
|
|
|
|
|
|
'type' => 'leaf', |
92
|
|
|
|
|
|
|
'value_type' => 'uniline' |
93
|
|
|
|
|
|
|
}, |
94
|
|
|
|
|
|
|
'ShowThinBorder', |
95
|
|
|
|
|
|
|
{ |
96
|
|
|
|
|
|
|
'default' => 'yes', |
97
|
|
|
|
|
|
|
'description' => 'border around the unused area', |
98
|
|
|
|
|
|
|
'type' => 'leaf', |
99
|
|
|
|
|
|
|
'value_type' => 'uniline' |
100
|
|
|
|
|
|
|
}, |
101
|
|
|
|
|
|
|
'TextResolution', |
102
|
|
|
|
|
|
|
{ |
103
|
|
|
|
|
|
|
'description' => 'text resolution in fixed width characters |
104
|
|
|
|
|
|
|
(if it won\'t fit according to available physical pixel resolution |
105
|
|
|
|
|
|
|
and the minimum available font face size in pixels, then |
106
|
|
|
|
|
|
|
\'DebugBorder\' will automatically be turned on)', |
107
|
|
|
|
|
|
|
'type' => 'leaf', |
108
|
|
|
|
|
|
|
'upstream_default' => '16x4', |
109
|
|
|
|
|
|
|
'value_type' => 'uniline' |
110
|
|
|
|
|
|
|
}, |
111
|
|
|
|
|
|
|
'UpsideDown', |
112
|
|
|
|
|
|
|
{ |
113
|
|
|
|
|
|
|
'default' => 'no', |
114
|
|
|
|
|
|
|
'description' => 'flip image upside down', |
115
|
|
|
|
|
|
|
'type' => 'leaf', |
116
|
|
|
|
|
|
|
'value_type' => 'uniline' |
117
|
|
|
|
|
|
|
}, |
118
|
|
|
|
|
|
|
'UseFT2', |
119
|
|
|
|
|
|
|
{ |
120
|
|
|
|
|
|
|
'default' => 'yes', |
121
|
|
|
|
|
|
|
'description' => 'no=use graphlcd bitmap fonts (they have only one size / font file) |
122
|
|
|
|
|
|
|
yes=use fonts supported by FreeType2 (needs Freetype2 support in |
123
|
|
|
|
|
|
|
libglcdprocdriver and its dependants)', |
124
|
|
|
|
|
|
|
'type' => 'leaf', |
125
|
|
|
|
|
|
|
'value_type' => 'uniline' |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
], |
128
|
|
|
|
|
|
|
'name' => 'LCDd::glcdlib' |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
] |
131
|
|
|
|
|
|
|
; |
132
|
|
|
|
|
|
|
|