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

// (DO NOT EDIT: machine generated header) 'QImport3InfoPanel.pas' rev: 34.00 (Windows)

#ifndef Qimport3infopanelHPP
#define Qimport3infopanelHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <System.Types.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Graphics.hpp>
#include <System.UITypes.hpp>

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

namespace Qimport3infopanel
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TInfoPanel;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TInfoPanel : public Vcl::Controls::TCustomControl
{
	typedef Vcl::Controls::TCustomControl inherited;
	
private:
	Vcl::Graphics::TBitmap* FBmp;
	bool FAutoSize;
	bool FShadow;
	bool FWordWrap;
	System::Uitypes::TColor FBkColor;
	int FGapText;
	int FGapBitmap;
	int FRadius;
	int FGapVertical;
	int FShadowDepth;
	bool __fastcall GetTransparent();
	void __fastcall SetTransparent(bool Value);
	void __fastcall SetShadow(bool Value);
	void __fastcall SetWordWrap(bool Value);
	void __fastcall SetBkgColor(System::Uitypes::TColor Value);
	void __fastcall SetGapText(int Value);
	void __fastcall SetGapBitmap(int Value);
	void __fastcall SetRadius(const int Value);
	void __fastcall SetGapVertical(int Value);
	void __fastcall SetShadowDepth(const int Value);
	HIDESBASE MESSAGE void __fastcall CMFontChanged(Winapi::Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMTextChanged(Winapi::Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMSize(Winapi::Messages::TMessage &Message);
	
protected:
	System::UnicodeString __fastcall GetPanelText();
	DYNAMIC System::Types::TRect __fastcall GetTextRect();
	DYNAMIC void __fastcall AdjustBounds();
	virtual void __fastcall Paint();
	virtual void __fastcall SetEnabled(bool Value);
	void __fastcall DoDrawText(System::Types::TRect &Rect, int Flags);
	virtual void __fastcall SetAutoSize(bool Value);
	
public:
	__fastcall virtual TInfoPanel(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TInfoPanel();
	
__published:
	__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};
	__property System::Uitypes::TColor BkColor = {read=FBkColor, write=SetBkgColor, default=-16777192};
	__property int GapBitmap = {read=FGapBitmap, write=SetGapBitmap, default=5};
	__property int GapText = {read=FGapText, write=SetGapText, default=2};
	__property int GapVertical = {read=FGapVertical, write=SetGapVertical, default=6};
	__property int Radius = {read=FRadius, write=SetRadius, default=10};
	__property bool Shadow = {read=FShadow, write=SetShadow, default=0};
	__property int ShadowDepth = {read=FShadowDepth, write=SetShadowDepth, default=3};
	__property bool Transparent = {read=GetTransparent, write=SetTransparent, default=0};
	__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};
	__property Align = {default=0};
	__property Anchors = {default=3};
	__property Caption = {default=0};
	__property Enabled = {default=1};
	__property Color = {default=-16777211};
	__property Font;
	__property Visible = {default=1};
public:
	/* TWinControl.CreateParented */ inline __fastcall TInfoPanel(HWND ParentWindow) : Vcl::Controls::TCustomControl(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Qimport3infopanel */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_QIMPORT3INFOPANEL)
using namespace Qimport3infopanel;
#endif
#pragma pack(pop)
#pragma option pop

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