-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathm3_menu_mapping.pro
More file actions
53 lines (51 loc) · 1.81 KB
/
Copy pathm3_menu_mapping.pro
File metadata and controls
53 lines (51 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
pro m3_menu_mapping, buttonInfo, base_ref, mainposn
compile_opt strictarr, hidden
;
; error handling
;
CATCH, error
IF (error NE 0) THEN BEGIN
catch, /cancel
ok = m3_error_message()
return
ENDIF
;
*mainposn = *mainposn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Project Single Strip', $
ref_value=base_ref, position=*mainposn, event_pro='m3_map_project_strip', $
uvalue='not used', /separator
;
mainval = 'Smart Mosaic'
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value = mainval, $
ref_value = base_ref, position = *mainposn, /menu
;
posn = 0
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Build GLT', $
ref_value=mainval, position=posn, event_pro='m3_smart_mosaic_start', $
uvalue='not used'
;
posn = posn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Mosaic from GLT', $
ref_value=mainval, position=posn, event_pro='m3_smart_mosaic_build_mosaic', $
uvalue='not used'
;
*mainposn = *mainposn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Update Ellipse.txt and Datum.txt', $
ref_value=base_ref, position=*mainposn, event_pro='m3_utils_add_datum_and_ellipse', $
uvalue='not used'
;
*mainposn = *mainposn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Subset/FLip L0 File', $
ref_value=base_ref, position=*mainposn, event_pro='m3_figure_and_apply_flip_and_subset_gui', $
uvalue='not used', /separator
;
*mainposn = *mainposn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Trim 304 to 300 Samples', $
ref_value=base_ref, position=*mainposn, event_pro='m3_utils_304_to_300_samples', $
uvalue='not used', /separator
;
*mainposn = *mainposn + 1
ENVI_DEFINE_MENU_BUTTON, buttonInfo, Value='Open ACT Quickmap', $
ref_value=base_ref, position=*mainposn, event_pro='m3_utils_open_quickmap', $
uvalue='not used', /separator
end