]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/sgVec3Slider.cxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / GUI / sgVec3Slider.cxx
index 3e2b40db00d347d36fd5ad9e7d82fcd423859749..a2c133eb3cfc71c477272544f040296da394282c 100644 (file)
@@ -129,9 +129,9 @@ FloatSlider::FloatSlider ( int x, int y, int sz, float f, const char *title,
        setCBMode   ( PUSLIDER_DELTA ) ;
        strcpy      ( _title, title);
        setLabel    ( _title );
-       setLabelPlace ( PUPLACE_LOWER_LEFT );
+       setLabelPlace ( PUPLACE_LEFT );
        setLegend(_text);
-       // setLegendPlace( PUPLACE_LOWER_RIGHT );
+       // setLegendPlace( PUPLACE_RIGHT );
 }
 
 
@@ -211,9 +211,9 @@ FloatDial::FloatDial ( int x, int y, int sz, float f, const char *title,
        setCBMode   ( PUSLIDER_DELTA ) ;
        strcpy      ( _title, title);
        setLabel    ( _title );
-       setLabelPlace ( PUPLACE_LOWER_LEFT  );
+       setLabelPlace ( PUPLACE_LEFT  );
        setLegend(_text);
-       // setLegendPlace( PUPLACE_LOWER_RIGHT );
+       // setLegendPlace( PUPLACE_RIGHT );
 }
 
 
@@ -329,7 +329,7 @@ sgVec3Slider::sgVec3Slider ( int x, int y, sgVec3 cart, const char *title,
 
        new puFrame ( 0, 0, DialogWidth, DialogHeight );
 
-       setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED_CENTERED*/ );
+       setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED*/ );
        setLabel( Label );
 
         /* heading */
@@ -499,17 +499,6 @@ void PilotOffsetInit( sgVec3 cart )
        }
 }
 
-void PilotOffsetAdjust( puObject * )
-{
-       if( PO_vec == 0 ) {
-               PilotOffsetInit();
-       }
-       sgVec3Slider *me = (sgVec3Slider *)PO_vec -> getUserData();
-       me -> adjust( me );
-       me -> stashVec();
-       FG_PUSH_PUI_DIALOG( me );
-}
-
 // external to get pilot offset vector for viewer
 sgVec3 *PilotOffsetGet()
 {