// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RVGifAnimate2007.pas' rev: 22.00

#ifndef Rvgifanimate2007HPP
#define Rvgifanimate2007HPP

#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 <Windows.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <DLines.hpp>	// Pascal unit
#include <CRVFData.hpp>	// Pascal unit
#include <RVAnimate.hpp>	// Pascal unit
#include <RVItem.hpp>	// Pascal unit
#include <GIFImg.hpp>	// Pascal unit
#include <RVGrIn.hpp>	// Pascal unit
#include <RVStyle.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

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

namespace Rvgifanimate2007
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVGifImageAnimator;
class PASCALIMPLEMENTATION TRVGifImageAnimator : public Rvanimate::TRVAnimator
{
	typedef Rvanimate::TRVAnimator inherited;
	
private:
	Graphics::TBitmap* bmp;
	Graphics::TBitmap* bmpsrc;
	Graphics::TColor FBackColor;
	int FX;
	int FY;
	int FParaNo;
	int FLastDrawnFrameIndex;
	void __fastcall CalcInterval(void);
	
protected:
	virtual int __fastcall GetFrameCount(void);
	virtual void __fastcall ResetBackground(void);
	
public:
	__fastcall virtual ~TRVGifImageAnimator(void);
	virtual void __fastcall Reset(void);
	virtual void __fastcall ChangeFrame(void);
	virtual void __fastcall Draw(int X, int Y, Graphics::TCanvas* Canvas, bool Animation);
	virtual tagSIZE __fastcall GetExportImageSize(void);
	virtual void __fastcall DrawForExport(Graphics::TCanvas* Canvas);
public:
	/* TRVAnimator.Create */ inline __fastcall TRVGifImageAnimator(Crvfdata::TCustomRVFormattedData* ARVData, Rvitem::TCustomRVItemInfo* AItem) : Rvanimate::TRVAnimator(ARVData, AItem) { }
	
};


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

}	/* namespace Rvgifanimate2007 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvgifanimate2007;
#endif
#pragma pack(pop)
#pragma option pop

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