// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rvgifanimate2007.pas' rev: 20.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

//-- 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();
	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 */
using namespace Rvgifanimate2007;
#pragma pack(pop)
#pragma option pop

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