4 * [Generated from colourBox, 25 September 1996]
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8 #error You must use the Norcroft ARM Compiler for Sapphire programs
11 #pragma include_only_once
12 #pragma force_top_level
21 /*----- Overview ----------------------------------------------------------*
28 /* --- colourBox --- *
30 * On entry: R0 == pointer to a title string (message tag)
31 * R1 == the current colour in bottom byte, and flags:
32 * bit 8 == allow transparent colour
33 * R2 == event handler to call
34 * R3 == R10 value to pass to handler
35 * R4 == R12 value to pass to handle
37 * On exit: May return an error
39 * Use: Opens a dialogue box which allows the user to choose
40 * one of the wimp colours. A transparent colour is supported,
41 * and represented as colour 255.
44 extern routine colourBox;
46 /*----- Events ------------------------------------------------------------*/
48 #define cbEvent_select 0
50 /*----- That's all, folks -------------------------------------------------*/