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

// (DO NOT EDIT: machine generated header) 'FMX.uecZoomBarComponent.pas' rev: 36.00 (Windows)

#ifndef Fmx_UeczoombarcomponentHPP
#define Fmx_UeczoombarcomponentHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.SysUtils.hpp>
#include <System.Types.hpp>
#include <System.UITypes.hpp>
#include <System.Classes.hpp>
#include <System.Variants.hpp>
#include <FMX.Types.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Graphics.hpp>
#include <FMX.Objects.hpp>
#include <FMX.Layouts.hpp>
#include <FMX.Controls.Presentation.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.uecNativeMapControl.hpp>
#include <FMX.uecMapUtil.hpp>

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

namespace Fmx
{
namespace Ueczoombarcomponent
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TZoomBarComponent;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TZoomBarComponent : public Fmx::Uecnativemapcontrol::TECCustomTool
{
	typedef Fmx::Uecnativemapcontrol::TECCustomTool inherited;
	
private:
	Fmx::Types::TTimer* tmZoom;
	Fmx::Objects::TRectangle* FPanelBar;
	Fmx::Stdctrls::TButton* FNextZoom;
	Fmx::Stdctrls::TButton* FPrevZoom;
	int FButtonSize;
	bool FInProgressiveZoom;
	bool FProgressiveZoom;
	void __fastcall setProgressiveZoom(const bool value);
	void __fastcall setButtonSize(const int value);
	void __fastcall doNextZoom(System::TObject* Sender);
	void __fastcall doPrevZoom(System::TObject* Sender);
	void __fastcall doNextMouseDown(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);
	void __fastcall doNextMouseUp(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);
	void __fastcall tmZoomTimer(System::TObject* Sender);
	void __fastcall ChangeZoom();
	
protected:
	virtual void __fastcall setLayout(const Fmx::Uecnativemapcontrol::TECCustomToolLayout value);
	
public:
	__fastcall virtual TZoomBarComponent(Fmx::Uecnativemapcontrol::TNativeMapControl* Map);
	__fastcall virtual ~TZoomBarComponent();
	__property int ButtonSize = {read=FButtonSize, write=setButtonSize, nodefault};
	__property bool ProgressiveZoom = {read=FProgressiveZoom, write=setProgressiveZoom, nodefault};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Ueczoombarcomponent */
}	/* namespace Fmx */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX_UECZOOMBARCOMPONENT)
using namespace Fmx::Ueczoombarcomponent;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX)
using namespace Fmx;
#endif
#pragma pack(pop)
#pragma option pop

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