/*
 * colourBox.h
 *
 * [Generated from colourBox, 25 September 1996]
 */

#if !defined(__CC_NORCROFT) || !defined(__arm)
  #error You must use the Norcroft ARM Compiler for Sapphire programs
#endif

#pragma include_only_once
#pragma force_top_level

#ifndef __colourBox_h
#define __colourBox_h

#ifndef __sapphire_h
  #include "sapphire.h"
#endif

/*----- Overview ----------------------------------------------------------*
 *
 * Functions provided:
 *
 *  colourBox
 */

/* --- colourBox --- *
 *
 * On entry:	R0 == pointer to a title string (message tag)
 *		R1 == the current colour in bottom byte, and flags:
 *			bit 8 == allow transparent colour
 *		R2 == event handler to call
 *		R3 == R10 value to pass to handler
 *		R4 == R12 value to pass to handle
 *
 * On exit:	May return an error
 *
 * Use:		Opens a dialogue box which allows the user to choose
 *		one of the wimp colours.  A transparent colour is supported,
 *		and represented as colour 255.
 */

extern routine colourBox;

/*----- Events ------------------------------------------------------------*/

#define cbEvent_select 0

/*----- That's all, folks -------------------------------------------------*/

#endif
