⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipipe.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'iPipe.pas' rev: 6.00

#ifndef iPipeHPP
#define iPipeHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iComponent.hpp>	// Pascal unit
#include <iVCLComponent.hpp>	// Pascal unit
#include <iCustomComponent.hpp>	// Pascal unit
#include <iGPFunctions.hpp>	// Pascal unit
#include <iTypes.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <Clipbrd.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <TypInfo.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ipipe
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiPipeFlowIndicatorStyle { ipfisCircle, ipfisBox, ipfisTriangle };
#pragma option pop

class DELPHICLASS TiPipe;
class PASCALIMPLEMENTATION TiPipe : public Icustomcomponent::TiCustomComponent 
{
	typedef Icustomcomponent::TiCustomComponent inherited;
	
private:
	bool FFlowOn;
	int FFlowInterval;
	bool FFlowIndicatorHideWhenOff;
	bool FFlowReverse;
	int FFlowIndicatorSize;
	int FFlowIndicatorSpacing;
	Graphics::TColor FFlowIndicatorColor;
	bool FFlowIndicatorUseTubeColor;
	Graphics::TColor FTubeColor;
	int FFlowStep;
	bool FHorizontal;
	Graphics::TColor FTubeHighlightColor;
	int FFLowIndicatorHalfSize;
	TiPipeFlowIndicatorStyle FFlowIndicatorStyle;
	
protected:
	void __fastcall SetFlowOn(const bool Value);
	void __fastcall SetFlowInterval(const int Value);
	void __fastcall SetFlowIndicatorHideWhenOff(const bool Value);
	void __fastcall SetFlowReverse(const bool Value);
	void __fastcall SetFlowIndicatorColor(const Graphics::TColor Value);
	void __fastcall SetFlowIndicatorSize(const int Value);
	void __fastcall SetFlowIndicatorSpacing(const int Value);
	void __fastcall SetFlowIndicatorUseTubeColor(const bool Value);
	void __fastcall SetTubeColor(const Graphics::TColor Value);
	void __fastcall SetFlowIndicatorStyle(const TiPipeFlowIndicatorStyle Value);
	virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
	void __fastcall CalcRects(Graphics::TCanvas* Canvas);
	void __fastcall DrawTube(Graphics::TCanvas* Canvas);
	void __fastcall DrawFlow(Graphics::TCanvas* Canvas);
	void __fastcall TimerEvent(System::TObject* Sender);
	
public:
	__fastcall virtual TiPipe(Classes::TComponent* AOwner);
	__fastcall virtual ~TiPipe(void);
	
__published:
	__property int FlowInterval = {read=FFlowInterval, write=SetFlowInterval, default=1000};
	__property bool FlowOn = {read=FFlowOn, write=SetFlowOn, default=0};
	__property bool FlowReverse = {read=FFlowReverse, write=SetFlowReverse, nodefault};
	__property TiPipeFlowIndicatorStyle FlowIndicatorStyle = {read=FFlowIndicatorStyle, write=SetFlowIndicatorStyle, nodefault};
	__property int FlowIndicatorSize = {read=FFlowIndicatorSize, write=SetFlowIndicatorSize, nodefault};
	__property int FlowIndicatorSpacing = {read=FFlowIndicatorSpacing, write=SetFlowIndicatorSpacing, nodefault};
	__property Graphics::TColor FlowIndicatorColor = {read=FFlowIndicatorColor, write=SetFlowIndicatorColor, nodefault};
	__property bool FlowIndicatorUseTubeColor = {read=FFlowIndicatorUseTubeColor, write=SetFlowIndicatorUseTubeColor, nodefault};
	__property bool FlowIndicatorHideWhenOff = {read=FFlowIndicatorHideWhenOff, write=SetFlowIndicatorHideWhenOff, nodefault};
	__property Graphics::TColor TubeColor = {read=FTubeColor, write=SetTubeColor, nodefault};
	__property Width  = {default=300};
	__property Height  = {default=17};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TiPipe(HWND ParentWindow) : Icustomcomponent::TiCustomComponent(ParentWindow) { }
	#pragma option pop
	
};


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

}	/* namespace Ipipe */
using namespace Ipipe;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -