| 1 | /* |
| 2 | * colourBox.h |
| 3 | * |
| 4 | * [Generated from colourBox, 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 __colourBox_h |
| 15 | #define __colourBox_h |
| 16 | |
| 17 | #ifndef __sapphire_h |
| 18 | #include "sapphire.h" |
| 19 | #endif |
| 20 | |
| 21 | /*----- Overview ----------------------------------------------------------* |
| 22 | * |
| 23 | * Functions provided: |
| 24 | * |
| 25 | * colourBox |
| 26 | */ |
| 27 | |
| 28 | /* --- colourBox --- * |
| 29 | * |
| 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 |
| 36 | * |
| 37 | * On exit: May return an error |
| 38 | * |
| 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. |
| 42 | */ |
| 43 | |
| 44 | extern routine colourBox; |
| 45 | |
| 46 | /*----- Events ------------------------------------------------------------*/ |
| 47 | |
| 48 | #define cbEvent_select 0 |
| 49 | |
| 50 | /*----- That's all, folks -------------------------------------------------*/ |
| 51 | |
| 52 | #endif |