| [2] | 1 | typedef struct TOOL { | 
|---|
|  | 2 | CHAR        *help; | 
|---|
|  | 3 | CHAR        *text; | 
|---|
|  | 4 | INT          flags; | 
|---|
|  | 5 | struct TOOL *next; | 
|---|
|  | 6 | USHORT       id; | 
|---|
|  | 7 | } TOOL; | 
|---|
|  | 8 |  | 
|---|
|  | 9 | #define T_DROPABLE    0x00000001 | 
|---|
|  | 10 | #define T_EMPHASIZED  0x00000002 | 
|---|
|  | 11 | #define T_INVISIBLE   0x00000004 | 
|---|
|  | 12 | #define T_SEPARATOR   0x00000008 | 
|---|
|  | 13 | #define T_TEXT        0x00000010 | 
|---|
|  | 14 | #define T_MYICON      0x00000020 | 
|---|
|  | 15 |  | 
|---|
|  | 16 | VOID   load_quicktools (VOID); | 
|---|
|  | 17 | VOID   save_quicktools (VOID); | 
|---|
|  | 18 | TOOL  *load_tools (CHAR  *filename); | 
|---|
|  | 19 | VOID   save_tools (CHAR  *filename); | 
|---|
|  | 20 | TOOL  *add_tool   (TOOL  *tool); | 
|---|
|  | 21 | TOOL  *insert_tool(TOOL  *tool,TOOL *after); | 
|---|
|  | 22 | TOOL  *del_tool   (TOOL  *tool); | 
|---|
|  | 23 | TOOL  *find_tool  (USHORT id); | 
|---|
|  | 24 | TOOL  *free_tools (VOID); | 
|---|
|  | 25 | TOOL  *swap_tools (TOOL *tool1,TOOL *tool2); | 
|---|
|  | 26 | TOOL  *next_tool  (TOOL *tool,BOOL skipinvisible); | 
|---|
|  | 27 | TOOL  *prev_tool  (TOOL *tool,BOOL skipinvisible); | 
|---|
|  | 28 | MRESULT EXPENTRY ReOrderToolsProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2); | 
|---|
|  | 29 | MRESULT EXPENTRY AddToolProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2); | 
|---|
|  | 30 | MRESULT EXPENTRY PickToolProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2); | 
|---|
|  | 31 | MRESULT EXPENTRY ToolIODlgProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2); | 
|---|
|  | 32 |  | 
|---|