aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/stdgraph/stggdisab.x
blob: 42ddec62d23a46b5e60b519d7981be8ff3310304 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	"stdgraph.h"

# STG_GDISAB -- Disable graphics, i.e., issue the GD control sequence.

procedure stg_gdisab()

include	"stdgraph.com"

begin
	if (g_active == YES && g_out > 0) {
	    call stgctrl ("GD")
	    call flush (g_out)
	    g_enable = NO
	}
end