EasyManua.ls Logo

Radio Shack TRS-80 X-PAD GT-116 - 9; Brushing on the First Coat

Radio Shack TRS-80 X-PAD GT-116
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9/ Brushing
on
the
First
Coat
A
paint
program
Jets
you paint a
certain figure
you
have
just
drawn
on
the
X-Pad.
Before
using
the
X-Pad's
PAINT
routine,
read Chapter 6 of
Going Ahead
With
Extended
Color BASIC carefully!
For
instance,
when
you
specify
two
diagonal
points
with
the
Pen, the
following
program draws a box
and
then
paints
the
box
when
you move
and
press
down
the Pen in
a
part
of
the
margin which
has
been
defined
as a
"color-coded
menu",
(Actually,
we're
jumping
a
little
ahead of ourselves
but
bear
with
us
you'll
like
what's
about
to follow!)
Whenever you
want
to
clear
the
Screen,
just
move
the
Pen
to the bottom margin.
With
this
program,
you
can
color-code
three
of the
four
margins
on the X-Pad. The
colors
available
depend
on
the
color
set
currently
in use:
If the Color
Set
is
0,
then
, .
.
if
the Color
Set
is
1
, then
. .
.
green/yellow/blue/red
(green
is
the
background
color
and you
can
set the
three
margins to
the
other
three
colors)
buff/cyan/magenta/orange
(buff is the
background
color)
You can
then
define each
margin
with
a color.
For
example:
left
=
3
(blue)
right
=
2
(yellow)
top
=
4 (red)
bottom
=
clears
the
Screen
25