OS-9
Windowing
System
Contents
Chapter 1 Types of OS-9 Windows . . . . . . . . . . . . . . . . . . . . .1-1
Device Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Overlay Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Opening a Device Window . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Opening an Overlay Window . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Chapter 2 Overview of Commands and Parameters . . . . 2-1
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Chapter 3 General Commands . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Background Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Bold Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Border 3-4
Change Working Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Default Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Define GET/PUT Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Device Window End . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-10
Device Window Protect Switch . . . . . . . . . . . . . . . . . . . . . .3-11
Device Window Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-12
Foreground Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Select Font 3-15
Graphics Cursor Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-17
Get Block 3-18
GET/PUT Buffer Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Kill GET/PUT Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
Logic Set 3-21
Overlay Window End . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Overlay Window Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-24
Change Palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Proportional Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Pattern Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-29
Put Block 3-32
Scale Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-33
Window Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-34
Transparent Character Switch . . . . . . . . . . . . . . . . . . . . . .3-35
Chapter 4 Drawing Commands
Draw Arc 4-2
Draw Bar 4-3
Relative Draw Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Draw Box ..................................
Relative Draw Box . . . . . . . . . . . . . . . . . . . . . . . . .
Draw Circle . . . . . . . . .
Draw Ellipse ..............................
Flood Fill ..................................
Draw Line .............
Relative Draw Line
Draw Line and Move
Relative Draw Line and Move
Draw Point .....................
Relative Draw Point . . .
Put Graphics Cursor . .
Set Draw Pointer . . . . . .
Relative Set Draw Pointer
Chapter 5 Text Commands
Index
. 4-8
. 4-9
. . 4-10
. . 4-11
. . 4-12
. . 4-12
. 5-1