GEOS SDK TechDocs
|
|
2.1 VCI_comp
|
2.3 VCI_window
Since the composite object must manage several other objects, it must also keep track of certain hierarchies used by the UI; the gadget exclusive is one of these. Within each branch of the visible object tree, only one visible object may have the gadget exclusive at a time. The gadget exclusive is kept track of via a path of pointers from the top of the tree down to the object having the exclusive.
The
VCI_gadgetExcl
field determines which child of the composite has the gadget exclusive. The child indicated in this field may or may not actually have the gadget exclusive for the entire visible tree; if the branch does not have the exclusive, neither will the child object. The gadget exclusive is similar to the other hierarchies of the input manager and acts the same way.
Applications never access the
VCI_gadgetExcl
field of a composite directly. Instead, this field may be set with the following three
VisClass
messages:
MSG_VIS_TAKE_GADGET_EXCL
VCI_gadgetExcl
field appropriately.
MSG_VIS_RELEASE_GADGET_EXCL
VCI_gadgetExcl
field appropriately.
MSG_VIS_LOST_GADGET_EXCLThe above messages are detailed in the VisClass chapter.
GEOS SDK TechDocs
|
|
2.1 VCI_comp
|
2.3 VCI_window