PRT_LINE /x1k10                                ͻ
                                 RESOURCES File 
                                ͼ
byte#
 0- 1   Version          1
 2- 3   Objects          address
 4- 5   Texts            address
 6- 7   Icons            address
 8- 9   Images           address
10-11   FreeStrings list address
12-13   Strings          address
14-15   GraphicsData     address
16-17   FreeImages       address
18-19   Trees list       address
20-21   Objects          count
22-23   Trees            count
24-25   Texts            count
26-27   Icons            count
28-29   Images           count
30-31   FreeStrings      count
32-33   FreeImages       count
34-35   Resources        length

                                   Ŀ
                                    OBJECT 
                                   
byte#
 0- 1   NEXT  points to the brother(or parent if no one)
 2- 3   HEAD  points to the first child                  #object (-1 if no one)
 4- 5   TAIL  points to the last child                  
 6- 7   TYPE
         20:box         21:text      22:boxtext   23:image     24:userdefined
         25:invisibox   26:button    27:boxchar   28:string    29:formatedtext
         30:fmtdboxtext 31:icon      32:title
 8- 9   FLAGS   (0:none)
        b8  indirect (SPECIFICATIONS = address of SPECIFICATIONS)
        b7  hidetree
        b6  touchexit
        b5  lastobject
        b4  radiobutton
        b3  editable
        b2  exit
        b1  default
        b0  selectable
10-11   STATE   (0:normal)
        b5  shadowed
        b4  outlined
        b3  disabled
        b2  checked
        b1  crossed
        b0  selected
12-15   SPECIFICATIONS
         box invisibox boxchar
        b31-b24  box character
        b23-b16  border width (signed  <0:out  0:none  >0:in)
        b15-b12  border color (0-15)
         b11-b8  text color (0-15)
             b7  1
          b6-b4  fill pattern (0:hollow  1-6:pattern 7:solid)
          b3-b0  fill color (0-15)
         button string title                   :STRING
         text boxtext formatedtext fmtdboxtext :TEXT
         icon                                  :ICON
         image                                 :IMAGE
         userdefined                           :USER
         indirect                              :address
16-17   X       16=in pixels   17=in cells
18-19   Y       18=in pixels   19=in cells
20-21   W       20=in pixels   21=in cells
22-23   H       22=in pixels   23=in cells

                                   Ŀ
                                    TEXT 
                                   
byte#
 0- 3   textstringaddress
 4- 7   templatestringaddress          a input character:"_"
 8-11   validstringaddress             a valid character:
                                              X: all
                                              P: A-Z 0-9 graphic \ : ? * . _
                                              F: A-Z 0-9 graphic : ? * _
                                              p: A-Z 0-9 graphic \ : _
                                              n: A-Z a-z 0-9 graphic space
                                              a: A-Z a-z space graphic
                                              f: A-Z 0-9 graphic _
                                              N: A-Z 0-9 space
                                              A: A-Z space
                                              9: 0-9
12-13   font           (3:normal  5:small)
14-15    -
16-17   justification  (0:left   1:right   2:center)
18-19   color          b15-b12  border color (0-15)
                         b11-b8  text color (0-15)
                             b7  mode (0:transparent  1:opaque)
                          b6-b4  fill pattern (0:hollow  1-6:pattern  7:solid)
                          b3-b0  fill color (0-15)
20-21    -
22-23   borderthickness (signed  <0:out  0:none  >0:in)
24-25   textlength      (zero included)
26-27   templatelength  (zero included)

                                   Ŀ
                                    ICON 
                                   
byte#
 0- 3   maskaddress
 4- 7   dataadress
 8-11   textstringaddress
12-13   char           b15-b12  text color
                         b11-b7  background color
                          b7-b0  chararacter
14-15   Xchar          in pixels
16-17   Ychar          in pixels
18-19   Xicon          in pixels
20-21   Yicon          in pixels
22-23   Wicon          in pixels (modulo 16)
24-25   Hicon          in pixels
26-27   Xtext          in pixels
28-29   Ytext          in pixels
30-31   Wtext          in pixels
32-33   Htext          in pixels
34-35    -

                               Ŀ
                                IMAGE 
                               
byte#
 0- 3   dataaddress
 4- 5   W              in bytes (even)
 6- 7   H              in pixels
 8- 9   X              in pixels
10-11   Y              in pixels
12-13   foregroundcolor

                                   Ŀ
                                    STRING 
                                   
byte#
 0-..   string of ASCII characters finished by 0

                                   Ŀ
                                    USER 
                                   
byte#
 0- 3   codeaddress    D0=objc_state , 4(SP)=PARAMETERS address
 4- 7   parameter

                             ͻ
                              RESOURCES in Memory 
                             ͼ
 address -> address relocated
 X Y W H -> calculated
                                   Ŀ
                                    PARAMETERS 
                                   
byte#
 0- 3   treeaddress
 4- 5   object
 6- 7   prevstate
 8- 9   newstate
10-11   X
12-13   Y
14-15   W
16-17   H
18-19   Xclip
20-21   Yclip
22-23   Wclip
24-25   Hclip
26-29   parameter
