📄 iledarrow.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iLedArrow.pas' rev: 6.00
#ifndef iLedArrowHPP
#define iLedArrowHPP
#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 Iledarrow
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiLedArrowStyle { ilasRight, ilasLeft, ilasUp, ilasDown, ilasLeftRight, ilasUpDown };
#pragma option pop
#pragma pack(push, 1)
struct TiPointRecord
{
Types::TPoint Point;
bool Shadow;
} ;
#pragma pack(pop)
class DELPHICLASS TiLedArrow;
class PASCALIMPLEMENTATION TiLedArrow : public Iled::TiLed
{
typedef Iled::TiLed inherited;
private:
TiLedArrowStyle FStyle;
bool FAutoSize;
bool FDoingAutoSize;
int FArrowBodyLength;
int FArrowHeadSize;
Classes::TNotifyEvent FOnAutoSize;
void __fastcall SetStyle(const TiLedArrowStyle Value);
void __fastcall iSetAutoSize(const bool Value);
void __fastcall SetArrowBodyLength(const int Value);
void __fastcall SetArrowHeadSize(const int Value);
protected:
virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
void __fastcall DoAutoSize(void);
__property Classes::TNotifyEvent OnAutoSize = {read=FOnAutoSize, write=FOnAutoSize};
public:
__fastcall virtual TiLedArrow(Classes::TComponent* AOwner);
virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
__published:
__property bool AutoSize = {read=FAutoSize, write=iSetAutoSize, default=1};
__property TiLedArrowStyle Style = {read=FStyle, write=SetStyle, default=0};
__property int ArrowBodyLength = {read=FArrowBodyLength, write=SetArrowBodyLength, default=20};
__property int ArrowHeadSize = {read=FArrowHeadSize, write=SetArrowHeadSize, default=20};
__property Active = {default=0};
__property ActiveColor = {default=65280};
__property BevelStyle = {default=2};
__property OnChange ;
__property BackGroundColor = {default=-2147483633};
__property Transparent = {default=0};
__property Width = {default=40};
__property Height = {default=20};
public:
#pragma option push -w-inl
/* TiVCLComponent.Destroy */ inline __fastcall virtual ~TiLedArrow(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiLedArrow(HWND ParentWindow) : Iled::TiLed(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Iledarrow */
using namespace Iledarrow;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iLedArrow
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -