- Timestamp:
- Sep 23, 2016 3:14:17 PM (7 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_MaskUtils.ipf
r1002 r1013 177 177 val = DimSize(data, 0) -1 178 178 endif 179 179 180 // print "max = ",val 181 180 182 SetVariable setvar0,limits={0,val,1} 181 183 NVAR gVal = root:Packages:NIST:VSANS:Globals:gMaskTube … … 400 402 DrawPanelToMask(popStr) 401 403 404 // fake a "click" on the radio buttons to re-set the row/col limits 405 STRUCT WMCheckboxAction cba 406 cba.eventCode = 2 407 408 ControlInfo check_0 409 if(V_flag == 1) //row is currently selected 410 cba.ctrlName = "check_0" 411 else 412 cba.ctrlName = "check_1" 413 endif 414 415 DrawMaskRadioCheckProc(cba) //call the radio button action proc 416 402 417 //overlay the mask 403 418 V_OverlayMask(popStr,1) … … 561 576 // if state==1, show the mask, if ==0, hide the mask 562 577 // 563 //** This assumes that if the overlay is/not present on the image display, then the currentT iube is also there/not578 //** This assumes that if the overlay is/not present on the image display, then the currentTube is also there/not 564 579 // and is not checked 565 580 // -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_PatchFiles.ipf
r1012 r1013 786 786 SetVariable PV18,help={"beamstop diamter, in millimeters (1 inch = 25.4mm)"} 787 787 // TODO: add functions for these, make the intent a popup (since it's an enumerated type) 788 SetVariable PS2,pos={42,base+12*step},size={340,13}, proc=SetLabelVarProc,title="DIV file name"788 SetVariable PS2,pos={42,base+12*step},size={340,13},title="DIV file name"//,proc=SetLabelVarProc 789 789 SetVariable PS2,help={"DIV file name"},font="Courier",fSize=10 790 790 SetVariable PS2,limits={-Inf,Inf,0},value= root:Packages:NIST:VSANS:Globals:Patch:gPS2 791 SetVariable PS3,pos={42,base+13*step},size={340,13}, proc=SetLabelVarProc,title="Intent"791 SetVariable PS3,pos={42,base+13*step},size={340,13},title="Intent"//,proc=SetLabelVarProc 792 792 SetVariable PS3,help={"File Intent"},font="Courier",fSize=10 793 793 SetVariable PS3,limits={-Inf,Inf,0},value= root:Packages:NIST:VSANS:Globals:Patch:gPS3 794 794 PopupMenu popup_1,pos={42,base+14*step},size={109,20},title="File intent" 795 PopupMenu popup_1,mode=1,popvalue="SCATTER",value= #"\"SCATTER;EMPTY; TRANS;EMPTY BEAM;\""795 PopupMenu popup_1,mode=1,popvalue="SCATTER",value= #"\"SCATTER;EMPTY;BLOCKED BEAM;TRANS;EMPTY BEAM;\"" 796 796 797 797 CheckBox checkPS1,pos={18,base},size={20,20},title=""
Note: See TracChangeset
for help on using the changeset viewer.