| 1 | /* |
| 2 | * colourPot.h |
| 3 | * |
| 4 | * [Generated from colourPot, 08 November 1995] |
| 5 | */ |
| 6 | |
| 7 | #pragma include_only_once |
| 8 | #pragma force_top_level |
| 9 | |
| 10 | #ifndef __colourPot_h |
| 11 | #define __colourPot_h |
| 12 | |
| 13 | /*----- Overview ----------------------------------------------------------* |
| 14 | * |
| 15 | * Controls provided: |
| 16 | * |
| 17 | * colourPot |
| 18 | * |
| 19 | * Macros provided: |
| 20 | * |
| 21 | * COLPOT |
| 22 | */ |
| 23 | |
| 24 | /* --- colourPot --- * |
| 25 | * |
| 26 | * Control data: +0 == null terminated title string, or empty for default |
| 27 | * +n |
| 28 | * |
| 29 | * Workspace: +0 == current colour selected |
| 30 | * +1 |
| 31 | * |
| 32 | * Flags: bit 8 == allow transparent |
| 33 | * |
| 34 | * Use: Provides a `colour button' which allows the user to choose |
| 35 | * a Wimp colour. Transparent is represented by 255. |
| 36 | */ |
| 37 | |
| 38 | extern routine colourPot; |
| 39 | |
| 40 | /*----- Macros and constants ----------------------------------------------*/ |
| 41 | |
| 42 | /* --- Flags --- */ |
| 43 | |
| 44 | #define cpFlag_trans ((1<<8)) |
| 45 | |
| 46 | /* --- Event codes --- */ |
| 47 | |
| 48 | #define colourPot_event (0x80000006) |
| 49 | |
| 50 | /*----- That's all, folks -------------------------------------------------*/ |
| 51 | |
| 52 | #endif |