TgtAptDialogWPList = new puListBox ( 50, 130, 300, 320 ) ;
TgtAptDialogWPList -> setLabel ( "Flight Plan" );
- TgtAptDialogWPList -> setLabelPlace ( PUPLACE_ABOVE ) ;
+ TgtAptDialogWPList -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
TgtAptDialogWPList -> setStyle ( -PUSTYLE_SMALL_SHADED ) ;
TgtAptDialogWPList -> setValue ( 0 ) ;
TgtAptDialogInput = new puInput (50, 70, 300, 100);
TgtAptDialogInput -> setLabel ( NewTgtAirportLabel );
- TgtAptDialogInput -> setLabelPlace ( PUPLACE_ABOVE ) ;
+ TgtAptDialogInput -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
TgtAptDialogInput -> setValue (NewTgtAirportId);
TgtAptDialogInput -> acceptInput();
list_box = new puListBox ( 10, 40, w-40, h-60 ) ;
list_box -> setLabel ( title );
- list_box -> setLabelPlace ( PUPLACE_ABOVE ) ;
+ list_box -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
list_box -> setStyle ( -PUSTYLE_SMALL_SHADED ) ;
list_box -> setUserData ( this ) ;
list_box -> setCallback ( handle_select ) ;
setCBMode ( PUSLIDER_DELTA ) ;
strcpy ( _title, title);
setLabel ( _title );
- setLabelPlace ( PUPLACE_LEFT );
+ setLabelPlace ( PUPLACE_LOWER_LEFT );
setLegend(_text);
- // setLegendPlace( PUPLACE_RIGHT );
+ // setLegendPlace( PUPLACE_LOWER_RIGHT );
}
setCBMode ( PUSLIDER_DELTA ) ;
strcpy ( _title, title);
setLabel ( _title );
- setLabelPlace ( PUPLACE_LEFT );
+ setLabelPlace ( PUPLACE_LOWER_LEFT );
setLegend(_text);
- // setLegendPlace( PUPLACE_RIGHT );
+ // setLegendPlace( PUPLACE_LOWER_RIGHT );
}
new puFrame ( 0, 0, DialogWidth, DialogHeight );
- setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED*/ );
+ setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED_CENTERED*/ );
setLabel( Label );
/* heading */