Changeset 114 for trunk/SRC/ToBeReviewed/IMAGE/image_viewer.pro
- Timestamp:
- 06/19/06 16:14:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.