aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/stdgraph/stglkcur.x
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/stdgraph/stglkcur.x
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'sys/gio/stdgraph/stglkcur.x')
-rw-r--r--sys/gio/stdgraph/stglkcur.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/gio/stdgraph/stglkcur.x b/sys/gio/stdgraph/stglkcur.x
new file mode 100644
index 00000000..6152534b
--- /dev/null
+++ b/sys/gio/stdgraph/stglkcur.x
@@ -0,0 +1,18 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <gset.h>
+include "stdgraph.h"
+
+# STG_LOCKCURSOR -- Lock the logical cursor number. Called interactively by
+# cursor mode in response to a ":.cursor N" command by the user. When the
+# cursor is not locked the logical cursor may be selected under program
+# control.
+
+procedure stg_lockcursor (new_cursor)
+
+int new_cursor # desired new logical cursor
+include "stdgraph.com"
+
+begin
+ g_cursor = new_cursor
+end