#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 |
struct { ... } _bind::bit |
description for a BIND_BIT type
unsigned short _bind::bit |
bit of var to set/unset
void* _bind::data |
data sent to the callback function
union { ... } _bind::desc |
description of the bind, depend on BIND::type
union { ... } _bind::f |
pointer to a callback function
callback function attached to a formular object
struct { ... } _bind::func |
description for a BIND_FUNC type
callback function attached to a menu object
short _bind::type |
BIND_VAR, BIND_BIT or BIND_FUNC.
int _bind::value |
value of var when object is selected
int* _bind::var |
pointer to the variable to modify
struct { ... } _bind::var |
description for a BIND_VAR type
int* _bind::var |
pointer to the variable to modify