home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
h
/
htmix20.zip
/
SE.ZIP
/
SE.DOC
< prev
next >
Wrap
Text File
|
1992-07-14
|
3KB
|
61 lines
┌─────────────────────┐
│ Screen Editor 2.0 │
└─────────────────────┘
Drawing a text screen using the routines in the SCREEN unit
can sometimes be tedious, with numerous calls Box, Fill,
WriteStr, and all the others. It would sometimes be easier
if you could get the screen image from file, or save a screen
to file.
In the SCREEN unit, there are two routines, LoadScreenFromFile
and SaveScreenToFile, designed to do this. As the names imply,
these are used to store and retrieve the contents of the text
screen.
And to help making the images, here is the Screen Editor, which
can be used to draw a 25x80 character color text screen.
The program will start with a blank screen, with only the
cursor showing in reverse attribute. The commands to use in
the program are:
F1 - Bring up a small help window
F2 - Save a screen image to file. The program will prompt
for a file name.
F3 - Load a screen image from file. The program will provide
you with a scrollable list of files with the extension
.SCR.
Space - Write the currently active character at the cursor
position with the currently active attribute.
AltA - Change the currently active Attribute. The program
will display a window with attributes to choose from.
AltB - Draw a box, with the currently active Attribute and
Box type.
AltC - Change the currently active Character. The program
will display a window with characters to choose from.
AltP - Display the cursor Position in the top right corner.
AltF1 - Fill an area of the screen with a selected Attribute
without changing the characters underneath.
AltF2 - Fill an area of the screen with a selected Character
without changing the attributes underneath.
AltF3 - Select Box type.
AltX - Quit the program (beware, pressing Escape will only
draw a left arrow).
Move the cursor with the arrow keys, or with Home, End, PgUp,
or PgDn. If you press a text key, the program will write that
character in the current attribute and move the cursor one
position to the right. However, this does not work for the
space key. To write a space, press AltC and select Space
(character # 32) from the character chart (or to get the same
effect, press any key that generates a null-character, like
one of the function key F4 - F10). You can also enter the ASCII
value for Space (32) by holding down the Alt-key and writing
32 on the numeric key-pad at the same time. This will also work
for any other ASCII-defined key.