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

📄 iledrectangle.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) 'iLedRectangle.pas' rev: 6.00

#ifndef iLedRectangleHPP
#define iLedRectangleHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iComponent.hpp>	// Pascal unit
#include <iVCLComponent.hpp>	// Pascal unit
#include <iLed.hpp>	// Pascal unit
#include <iClasses.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 Iledrectangle
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiLedRectangle;
class PASCALIMPLEMENTATION TiLedRectangle : public Iled::TiLed 
{
	typedef Iled::TiLed inherited;
	
private:
	AnsiString FCenterLabelText;
	Graphics::TColor FCenterLabelFontInactiveColor;
	Graphics::TColor FCenterLabelFontActiveColor;
	Graphics::TFont* FCenterLabelFont;
	bool FShowReflection;
	bool FCenterLabelWordWrap;
	int FCenterLabelEndsMargin;
	Itypes::TiAlignmentHorizontal FCenterLabelAlignment;
	void __fastcall SetCenterLabelFontActiveColor(const Graphics::TColor Value);
	void __fastcall SetCenterLabelFontInactiveColor(const Graphics::TColor Value);
	void __fastcall SetCenterLabelText(const AnsiString Value);
	void __fastcall SetCenterLabelFont(const Graphics::TFont* Value);
	void __fastcall SetShowReflection(const bool Value);
	void __fastcall SetCenterLabelWordWrap(const bool Value);
	void __fastcall SetCenterLabelEndsMargin(const int Value);
	void __fastcall SetCenterLabelAlignment(const Itypes::TiAlignmentHorizontal Value);
	
protected:
	virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
	
public:
	__fastcall virtual TiLedRectangle(Classes::TComponent* AOwner);
	__fastcall virtual ~TiLedRectangle(void);
	
__published:
	__property AnsiString CenterLabelText = {read=FCenterLabelText, write=SetCenterLabelText};
	__property Graphics::TFont* CenterLabelFont = {read=FCenterLabelFont, write=SetCenterLabelFont};
	__property Graphics::TColor CenterLabelFontActiveColor = {read=FCenterLabelFontActiveColor, write=SetCenterLabelFontActiveColor, default=0};
	__property Graphics::TColor CenterLabelFontInactiveColor = {read=FCenterLabelFontInactiveColor, write=SetCenterLabelFontInactiveColor, default=16777215};
	__property bool CenterLabelWordWrap = {read=FCenterLabelWordWrap, write=SetCenterLabelWordWrap, default=0};
	__property int CenterLabelEndsMargin = {read=FCenterLabelEndsMargin, write=SetCenterLabelEndsMargin, default=5};
	__property Itypes::TiAlignmentHorizontal CenterLabelAlignment = {read=FCenterLabelAlignment, write=SetCenterLabelAlignment, default=0};
	__property bool ShowReflection = {read=FShowReflection, write=SetShowReflection, default=1};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TiLedRectangle(HWND ParentWindow) : Iled::TiLed(ParentWindow) { }
	#pragma option pop
	
};


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

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

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

⌨️ 快捷键说明

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