TOC PREV NEXT INDEX

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 ;

GDpick_ctrl_set_xxxx

void   GDpick_ctrl_set_mode ( OMobj_id   pick_ctrl_id ,  int   mode  );

GDpick_ctrl_delete

void   GDpick_ctrl_reset (GDpick_ctrl  * pick_ctrl );

GDpick_ctrl_reset

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

pick_ctrl_id

The id of the pick control information.

Other get/set parameters

The other parameters in the get/set routines correspond to subobjects of the pick control object.
For details, see DefaultPickCtrl .

Example

/* 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);


TOC PREV NEXT INDEX