summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-28 15:40:49 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-28 15:40:49 (GMT)
commit1d7ca7796fbfead236f2e21b31d805db7c97496d (patch)
treef741334e1e495932da85709e78393a9cdd72d349
parent160e5a1a599f459d299ed20cda42c2323d1dea27 (diff)
downloadblt-1d7ca7796fbfead236f2e21b31d805db7c97496d.zip
blt-1d7ca7796fbfead236f2e21b31d805db7c97496d.tar.gz
blt-1d7ca7796fbfead236f2e21b31d805db7c97496d.tar.bz2
BACKUP: restore crosshair cursor
-rw-r--r--ds9/doc/release/r8.0.html1
-rw-r--r--ds9/library/backup.tcl1
-rw-r--r--ds9/library/crosshair.tcl3
3 files changed, 5 insertions, 0 deletions
diff --git a/ds9/doc/release/r8.0.html b/ds9/doc/release/r8.0.html
index 23e2ace..d5aa3e2 100644
--- a/ds9/doc/release/r8.0.html
+++ b/ds9/doc/release/r8.0.html
@@ -35,6 +35,7 @@
<li><tt>08.22.2018 CUBE: plot3d current slice is coordinated with cube dialog box.</tt></li>
<li><tt>08.22.2018 BIN: fixed a problem in the case of a RGB image has a binned layer, changing bin parameters in other layers caused cursor movement.</tt></li>
<li><tt>08.22.2018 REGION: plot2d now extends across mosaic boundries.</tt></li>
+ <li><tt>08.28.2018 BACKUP: restore crosshair cursor.</tt></li>
<li><tt><b>09.03.2018 RELEASE version 8.0rc</b></tt></li>
</ol>
</ol>
diff --git a/ds9/library/backup.tcl b/ds9/library/backup.tcl
index 51bf479..e57c822 100644
--- a/ds9/library/backup.tcl
+++ b/ds9/library/backup.tcl
@@ -284,6 +284,7 @@ proc BackupFrame {ch which dir} {
# must be after Pan and Block
3DBackup $ch $which
MarkerBackup $ch $which $fdir $rdir
+ CrosshairBackup $ch $which
CentroidBackup $ch $which
MaskBackup $ch $which
SmoothBackup $ch $which
diff --git a/ds9/library/crosshair.tcl b/ds9/library/crosshair.tcl
index d2fca4b..8bf22bc 100644
--- a/ds9/library/crosshair.tcl
+++ b/ds9/library/crosshair.tcl
@@ -279,3 +279,6 @@ proc ProcessSendCrosshairCmd {proc id param {sock {}} {fn {}}} {
crosshairsend::yyparse
}
+proc CrosshairBackup {ch which} {
+ puts $ch "$which crosshair physical [$which get crosshair physical]"
+}