GEOS SDK TechDocs
|
|
8 Creating Specific UIs
Visible objects are involved in several basic operations, each of which has its own primary messages:
MSG_VIS_DRAW
( MSG_VIS_DRAW
) if they are to draw after their window has been exposed. Objects wishing to redraw themselves outside of exposure events can call
MSG_VIS_VUP_CREATE_GSTATE
( MSG_VIS_VUP_CREATE_GSTATE
) to create a GState in their view windows for drawing.
MSG_VIS_ADD_CHILD
( MSG_VIS_ADD_CHILD
), and the tree can be updated with
MSG_VIS_VUP_UPDATE_WIN_GROUP
( MSG_VIS_VUP_UPDATE_WIN_GROUP
).
MSG_VIS_REMOVE
( MSG_VIS_REMOVE
). This message will close the object (take it off the screen) and then segregate it from its parent.
MSG_VIS_MARK_INVALID
( MSG_VIS_MARK_INVALID
) in conjunction with
MSG_VIS_VUP_UPDATE_WIN_GROUP
( MSG_VIS_VUP_UPDATE_WIN_GROUP
) to cause the update.
MSG_VIS_DESTROY
( MSG_VIS_DESTROY
) first removes the object from the tree (with
MSG_VIS_REMOVE
) and then destroys it (through the
MetaClass
detach and destroy mechanisms).
GEOS SDK TechDocs
|
|
8 Creating Specific UIs