TgtAptDialogWPList = new puListBox ( 50, 130, 300, 320 ) ;
TgtAptDialogWPList -> setLabel ( "Flight Plan" );
- TgtAptDialogWPList -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
+ TgtAptDialogWPList -> setLabelPlace ( PUPLACE_ABOVE ) ;
TgtAptDialogWPList -> setStyle ( -PUSTYLE_SMALL_SHADED ) ;
TgtAptDialogWPList -> setValue ( 0 ) ;
TgtAptDialogInput = new puInput (50, 70, 300, 100);
TgtAptDialogInput -> setLabel ( NewTgtAirportLabel );
- TgtAptDialogInput -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
+ TgtAptDialogInput -> setLabelPlace ( PUPLACE_ABOVE ) ;
TgtAptDialogInput -> setValue (NewTgtAirportId);
TgtAptDialogInput -> acceptInput();
list_box = new puListBox ( 10, 40, w-40, h-60 ) ;
list_box -> setLabel ( title );
- list_box -> setLabelPlace ( PUPLACE_TOP_LEFT ) ;
+ list_box -> setLabelPlace ( PUPLACE_ABOVE ) ;
list_box -> setStyle ( -PUSTYLE_SMALL_SHADED ) ;
list_box -> setUserData ( this ) ;
list_box -> setCallback ( handle_select ) ;
# include <config.h>
#endif
-#include <plib/puAux.h>
+#include <plib/pu.h>
-//# define PUCLASS_LIST 0x80000000 // Hopefully this value will never be used by plib
+# define PUCLASS_LIST 0x80000000 // Hopefully this value will never be used by plib
/**
* A scrolling list for PUI.
setCBMode ( PUSLIDER_DELTA ) ;
strcpy ( _title, title);
setLabel ( _title );
- setLabelPlace ( PUPLACE_LOWER_LEFT );
+ setLabelPlace ( PUPLACE_LEFT );
setLegend(_text);
- // setLegendPlace( PUPLACE_LOWER_RIGHT );
+ // setLegendPlace( PUPLACE_RIGHT );
}
setCBMode ( PUSLIDER_DELTA ) ;
strcpy ( _title, title);
setLabel ( _title );
- setLabelPlace ( PUPLACE_LOWER_LEFT );
+ setLabelPlace ( PUPLACE_LEFT );
setLegend(_text);
- // setLegendPlace( PUPLACE_LOWER_RIGHT );
+ // setLegendPlace( PUPLACE_RIGHT );
}
new puFrame ( 0, 0, DialogWidth, DialogHeight );
- setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED_CENTERED*/ );
+ setLabelPlace( PUPLACE_DEFAULT /*PUPLACE_CENTERED*/ );
setLabel( Label );
/* heading */
-lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial \
-lsgstructure -lsgenvironment \
$(THREAD_LIBS) \
- -lplibpuaux -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul \
+ -lplibpu -lplibfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul \
$(network_LIBS) \
-lz \
$(opengl_LIBS) \