]> git.mxchange.org Git - flightgear.git/blob - src/Cockpit/hud_dnst.cxx
source tree reorganization prior to flightgear 0.7
[flightgear.git] / src / Cockpit / hud_dnst.cxx
1 #ifdef HAVE_CONFIG_H
2 #  include <config.h>
3 #endif
4
5 #ifdef HAVE_WINDOWS_H
6 #  include <windows.h>
7 #endif
8 #include <stdlib.h>
9 #include <string.h>
10 #include <Aircraft/aircraft.hxx>
11 #include <Include/fg_constants.h>
12 #include <Math/fg_random.h>
13 #include <Math/mat3.h>
14 #include <Math/polar3d.hxx>
15 #include <Scenery/scenery.hxx>
16 #include <Time/fg_timer.hxx>
17
18
19 #include "hud.hxx"
20      
21 //============ Top of dual_instr_item class member definitions ============
22
23 dual_instr_item ::
24   dual_instr_item ( int          x,
25                     int          y,
26                     UINT         width,
27                     UINT         height,
28                     FLTFNPTR     chn1_source,
29                     FLTFNPTR     chn2_source,
30                     bool         working,
31                     UINT         options ):
32                   instr_item( x, y, width, height,
33                               chn1_source, options, working),
34                   alt_data_source( chn2_source )
35 {
36 }
37
38 dual_instr_item ::
39   dual_instr_item( const dual_instr_item & image) :
40                  instr_item ((instr_item &) image ),
41                  alt_data_source( image.alt_data_source)
42 {
43 }
44
45 dual_instr_item & dual_instr_item ::
46   operator = (const dual_instr_item & rhs )
47 {
48   if( !(this == &rhs)) {
49     instr_item::operator = (rhs);
50     alt_data_source = rhs.alt_data_source;
51     }
52   return *this;
53 }
54
55 // End of hud_dnst.cxx
56