src/experiments/k4/K4GUI/src/position_commands.cc
int
axis23slider_move( PtWidget_t *widget, ApInfo_t *apinfo, PtCallbackInfo_t *cbinfo )

	{

PtSliderCallback_t *cb;
	  /* eliminate 'unreferenced' warnings */
	  widget = widget, apinfo = apinfo, cbinfo = cbinfo;
	  cb = (PtSliderCallback_t *)cbinfo->cbdata;
	  newpositions[23] = (float)cb->position;
	  printf("Slider 23 has been moved to %f\n",newpositions[23]);
	  

	return( Pt_CONTINUE );

	}
/* this function is called when users move slider for axis 23 */
this function is called when users move slider for axis 23
this function is called when users move slider for axis 23
int
axis23slider_move( PtWidget_t *widget, ApInfo_t *apinfo, PtCallbackInfo_t *cbinfo )
	{
PtSliderCallback_t *cb;
	  widget = widget, apinfo = apinfo, cbinfo = cbinfo;
	  cb = (PtSliderCallback_t *)cbinfo->cbdata;
	  newpositions[23] = (float)cb->position;
	  printf("Slider 23 has been moved to %f\n",newpositions[23]);
	return( Pt_CONTINUE );
	}
int axis23slider_move ( PtWidget_t * widget , ApInfo_t * apinfo , PtCallbackInfo_t * cbinfo ) { PtSliderCallback_t * cb ; widget = widget , apinfo = apinfo , cbinfo = cbinfo ; cb = ( PtSliderCallback_t * ) cbinfo -> cbdata ; newpositions [ 23 ] = ( float ) cb -> position ; printf ( " \n " , newpositions [ 23 ] ) ; return ( Pt_CONTINUE ) ; }
this function is called when users move slider for axis 23
this function is called when users move slider for axis 23
/* eliminate 'unreferenced' warnings */