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,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 *