// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Advgradient.pas' rev: 10.00

#ifndef AdvgradientHPP
#define AdvgradientHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Advgradient
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TGradientStyle;
class PASCALIMPLEMENTATION TGradientStyle : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	Graphics::TColor FColorTo;
	Graphics::TColor FColorFrom;
	Graphics::TColor FBorderColor;
	Classes::TNotifyEvent FOnChange;
	bool FDirection;
	Graphics::TColor FColorMirrorFrom;
	Graphics::TColor FColorMirrorTo;
	void __fastcall SetBorderColor(const Graphics::TColor Value);
	void __fastcall SetColorFrom(const Graphics::TColor Value);
	void __fastcall SetColorTo(const Graphics::TColor Value);
	void __fastcall SetColorMirrorFrom(const Graphics::TColor Value);
	void __fastcall SetColorMirrorTo(const Graphics::TColor Value);
	
protected:
	void __fastcall Changed(void);
	
public:
	__fastcall TGradientStyle(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	
__published:
	__property Graphics::TColor BorderColor = {read=FBorderColor, write=SetBorderColor, default=-16777203};
	__property Graphics::TColor ColorFrom = {read=FColorFrom, write=SetColorFrom, default=-16777203};
	__property Graphics::TColor ColorTo = {read=FColorTo, write=SetColorTo, default=536870911};
	__property Graphics::TColor ColorMirrorFrom = {read=FColorMirrorFrom, write=SetColorMirrorFrom, default=536870911};
	__property Graphics::TColor ColorMirrorTo = {read=FColorMirrorTo, write=SetColorMirrorTo, default=536870911};
	__property bool Direction = {read=FDirection, write=FDirection, default=0};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~TGradientStyle(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Advgradient */
using namespace Advgradient;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Advgradient
