diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/gio/gfrinit.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/gfrinit.x')
-rw-r--r-- | sys/gio/gfrinit.x | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/gio/gfrinit.x b/sys/gio/gfrinit.x new file mode 100644 index 00000000..bf8181ed --- /dev/null +++ b/sys/gio/gfrinit.x @@ -0,0 +1,26 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <gio.h> + +# GFRINIT -- Initialize the internal state variables of GIO for a new frame. +# The state of all the attribute packets is set to UNSET to force them to be +# retransmitted to the graphics kernel when i/o occurs. + +procedure gfrinit (gp) + +pointer gp # graphics descriptor +pointer ap + +begin + # Force retransmission of the WCS. + GP_WCSSTATE(gp) = UNSET + + # Force retransmission of the attribute packets. + ap = GP_PLAP(gp); PL_STATE(ap) = UNSET + ap = GP_PMAP(gp); PM_STATE(ap) = UNSET + ap = GP_FAAP(gp); FA_STATE(ap) = UNSET + ap = GP_TXAP(gp); TX_STATE(ap) = UNSET + ap = GP_TXAPCUR(gp); TX_STATE(ap) = UNSET + + call gpl_reset() +end |