Changeset 114 for trunk/SRC/ToBeReviewed/IMAGE
- Timestamp:
- 06/19/06 16:14:56 (18 years ago)
- Location:
- trunk/SRC/ToBeReviewed/IMAGE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/IMAGE/animgif.pro
r74 r114 42 42 ;------------------------------------------------------------ 43 43 PRO animgif, nomfic 44 ; 45 compile_opt idl2, strictarrsubs 46 ; 44 47 @common 45 48 ; -
trunk/SRC/ToBeReviewed/IMAGE/image_viewer.pro
r23 r114 48 48 ;THIS PROCEDURE IS CALLED WHEN A USER SELECTS "File > Open Picture Files" FROM THE MAIN MENU 49 49 ;error handling: 50 ; 51 compile_opt idl2, strictarrsubs 52 ; 50 53 !ERROR_STATE.CODE=0 51 54 CATCH,error … … 126 129 ;THIS PROCEDURE IS CALLED WHEN A USER SELECTS "File > Open All In Folder" FROM THE MAIN MENU 127 130 ;error handling: 131 ; 132 compile_opt idl2, strictarrsubs 133 ; 128 134 !ERROR_STATE.CODE=0 129 135 CATCH,error … … 204 210 PRO IMAGE_VIEWER_CANCEL,event 205 211 ;obtain state structure for top-level-base from its UVALUE: 212 ; 213 compile_opt idl2, strictarrsubs 214 ; 206 215 WIDGET_CONTROL,event.top,GET_UVALUE=pState 207 216 ;shut-off timer: … … 214 223 PRO IMAGE_VIEWER_TIMER,event 215 224 ;obtain state structure for top-level-base from its UVALUE: 225 ; 226 compile_opt idl2, strictarrsubs 227 ; 216 228 WIDGET_CONTROL,event.top,GET_UVALUE=pState 217 229 if (*pState).timer EQ 1 then begin ;continue processing files: … … 884 896 ;THIS PROCEDURE IS CALLED WHEN A USER SELECTS "File > Exit" FROM THE MAIN MENU 885 897 ;terminate the program by destroying the top-level-base (widgetID always stored in event.top): 898 ; 899 compile_opt idl2, strictarrsubs 900 ; 886 901 WIDGET_CONTROL,event.top,/DESTROY 887 902 END … … 894 909 ;FROM THE MAIN MENU 895 910 ;display a simple message: 911 ; 912 compile_opt idl2, strictarrsubs 913 ; 896 914 messageStr=['IMAGE_VIEWER written by AEB, 2002.','',$ 897 915 'The purpose of this program is to provide an interactive tool that can be used',$ … … 909 927 ;THIS PROCEDURE IS CALLED WHEN A USER CLICKS ON ONE OF THE THUMBNAIL PICTURES 910 928 ;error handling: 929 ; 930 compile_opt idl2, strictarrsubs 931 ; 911 932 !ERROR_STATE.CODE=0 912 933 CATCH,error … … 953 974 ;THIS PROCEDURE IS CALLED WHEN THE PROGRAM IS TERMINATED AND XMANAGER REGISTERS A CLEANUP: 954 975 ;obtain state structure for top-level-base from its uvalue: 976 ; 977 compile_opt idl2, strictarrsubs 978 ; 955 979 WIDGET_CONTROL,widgetID,GET_UVALUE=pState 956 980 ;test for validity of state structure pointer: … … 978 1002 ;THIS PROCEDURE IS CALLED WHEN A USER RESIZES THE TOP-LEVEL BASE 979 1003 ;error handling: 1004 ; 1005 compile_opt idl2, strictarrsubs 1006 ; 980 1007 !ERROR_STATE.CODE=0 981 1008 CATCH,error … … 997 1024 PRO IMAGE_VIEWER 998 1025 ;error handling: 1026 ; 1027 compile_opt idl2, strictarrsubs 1028 ; 999 1029 !ERROR_STATE.CODE=0 1000 1030 CATCH,error -
trunk/SRC/ToBeReviewed/IMAGE/imdisp.pro
r23 r114 1 1 ;------------------------------------------------------------------------------- 2 2 FUNCTION IMDISP_GETPOS, ASPECT, POSITION=POSITION, MARGIN=MARGIN 3 ; 4 compile_opt idl2, strictarrsubs 5 ; 3 6 4 7 ;- Compute a position vector given an aspect ratio (called by IMDISP_IMSIZE) … … 46 49 FUNCTION IMDISP_IMSCALE, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 47 50 NEGATIVE=NEGATIVE 51 ; 52 compile_opt idl2, strictarrsubs 53 ; 48 54 49 55 ;- Byte-scale an image (called by IMDISP) … … 73 79 ;------------------------------------------------------------------------------- 74 80 FUNCTION IMDISP_IMREGRID, DATA, NX, NY, INTERP=INTERP 81 ; 82 compile_opt idl2, strictarrsubs 83 ; 75 84 76 85 ;- Regrid a 2D array (called by IMDISP) … … 112 121 PRO IMDISP_IMSIZE, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $ 113 122 POSITION=POSITION, MARGIN=MARGIN 123 ; 124 compile_opt idl2, strictarrsubs 125 ; 114 126 115 127 ;- Compute the size and offset for an image (called by IMDISP) … … 171 183 BACKGROUND=BACKGROUND, ERASE=ERASE, $ 172 184 AXIS=AXIS, NEGATIVE=NEGATIVE, _EXTRA=EXTRA_KEYWORDS 185 ; 186 compile_opt idl2, strictarrsubs 187 ; 173 188 174 189 ;+ -
trunk/SRC/ToBeReviewed/IMAGE/saveimage.pro
r69 r114 1 1 PRO SAVEIMAGE, FILE, BMP=BMP, PNG=PNG, PICT=PICT, JPEG=JPEG, TIFF=TIFF, $ 2 2 QUALITY=QUALITY, DITHER=DITHER, CUBE=CUBE, QUIET=QUIET, MULTIPLE = multiple 3 ; 4 compile_opt idl2, strictarrsubs 5 ; 3 6 4 7 ;+ -
trunk/SRC/ToBeReviewed/IMAGE/showimage.pro
r69 r114 1 1 PRO SHOWIMAGE, FILE, DITHER=DITHER, CURRENT=CURRENT 2 ; 3 compile_opt idl2, strictarrsubs 4 ; 2 5 3 6 ;+
Note: See TracChangeset
for help on using the changeset viewer.