/*===============================
|	CheckboxHandler.c
|
|	Blugs 1.1 handler for a color palette pop-up menu
|	www.blugs.com
|
|	Copyright © 1998-2001 Brian Hall
|	Portions (Color MDEF code) slightly modified from material 
|		© 1995 Jordan Zimmerman
|	You may use these routines in your software without restriction.
|
|===============================*/
#ifndef REZ
#include "Blugs.h"


pascal UInt32 ColorPopupHandler(	BLMessage			message,
									BLHandlerParamPtr	param		);


typedef struct
{
	MenuHandle		menu;
	SInt16			selectedItem;
	RGBColor		color;
} ColorPopupRec, **ColorPopupHdl;

#endif /* REZ */

/* Variation Codes for this handler. */
#define		kPickColorOnCmdClick	1 << 0



/* For data import/export */
#define	kColorPopupRGBColorFlavor	'RGB '

/* You need to include this menu resource. */
#define kColorMenuResID				5000