64
<FW>
Fill Window
Screen Handling & Text
Description
Turn all pixels on within a defined window
Parameters
None
Initial Value
All pixels are off
Modes
Row Mode only
Notes
This command also homes the cursor in the defined window area, equivalent to issuing a <HC>
command.
Apart from its main use in just filling the contents of a window, it can also be used to create inverse
frames to contain text and graphics. Using this technique is much faster than using a Box Draw
<BD> command in Pixel Mode.
Uses
The <FW> command allows:
•
A known starting point before updating a window
•
Creation of a simple border
Example
<RM>
Set Row Mode
<CW>
Turn all screen pixels on
<DW1,6,10,110>
Define a window one row from top and bottom, 10 pixels in from
both sides
<FW>
Set all the pixels in the window area to on
<F2>
Set required font size
<CM3,0>
Move the cursor to the third row down in the window
<CA>
Centre align the following text
<WM3>
Set inverse mode
<WTInverse>
Write out the text
See Also
BD
Box Draw
CS
Clear Screen
DW
Define Window
HC
Home Cursor