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-FileThe ob_state field of an OBJECT (Object States)
The ob_state field determines the display state of the OBJECT as follows:
Name Bit Mask Meaning
SELECTED 0 0x0001 The object is selected. An object with this bit
set will be drawn in inverse video except for
G_CICON which will use its 'selected' image.
CROSSED 1 0x0002 An OBJECT with this bit set will be drawn over
with a white cross (this state can only usually be
seen over a colored or SELECTED object).
CHECKED 2 0x0004 An OBJECT with this bit set will be displayed with
a checkmark in its upper-left corner.
DISABLED 3 0x0008 An OBJECT with this bit set will ignore user
input. Text objects with this bit set will draw in
a dithered pattern.
OUTLINED 4 0x0010 G_BOX, G_IBOX, G_BOXTEXT, G_FBOXTEXT, and
G_BOXCHAR OBJECTs with this bit set will be drawn
with a double border.
SHADOWED 5 0x0020 G_BOX, G_IBOX, G_BOXTEXT, G_FBOXTEXT, and
G_BOXCHAR OBJECTs will be drawn with a shadow.
The AES supports the objc_change() call which can be used to change the
state of an object and (optionally) redraw it.