chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / mbox
1 /*
2  * mbox.h
3  *
4  * [Generated from mbox, 25 September 1996]
5  */
6
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8   #error You must use the Norcroft ARM Compiler for Sapphire programs
9 #endif
10
11 #pragma include_only_once
12 #pragma force_top_level
13
14 #ifndef __mbox_h
15 #define __mbox_h
16
17 #ifndef __sapphire_h
18   #include "sapphire.h"
19 #endif
20
21 /*----- Overview ----------------------------------------------------------*
22  *
23  * Functions provided:
24  *
25  *  mbox
26  */
27
28 /* --- mbox --- *
29  *
30  * On entry:    R0 == dialogue box handle
31  *              R1 == pointer to help message tag for dialogue box
32  *              R2 == icon handle for embedded title
33  *
34  * On exit:     --
35  *
36  * Use:         Displays a `monologue' box (i.e. a dialogue box which just
37  *              displays information to the user) on the screen and sets up
38  *              an event handler for it.  The dialogue box is destroyed when
39  *              it is closed.
40  *
41  *              If the dialogue box does not have a title bar (read by
42  *              dbox_hasTitle) then R2 is used to give the monologue box
43  *              an embedded title.  R2 is not used otherwise, and thus may
44  *              safely contain any old rubbish.
45  */
46
47 extern routine mbox;
48
49 /*----- That's all, folks -------------------------------------------------*/
50
51 #endif