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

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

#ifndef uecZoomBarComponentHPP
#define 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 <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <Vcl.Forms.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <uecNativeMapControl.hpp>
#include <UECMapUtil.hpp>

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

namespace Ueczoombarcomponent
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TZoomBarComponent;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TZoomBarComponent : public Uecnativemapcontrol::TECCustomTool
{
	typedef Uecnativemapcontrol::TECCustomTool inherited;
	
private:
	Vcl::Extctrls::TTimer* tmZoom;
	Vcl::Extctrls::TPanel* FPanelBar;
	Vcl::Stdctrls::TButton* FNextZoom;
	Vcl::Stdctrls::TButton* FPrevZoom;
	int FProgressivInc;
	int FButtonSize;
	bool FInProgressiveZoom;
	bool FProgressiveZoom;
	int FXYRadius;
	void __fastcall setXYRadius(const int Value);
	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, int X, int Y);
	void __fastcall doNextMouseUp(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
	void __fastcall setProgressivInc(const int value);
	void __fastcall tmZoomTimer(System::TObject* Sender);
	void __fastcall ChangeZoom();
	
protected:
	virtual void __fastcall setLayout(const Uecnativemapcontrol::TECCustomToolLayout value);
	
public:
	__fastcall virtual TZoomBarComponent(Uecnativemapcontrol::TNativeMapControl* Map)/* overload */;
	__fastcall virtual ~TZoomBarComponent();
	__property int ButtonSize = {read=FButtonSize, write=setButtonSize, nodefault};
	__property bool ProgressiveZoom = {read=FProgressiveZoom, write=setProgressiveZoom, nodefault};
	__property int ProgressivInc = {read=FProgressivInc, write=setProgressivInc, nodefault};
	__property int XYRadius = {read=FXYRadius, write=setXYRadius, nodefault};
public:
	/* TECCustomTool.Create */ inline __fastcall virtual TZoomBarComponent(Uecnativemapcontrol::TNativeMapControl* Map, const System::UnicodeString AName)/* overload */ : Uecnativemapcontrol::TECCustomTool(Map, AName) { }
	
};

#pragma pack(pop)

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

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