Follow up tweaks.
This commit is contained in:
parent
646f93e618
commit
1dfe83dfd4
1 changed files with 17 additions and 1 deletions
|
@ -409,6 +409,7 @@ readCard(const SGPropertyNode * node)
|
||||||
load_fn = get_throttleval;
|
load_fn = get_throttleval;
|
||||||
|
|
||||||
|
|
||||||
|
if ( (type == "dial") | (type == "tape") ) {
|
||||||
p = (instr_item *) new hud_card( x,
|
p = (instr_item *) new hud_card( x,
|
||||||
y,
|
y,
|
||||||
width,
|
width,
|
||||||
|
@ -440,7 +441,22 @@ readCard(const SGPropertyNode * node)
|
||||||
divisions, //suma
|
divisions, //suma
|
||||||
zoom //suma
|
zoom //suma
|
||||||
);
|
);
|
||||||
return p;
|
} else {
|
||||||
|
p = (instr_item *) new gauge_instr( x, // x
|
||||||
|
y, // y
|
||||||
|
width, // width
|
||||||
|
height, // height
|
||||||
|
load_fn, // data source
|
||||||
|
options,
|
||||||
|
scaling,
|
||||||
|
maxValue,minValue,
|
||||||
|
major_divs, minor_divs,
|
||||||
|
dp_showing,
|
||||||
|
modulator,
|
||||||
|
working);
|
||||||
|
}
|
||||||
|
|
||||||
|
return p;
|
||||||
}// end readCard
|
}// end readCard
|
||||||
|
|
||||||
static instr_item *
|
static instr_item *
|
||||||
|
|
Loading…
Reference in a new issue