summaryrefslogtreecommitdiffstats
path: root/ds9/library
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-11-30 20:08:34 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-11-30 20:08:34 (GMT)
commit2f5695622e220288cbedd78763d79d86bf8688cd (patch)
tree0b95dcf104c198e374907aa0eeb21e42793652ab /ds9/library
parent88e89bb5360cd136fe6adc5e2acd4c0cab63937b (diff)
downloadblt-2f5695622e220288cbedd78763d79d86bf8688cd.zip
blt-2f5695622e220288cbedd78763d79d86bf8688cd.tar.gz
blt-2f5695622e220288cbedd78763d79d86bf8688cd.tar.bz2
new mask support
Diffstat (limited to 'ds9/library')
-rw-r--r--ds9/library/mask.tcl21
1 files changed, 7 insertions, 14 deletions
diff --git a/ds9/library/mask.tcl b/ds9/library/mask.tcl
index 9936c36..3015a99 100644
--- a/ds9/library/mask.tcl
+++ b/ds9/library/mask.tcl
@@ -113,28 +113,21 @@ proc MaskDialog {} {
$mb.file add command -label [msgcat::mc {Close}] -command MaskDestroyDialog
menu $mb.file.open
- $mb.file.open add command \
- -label "[msgcat::mc {Mosaic WCS}]..." \
+ $mb.file.open add command -label "[msgcat::mc {Mosaic WCS}]..." \
-command [list OpenDialog mosaicimagewcs mask]
- $mb.file.open add command \
- -label "[msgcat::mc {Mosaic WCS Segment}]..." \
+ $mb.file.open add command -label "[msgcat::mc {Mosaic WCS Segment}]..." \
-command [list OpenDialog mosaicwcs mask]
- $mb.file.open add command \
- -label "[msgcat::mc {Mosaic IRAF}]..." \
+ $mb.file.open add command -label "[msgcat::mc {Mosaic IRAF}]..." \
-command [list OpenDialog mosaicimageiraf mask]
- $mb.file.open add command \
- -label "[msgcat::mc {Mosaic IRAF Segment}]..." \
+ $mb.file.open add command -label "[msgcat::mc {Mosaic IRAF Segment}]..." \
-command [list OpenDialog mosaiciraf mask]
- $mb.file.open add command \
- -label "[msgcat::mc {Mosaic WFPC2}]..." \
+ $mb.file.open add command -label "[msgcat::mc {Mosaic WFPC2}]..." \
-command [list OpenDialog mosaicimagewfpc2 mask]
menu $mb.file.import
- $mb.file.import add command \
- -label "[msgcat::mc {Array}]..." \
+ $mb.file.import add command -label "[msgcat::mc {Array}]..." \
-command [list ImportDialog array mask]
- $mb.file.import add command \
- -label "[msgcat::mc {NRRD}]..." \
+ $mb.file.import add command -label {NRRD} \
-command [list ImportDialog nrrd mask]
EditMenu $mb imask