1
0
Fork 0

Follow up tweaks.

This commit is contained in:
curt 2001-09-20 21:03:41 +00:00
parent 646f93e618
commit 1dfe83dfd4

View file

@ -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,6 +441,21 @@ readCard(const SGPropertyNode * node)
divisions, //suma divisions, //suma
zoom //suma zoom //suma
); );
} 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; return p;
}// end readCard }// end readCard