source: trunk/dll/tools.h@ 551

Last change on this file since 551 was 551, checked in by Gregg Young, 18 years ago

Indentation cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1
2/***********************************************************************
3
4 $Id: tools.h 551 2007-02-28 01:33:51Z gyoung $
5
6 tools interface
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2005 Steven H. Levine
10
11 26 May 05 SHL Localize toolhead
12
13***********************************************************************/
14
15typedef struct TOOL
16{
17 CHAR *help;
18 CHAR *text;
19 INT flags;
20 struct TOOL *next;
21 USHORT id;
22}
23TOOL;
24
25#define T_DROPABLE 0x00000001
26#define T_EMPHASIZED 0x00000002
27#define T_INVISIBLE 0x00000004
28#define T_SEPARATOR 0x00000008
29#define T_TEXT 0x00000010
30#define T_MYICON 0x00000020
31
32extern TOOL *toolhead;
33
34VOID load_quicktools(VOID);
35VOID save_quicktools(VOID);
36TOOL *load_tools(CHAR * filename);
37VOID save_tools(CHAR * filename);
38TOOL *add_tool(TOOL * tool);
39TOOL *insert_tool(TOOL * tool, TOOL * after);
40TOOL *del_tool(TOOL * tool);
41TOOL *find_tool(USHORT id);
42TOOL *free_tools(VOID);
43TOOL *swap_tools(TOOL * tool1, TOOL * tool2);
44TOOL *next_tool(TOOL * tool, BOOL skipinvisible);
45TOOL *prev_tool(TOOL * tool, BOOL skipinvisible);
46MRESULT EXPENTRY ReOrderToolsProc(HWND hwnd, ULONG msg, MPARAM mp1,
47 MPARAM mp2);
48MRESULT EXPENTRY AddToolProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
49MRESULT EXPENTRY PickToolProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
50MRESULT EXPENTRY ToolIODlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
Note: See TracBrowser for help on using the repository browser.