chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / dbx / fileIcon
1 /*
2  * fileIcon.h
3  *
4  * [Generated from fileIcon, 08 November 1995]
5  */
6
7 #pragma include_only_once
8 #pragma force_top_level
9
10 #ifndef __fileIcon_h
11 #define __fileIcon_h
12
13 /*----- Overview ----------------------------------------------------------*
14  *
15  * Functions provided:
16  *
17  *  fileIcon_sprName
18  *  fileIcon_reAppear
19  *  fileIcon_closed
20  *
21  * Controls provided:
22  *
23  *   fileIcon
24  *
25  * Macros provided:
26  *
27  *   FILEICN
28  */
29
30 /* --- fileIcon_sprName --- *
31  *
32  * On entry:    R0 == filetype
33  *              R1 == pointer to filename
34  *
35  * On exit:     R0 == pointer to sprite name to use
36  *
37  * Use:         Works out the sprite name to use for the given filetype and
38  *              name pair.
39  */
40
41 extern routine fileIcon_sprName;
42
43 /* --- fileIcon_reAppear --- *
44  *
45  * On entry:    --
46  *
47  * On exit:     --
48  *
49  * Use:         Makes the currently vanished file icon reappear.
50  */
51
52 extern routine fileIcon_reAppear;
53
54 /* --- fileIcon_closed --- *
55  *
56  * On entry:    R0 == dialogue box handle
57  *
58  * On exit:     --
59  *
60  * Use:         Informs fileIcon that the specified dialogue box has closed.
61  */
62
63 extern routine fileIcon_closed;
64
65 /* --- fileIcon --- *
66  *
67  * Control data:        +0
68  *
69  * Workspace:   +0 == filetype of object to display
70  *              +4 == address of filename
71  *              +8
72  *
73  * Flags:       --
74  *
75  * Use:         Control which displays a filetype icon, and allows it to
76  *              be dragged.
77  */
78
79 extern routine fileIcon;
80
81 /*----- Macros and symbols ------------------------------------------------*/
82
83 #define fIcon_event (0x80000003)
84
85 /*----- That's all, folks -------------------------------------------------*/
86
87 #endif