/*==============================================================*/
/* EGUI library 						*/
/*								*/
/* Color dialog private header file				*/
/*								*/
/* AUTHOR:	Gabor Nagy					*/
/* DATE:	1996-Nov-15 22:33:38				*/
/*								*/
/* Copyright (C) 1995 By Gabor Nagy. All rights reserved.	*/
/*==============================================================*/

#ifndef _EGUIColorDialogP_h
#define _EGUIColorDialogP_h

#include <EGUI/ColorDialog.h>
#include <EGUI/DialogP.h>

#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
extern "C" {
#endif


typedef struct
{
// FIXME
// Temporary solution (ColorDialog should be a real sub-class of Dialog)
//
 EguiItem		Dialog;
 Widget			TemplateW, RNumObjW, GNumObjW, BNumObjW, ANumObjW;

 EguiCallbackList	OkCallback;
 EguiCallbackList	ColorChangedCallback;

 EcColorPanelRec*	ColorPanel;		// A color dialog is just a ColorPanel in a dialog box...
} EguiColorDialogPart;

typedef struct
{
 EguiCorePart		Core;
 EguiShellPart		Shell;
 EguiDialogPart		Dialog;
 EguiColorDialogPart	ColorDialog;
} EguiColorDialogRec;



#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
}	// Close scope of 'extern "C"' declaration which encloses file.
#endif

#endif	// _EGUIColorDialogP_h
