📄 iled.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iLed.pas' rev: 6.00
#ifndef iLedHPP
#define iLedHPP
#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 Iled
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiLed;
class PASCALIMPLEMENTATION TiLed : public Icustomcomponent::TiCustomComponent
{
typedef Icustomcomponent::TiCustomComponent inherited;
private:
bool FActive;
Itypes::TiBevelStyle FBevelStyle;
Graphics::TColor FActiveColor;
Classes::TNotifyEvent FOnChange;
bool FAutoInactiveColor;
Graphics::TColor FInactiveColor;
void __fastcall SetBevelStyle(const Itypes::TiBevelStyle Value);
void __fastcall SetActiveColor(const Graphics::TColor Value);
void __fastcall SetActive(const bool Value);
void __fastcall SetAutoInactiveColor(const bool Value);
void __fastcall SetInactiveColor(const Graphics::TColor Value);
protected:
void __fastcall DoChange(void);
public:
__fastcall virtual TiLed(Classes::TComponent* AOwner);
void __fastcall SetActiveNoEvent(const bool Value);
__published:
__property bool Active = {read=FActive, write=SetActive, default=0};
__property Graphics::TColor ActiveColor = {read=FActiveColor, write=SetActiveColor, default=65280};
__property bool AutoInactiveColor = {read=FAutoInactiveColor, write=SetAutoInactiveColor, default=1};
__property Graphics::TColor InactiveColor = {read=FInactiveColor, write=SetInactiveColor, default=21760};
__property Itypes::TiBevelStyle BevelStyle = {read=FBevelStyle, write=SetBevelStyle, default=2};
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property Width = {default=20};
__property Height = {default=20};
public:
#pragma option push -w-inl
/* TiVCLComponent.Destroy */ inline __fastcall virtual ~TiLed(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiLed(HWND ParentWindow) : Icustomcomponent::TiCustomComponent(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Iled */
using namespace Iled;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iLed
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -