summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/colorbarparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-23 17:34:57 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-23 17:34:57 (GMT)
commit59ccc64f5baf0ecae38e99d21c338b9106125cad (patch)
treef418543771f838ff2f41072f48350f80cb7eb4ae /ds9/parsers/colorbarparser.tac
parente27a7c45807da42ffd5cba644f415956672b13ab (diff)
downloadblt-59ccc64f5baf0ecae38e99d21c338b9106125cad.zip
blt-59ccc64f5baf0ecae38e99d21c338b9106125cad.tar.gz
blt-59ccc64f5baf0ecae38e99d21c338b9106125cad.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/colorbarparser.tac')
-rw-r--r--ds9/parsers/colorbarparser.tac4
1 files changed, 3 insertions, 1 deletions
diff --git a/ds9/parsers/colorbarparser.tac b/ds9/parsers/colorbarparser.tac
index 2fbc473..bb928ba 100644
--- a/ds9/parsers/colorbarparser.tac
+++ b/ds9/parsers/colorbarparser.tac
@@ -33,8 +33,8 @@ command : colorbar
colorbar : yesno {global view; set view(colorbar) $1; UpdateView}
# backward compatibility
| MATCH_ {MatchColorCurrent}
-# backward compatibility
| LOCK_ yesno {global colorbar; set colorbar(lock) $2; LockColorCurrent}
+
| NUMERICS_ yesno {global colorbar; set colorbar(numerics) $2; UpdateView}
| SPACE_ space {global colorbar; set colorbar(space) $2; UpdateView}
| FONT_ font {global colorbar; set colorbar(font) $2; UpdateView}
@@ -43,9 +43,11 @@ colorbar : yesno {global view; set view(colorbar) $1; UpdateView}
| FONTSLANT_ fontslant {global colorbar; set colorbar(font,slant) $2; UpdateView}
# backward compatibility
| FONTSTYLE_ fontstyle
+
| orientation {global colorbar; set colorbar(orientation) $1; UpdateView}
# backward compatibility
| ORIENTATION_ orientation {global colorbar; set colorbar(orientation) $2; UpdateView}
+
| SIZE_ INT_ {global colorbar; set colorbar(size) $2; UpdateView}
| TICKS_ INT_ {global colorbar; set colorbar(ticks) $2; UpdateView}
;