aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/tedit/display/curses/standout.x
blob: 855dab587de20347abfdd4d57208b7ccf4ceb69e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
include "../curses.h"
include "window.h"

# STANDOUT -- Put the window in standout mode
#
# B.Simon	02-Oct-90	Original

procedure standout ()

#--

begin
	call wstandout (STDSCR)
end

procedure wstandout (win)

int	win		# i: Window descriptor
#--
include "window.com"

pointer	pwin

begin
	pwin = warray[win]
	WIN_ATRIB(pwin) = A_STANDOUT
end

procedure standend ()

#--

begin
	call wstandend (STDSCR)
end

procedure wstandend (win)

int	win		# i: Window descriptor
#--
include "window.com"

pointer	pwin

begin
	pwin = warray[win]
	WIN_ATRIB(pwin) = A_NORM
end