•  Back 
  •  Objects 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-File
            G_BOX, G_IBOX, G_BOXCHAR object types ob_spec field


G_BOX, G_IBOX, G_BOXCHAR object types have in ob_spec data in following
structure The definition may need to be
altered depending upon the bit
ordering of your compiler.
:

typedef struct                      /* Box Spec or Color Spec        */
{
    unsigned character   :  8;      /* G_BOXCHAR                     */
    signed   framesize   :  8;      /* border thickness, - outward   */
    unsigned framecol    :  4;      /* border color                  */
    unsigned textcol     :  4;      /* text color                    */
    unsigned textmode    :  1;      /* 0=transparent, 1=opaque       */
    unsigned fillpattern :  3;      /* 0=no fill, ... 7=solid fill   */
    unsigned interiorcol :  4;      /* fill color using fill pattern */
} bfobspec;


character contains the ASCII value of the character to display and is
used only with G_BOXCHAR ob_type.