section of routines in yao_gui.i

functions in yao_gui.i -

 
 
 
drawStatus


             func drawStatus(status,&id,init=)  
 
   status = 1 (green), 0 (yellow), -1 (red)  
   id = returned after init, use as is in futher calls.  
   init = [xpos,ypos,size]  
   example:  
   first call/init:  
   drawStatus,1,ids2,init=[0.3,0.6,0.02]  
   init the light and place it at positions (0.3,0.6) with size 0.02  
   draw red/yellow/green light:  
   drawStatus,1,ids2  
SEE ALSO:
 
 
 
progressBar


             func progressBar(percent,&id,init=)  
 
   percent: progress -in percent- to be displayed  
   id: internal use. Returned by init. To be used in further calls.  
   init = [x0,y0,x1,y1]: position to display the progress bar  
   NOTE: One has to use the palette "earth.gp" to get a nice blue progress bar  
   example:  
     
SEE ALSO: