![]() |
![]() ![]() |
access the Graphics Display Kit pick control information.GDpick_ctrl_get_xxxx
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 ;
GDpick_ctrl * pick_ctrl );
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.
The id of the pick control information.
The other parameters in the get/set routines correspond to subobjects of the pick control object.
For details, see DefaultPickCtrl .
/* Get a pick_ctrl object's x and y subobjects. */
OMobj_id pick_ctrl_id; /* Assume this has been set. */
int x, y;
...
GDpick_ctrl_get_xy(pick_ctrl_id, &x, &y);
![]() |
![]() ![]() |