Rules for Tools/struct Tool
struct Tool
The Tool structure. Nest this within your own Tool structure.
struct Tool {
struct Tool *next; /* Next tool used by this track. */
struct Tool *branch; /* Tool on other track. */
struct Tool *parent; /* Parent tool (for macros.) */
struct ToolMaster *toolmaster;/* Pointer to actual tool. */
struct Clip *clip; /* Clip to be worked on. */
struct String *name; /* Name of this tool. */
struct Window *window; /* Edit window. */
struct Track *track; /* Track that owns this tool. */
long toolid; /* Tool ID. */
unsigned short left,top; /* Position of edit window. */
unsigned short width,height;/* Size of edit window. */
unsigned short x,y; /* Position in pipe display. */
unsigned short xindex; /* How far down list this is. */
unsigned short yindex; /* How far down track list this is. */
short branchindex; /* How far away branch tool is. */
unsigned short id; /* ID for file io. */
char intool; /* True if inlist, false if outlist. */
char inedit; /* Flag to indicate editing now. */
char touched; /* This tool has been edited. */
char selected; /* Icon selected in graph. */
long tooltype; /* Sequence? Input? Branch? */
/* More tool unique stuff here... */
};