- lon_label( int x,
- int y,
- UINT width,
- UINT height,
- FLTFNPTR data_source,
- const char *label_format,
- const char *pre_label_string,
- const char *post_label_string,
- float scale_data,
- UINT options,
- fgLabelJust justification,
- int font_size,
- int blinking,
- bool working,
- int digit=0); //suma
-
-
- ~lon_label();
-
- lon_label( const lon_label & image);
- lon_label & operator = (const lon_label & rhs );
- virtual void draw( void ); // Required method in base class
-};
-
-typedef lon_label * pLonlabel;
-
-//
-// fgRunway_instr This class is responsible for rendering the active runway
-// in the hud (if visible).
-class runway_instr : public instr_item
-{
-private:
- void boundPoint(sgdVec3 v, sgdVec3 m);
- bool boundOutsidePoints(sgdVec3 v, sgdVec3 m);
- bool drawLine(sgdVec3 a1, sgdVec3 a2, sgdVec3 p1, sgdVec3 p2);
- void drawArrow();
- bool get_active_runway(FGRunway& rwy);
- void get_rwy_points(sgdVec3 *points);
- void setLineWidth(void);
-
- sgdVec3 points3d[6],points2d[6];
- double mm[16],pm[16], arrowScale, arrowRad, lnScale, scaleDist, default_pitch, default_heading;
- int view[4];
- FGRunway runway;
- FGViewer* cockpit_view;
- unsigned short stippleOut,stippleCen;
- bool drawIA,drawIAAlways;
- RECT location;
- POINT center;
-
-public:
- runway_instr( int x,
- int y,
- int width,
- int height,
- float scale_data,
- bool working = true);