// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RVBack.pas' rev: 5.00

#ifndef RVBackHPP
#define RVBackHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <RVGrIn.hpp>	// Pascal unit
#include <RVFuncs.hpp>	// Pascal unit
#include <RVScroll.hpp>	// Pascal unit
#include <RVStyle.hpp>	// Pascal unit
#include <jpeg.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.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 Windows::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 Windows::TRect &ARect, const Windows::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 */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvback;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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