1
0
Fork 0
flightgear/src/Cockpit/hud_dnst.cxx

40 lines
1 KiB
C++

#include "hud.hxx"
//============ Top of dual_instr_item class member definitions ============
dual_instr_item ::
dual_instr_item ( int x,
int y,
UINT width,
UINT height,
FLTFNPTR chn1_source,
FLTFNPTR chn2_source,
bool working,
UINT options ):
instr_item( x, y, width, height,
chn1_source, options, working),
alt_data_source( chn2_source )
{
}
dual_instr_item ::
dual_instr_item( const dual_instr_item & image) :
instr_item ((instr_item &) image ),
alt_data_source( image.alt_data_source)
{
}
dual_instr_item & dual_instr_item ::
operator = (const dual_instr_item & rhs )
{
if( !(this == &rhs)) {
instr_item::operator = (rhs);
alt_data_source = rhs.alt_data_source;
}
return *this;
}
// End of hud_dnst.cxx