![]() |
![]() |
![]() |
![]() |
GDpick_ctrl
Synopsis
access the Graphics Display Kit pick control information.GDpick_ctrl_get_xxxx
void GDpick_ctrl_get_mode ( pick_ctrl_id , int * mode );
void GDpick_ctrl_get_xy ( pick_ctrl_id , int * x , int * y );
void GDpick_ctrl_get_event ( pick_ctrl_id , int * event );
void GDpick_ctrl_get_on_start ( pick_ctrl_id , int * on_start );
OMobj_id pick_ctrl_id ;void GDpick_ctrl_set_mode ( OMobj_id pick_ctrl_id , int mode );
void GDpick_ctrl_reset (GDpick_ctrl * pick_ctrl );
void GDpick_ctrl_delete (NULL, OMobj_id pick_ctrl_id , 0,GDpick_ctrl * pick_ctrl );
Description
These routines access the Graphics Display Kit pick control information.
The GDpick_ctrl_get_xxxx routines get the subobject values of the pick control information. The GDpick_ctrl_set_xxxx routines set the subobject values of the pick control information.
GDpick_ctrl_delete deletes the pick control information. This method is called directly by the Object Manager when the pick control information is deleted.
GDpick_ctrl_reset resets the pick control's subobjects to their default values. The default values are those in specified in DefaultPickCtrl.
To create an instance of pick control information, call the utility routine GDcreate_instance.
Parameters
Example
/* Get a pick_ctrl object's x and y subobjects. */
![]() |
![]() |
![]() |
![]() |