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

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

#ifndef RvbackHPP
#define RvbackHPP

#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 <Sysutils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Jpeg.hpp>	// Pascal unit
#include <Rvstyle.hpp>	// Pascal unit
#include <Rvscroll.hpp>	// Pascal unit
#include <Rvfuncs.hpp>	// Pascal unit
#include <Rvgrin.hpp>	// Pascal unit

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

namespace Rvback
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVBackground;
class PASCALIMPLEMENTATION TRVBackground : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	Graphics::TGraphic* ImageCopy;
	Graphics::TBitmap* __fastcall GetBitmap(void);
	Rvstyle::TRVItemBackgroundStyle __fastcall GetItemBackStyle(void);
	void __fastcall SetItemBackStyle(const Rvstyle::TRVItemBackgroundStyle Value);
	
public:
	Rvscroll::TBackgroundStyle Style;
	Graphics::TGraphic* Image;
	__fastcall TRVBackground(bool CreateBitmap);
	__fastcall virtual ~TRVBackground(void);
	bool __fastcall ScrollRequiresFullRedraw(void);
	void __fastcall UpdatePaletted(Rvscroll::TRVPaletteAction PaletteAction, HPALETTE Palette, Windows::PLogPalette LogPalette);
	void __fastcall Draw(Graphics::TCanvas* Canvas, const Types::TRect &Rect, int HOffs, int VOffs, int Left, int Top, int Width, int Height, Graphics::TColor Color, bool Clipping, bool PrintSimulation, Rvgrin::TRVGraphicInterface* GraphicInterface);
	void __fastcall Print(Graphics::TCanvas* Canvas, const Types::TRect &ARect, const Types::TRect &AFullRect, const Rvstyle::TRVScreenAndDevice &sad, Graphics::TColor Color, bool Preview, Windows::PLogPalette LogPalette, Classes::TPersistent* PrintingRVData, int ItemBackgroundLayer, Rvgrin::TRVGraphicInterface* GraphicInterface);
	bool __fastcall Empty(void);
	bool __fastcall Visible(void);
	bool __fastcall IsSemitransparent(void);
	void __fastcall FreeImage(void);
	void __fastcall AssignImage(Graphics::TGraphic* AImage, Classes::TPersistent* ARVData, bool Copy);
	__property Graphics::TBitmap* Bitmap = {read=GetBitmap};
	__property Rvstyle::TRVItemBackgroundStyle ItemBackStyle = {read=GetItemBackStyle, write=SetItemBackStyle, nodefault};
};


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

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

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