]> git.mxchange.org Git - flightgear.git/blob - src/Cockpit/hud_dnst.cxx
Removed all dependencies on <simgear/math/mat3.h> and friends. These are
[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
9 #include <stdlib.h>
10 #include <string.h>
11
12 #include <simgear/constants.h>
13 #include <simgear/math/fg_random.h>
14 #include <simgear/math/polar3d.hxx>
15
16 #include <Aircraft/aircraft.hxx>
17 #include <Scenery/scenery.hxx>
18 #include <Time/fg_timer.hxx>
19
20 #include "hud.hxx"
21
22      
23 //============ Top of dual_instr_item class member definitions ============
24
25 dual_instr_item ::
26   dual_instr_item ( int          x,
27                     int          y,
28                     UINT         width,
29                     UINT         height,
30                     FLTFNPTR     chn1_source,
31                     FLTFNPTR     chn2_source,
32                     bool         working,
33                     UINT         options ):
34                   instr_item( x, y, width, height,
35                               chn1_source, options, working),
36                   alt_data_source( chn2_source )
37 {
38 }
39
40 dual_instr_item ::
41   dual_instr_item( const dual_instr_item & image) :
42                  instr_item ((instr_item &) image ),
43                  alt_data_source( image.alt_data_source)
44 {
45 }
46
47 dual_instr_item & dual_instr_item ::
48   operator = (const dual_instr_item & rhs )
49 {
50   if( !(this == &rhs)) {
51     instr_item::operator = (rhs);
52     alt_data_source = rhs.alt_data_source;
53     }
54   return *this;
55 }
56
57 // End of hud_dnst.cxx
58