#include <globals.h>
Data Fields | |
| short | type |
| BIND_VAR, BIND_BIT or BIND_FUNC. | |
| union { | |
| struct { | |
| int * var | |
| pointer to the variable to modify | |
| int value | |
| value of var when object is selected | |
| } var | |
| description for a BIND_VAR type | |
| struct { | |
| int * var | |
| pointer to the variable to modify | |
| unsigned short bit | |
| bit of var to set/unset | |
| } bit | |
| description for a BIND_BIT type | |
| struct { | |
| union { | |
| func_bind form | |
| callback function attached to a formular object | |
| func_bind tb | |
| callback function attached to a tool bar object | |
| func_bindmenu menu | |
| callback function attached to a menu object | |
| } f | |
| pointer to a callback function | |
| void * data | |
| data sent to the callback function | |
| } func | |
| description for a BIND_FUNC type | |
| } | desc |
| description of the bind, depend on BIND::type | |
|
|
description for a BIND_BIT type
|
|
|
bit of var to set/unset
|
|
|
data sent to the callback function
|
|
|
description of the bind, depend on BIND::type
|
|
|
pointer to a callback function
|
|
|
callback function attached to a formular object
|
|
|
description for a BIND_FUNC type
|
|
|
callback function attached to a menu object
|
|
|
callback function attached to a tool bar object
|
|
|
BIND_VAR, BIND_BIT or BIND_FUNC.
|
|
|
value of var when object is selected
|
|
|
pointer to the variable to modify
|
|
|
description for a BIND_VAR type
|
|
|
pointer to the variable to modify
|
1.4.6