SCAN_RSC: Resource file Viewer and Lister
Author: Dr. Bob
Date: 09/26/89
Requirements: 80 column width is recommended (screen or printer).
Operation: Via the file_selector, a resource file is first read,
then processed (as though rsrc_load were used).
Once read, you may either view the 'trees' or opt to
print a listing of the statistics of the entire file.
Viewing is a simple straight-forward sequential stepping.
Tree#0 then tree#1 tree#2 etc etc etc...
After each display, you have the option of listing the
particulars of that tree (press RETURN) or proceeding
to the next tree (any other key). Pressing will
quit the current resource file and allow you to select
another... or quit to the desktop by clicking on CANCEL
within the file selector.
When printing or list_while_viewing, the output is in
the same format. Only standard ASCII is output to the
printer to allow for a variety of printer models.
Object List:
Each object within a form is listed in the order it exists
within the resource file. Parent-Child connections are not
noted. The information shown for each object is:
Obj_Type: Both descriptive text and type-number are given.
Obj_Coords: The X,Y coordinates are stated in pixels (this
will be different for each resolution)
Obj_Size: Width and Height are shown (also depends on rez).
* text: For TedInfos and Zstrings, the text is shown.
Maximum length listed is only 28 characters.
Character codes below $20 (32 decimal) are
shown as "?" (once again, to allow ANY printer
to be used.)
TedInfos contain additional info but it is not
listed here due to the 80 coulmn constraint.
An 'extended-info' function will be available.
* nontext: For other objects, bitimage,icon or boxchar, the
pertinent information is listed.
g_boxchar lists the character used.
g_bitblk lists the x,y,w,h from the image_struct.
g_icon lists both the character and the label.
g_box, g_ibox and g_progdef info are not listed.
Obj_Flags: The objects flags are shown.
Obj_State: The objects state is shown.
*----------------------------------------------------------------------------*
Extended information refers simply to that information which cannot fit in
the above listing. This includes TEDINFOS and minor information on boxes.
Data Not Listed:
Tedinfos: ptmplt font color len_string
pvalid just border len_tmplt
Boxes (g_box,g_ibox): color border
Bitblks: color
Icons: ch_color chr_x chr_y label_x
label_y w,h label_box text_hgt
ProgDefs: Nothing pertinent exists here. This is programmer specific.
*----------------------------------------------------------------------------*
Any standard resource file can be read and viewed (and listed).
---
SCAN_RSC was designed to be used with WERCS (by HiSoft) to fill
in the gaps. A version that will also list the assigned labels
to each tree and/or object is currently underway. (once complete,
the same label_listing will be available for Atari's RSC files)
*----------------------------------------------------------------------------*
SCAN_RSC is not public domain. It is ShareWare. It may be freely distibuted
as long as this document file is included with it and neither it nor the
program file are modified in any way.
I am asking a mere $10.00 'contribution' for this program. All of its design
is original and all of the coding is mine.
It was suggested to me to 'disable' the PRINT feature of SCAN_RSC and provide
that PRINT capability only to 'donators'.
I did not do that.
"Why?", you ask?
Because I trust the ShareWare concept. If you find it useful then donate;
It's not a lot of money. If you don't find it useful then erase it.
Support YOUR Shareware authors. (Hey! Even a postcard once in while helps!)
We like feedback... It lets us know if we're on the right track.
We're also kinda fond of that green stuff... it helps stave off the hunger.
(no... I'm not refering to lettuce or cabbage... Brocolli? Nahhhhhhh...
c'mon... gimme a break...)
(Dr. Bob wanted me to charge $10.95 but I convinced him to drop it down to
only $10.00.... Hey! I'm workin' FOR you :)
W.David Parks
09/27/89
send contributions to: contact by E-Mail or Message on:
W. David Parks CHQ BBS
180 N. Hazeltine Ave. (216) 758-0284
Campbell, OH 44405-1024 1200/2400 bps 8/n/1
24hr/7days
ask Dr. Bob
ps: I have a supply of postage stamps 'at-the-ready' ...