Parameter | Implication |
---|---|
pixel=VALUE | number of pixels for 1 uni -> group width = elemmax * pixel |
bgcolor="#VALUE" | background color of page |
fgcolor="#VALUE" | default foreground color |
frcolor="#VALUE" | frame active controls |
tblborder=VALUE | table border (0/1) |
bordercolor="#VALUE" | table border color |
cellspacing=VALUE | distance between cells |
cellpadding=VALUE | distance between cell wall and content |
Parameter | Implication |
---|---|
lamp_dir=$kbd/lamp | Where the images for control lamps live |
lamp_bg="#VALUE" | background color for lamp field |
lamp_fill="#VALUE" | text color for lamp field |
Parameter | Implication |
---|---|
button_textsize=VALUE | |
button_textlength=VALUE | |
button_dir=$kbd/button |
Parameter | Implication |
---|---|
imgdir=/$proj/www/images | |
imgoutdir=/$proj/www/tmp | |
protosonarfg=$imgdir/sonarfg-321.png | |
protosonarbg=$imgdir/sonarbg-321.png |
Parameter | Implication |
---|---|
textlength=18 | |
meter_dir=$kbd/meter | |
protopic=$meter_dir/dial-back-4.png | |
protopicr=$meter_dir/dial-back-4r.png | |
protopicc=$meter_dir/dial-back-4c.png | |
protopicd=$meter_dir/dial-back-4d.png | |
protoglass=$meter_dir/glass-4.png |
one function for each meter defined in cfg file
meter_1()
{
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq | sed -e 's/000//1'
}
example for defined, but momentarily unused meter
meter_g()
{
echo 0
}
**Block allocation area
syntax
// blk: (grp) [grp] [grp]
// spr: (name) [ypix] [rotate] defines the sequence of blocks in interface
* example
// blk: cam01 sonar cam02
// spr: animated-line-01.gif 8
**Block description area
* syntax
* group begin (groupname)
* field separator is white space
* no white spaces in fields, also not in names
* group end
**Syntax elements
*button num bg_img xunits yunits text action
* crfile
* rmfile
* tgfile
* func
* ext cmd {arg} ..
*lamp num name xunits yunits color test file [cond params]
* file
* nfile
* val gt/lt/eq (val) {val for fl}
* var gt/lt/eq (val) {val for fl}
*meter meter# name min max img type orient
meter meter# name min max r/l/c/d u/l/r
*tile num xunits yunits fgcol bgcol text
*cam camid
*sonar sonarid xunits speed maxdeg fgcol bgcol
*datafield num xunits yunits fgcol bgcol
*graph num xunits yunits
*tactical num xunits yunits