📄 imotor.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iMotor.pas' rev: 6.00
#ifndef iMotorHPP
#define iMotorHPP
#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 <iMath.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 Imotor
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiMotorBaseStyle { imbsTrapezoid, imbsFeet };
#pragma option pop
class DELPHICLASS TiMotor;
class PASCALIMPLEMENTATION TiMotor : public Icustomcomponent::TiCustomComponent
{
typedef Icustomcomponent::TiCustomComponent inherited;
private:
bool FPipeShowLeft;
bool FPipeShowRight;
bool FPipeShowTop;
bool FPipeShowBottom;
bool FBaseShow;
int FFanSequence;
Graphics::TColor FBladeColor1;
Graphics::TColor FBladeColor2;
Graphics::TColor FBladeColor3;
TiMotorBaseStyle FBaseStyle;
bool FFanOn;
int FFanInterval;
Graphics::TColor FPipeColor;
void __fastcall SetPipeColor(const Graphics::TColor Value);
protected:
void __fastcall SetPipeShowLeft(const bool Value);
void __fastcall SetPipeShowRight(const bool Value);
void __fastcall SetPipeShowTop(const bool Value);
void __fastcall SetPipeShowBottom(const bool Value);
void __fastcall SetBaseShow(const bool Value);
void __fastcall SetFanSequence(const int Value);
void __fastcall SetBladeColor1(const Graphics::TColor Value);
void __fastcall SetBladeColor2(const Graphics::TColor Value);
void __fastcall SetBladeColor3(const Graphics::TColor Value);
void __fastcall SetBaseStyle(const TiMotorBaseStyle Value);
void __fastcall SetFanOn(const bool Value);
void __fastcall SetFanInterval(const int Value);
Graphics::TColor __fastcall GetSequenceColor(void);
void __fastcall TimerEvent(System::TObject* Sender);
virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
void __fastcall DrawBase(Graphics::TCanvas* Canvas);
void __fastcall DrawMotor(Graphics::TCanvas* Canvas);
public:
__fastcall virtual TiMotor(Classes::TComponent* AOwner);
void __fastcall IncrementFanSequence(void);
__published:
__property Width = {default=50};
__property Height = {default=50};
__property bool PipeShowLeft = {read=FPipeShowLeft, write=SetPipeShowLeft, nodefault};
__property bool PipeShowTop = {read=FPipeShowTop, write=SetPipeShowTop, nodefault};
__property bool PipeShowRight = {read=FPipeShowRight, write=SetPipeShowRight, nodefault};
__property bool PipeShowBottom = {read=FPipeShowBottom, write=SetPipeShowBottom, nodefault};
__property Graphics::TColor PipeColor = {read=FPipeColor, write=SetPipeColor, nodefault};
__property bool BaseShow = {read=FBaseShow, write=SetBaseShow, nodefault};
__property TiMotorBaseStyle BaseStyle = {read=FBaseStyle, write=SetBaseStyle, nodefault};
__property Graphics::TColor BladeColor1 = {read=FBladeColor1, write=SetBladeColor1, nodefault};
__property Graphics::TColor BladeColor2 = {read=FBladeColor2, write=SetBladeColor2, nodefault};
__property Graphics::TColor BladeColor3 = {read=FBladeColor3, write=SetBladeColor3, nodefault};
__property int FanSequence = {read=FFanSequence, write=SetFanSequence, nodefault};
__property bool FanOn = {read=FFanOn, write=SetFanOn, default=0};
__property int FanInterval = {read=FFanInterval, write=SetFanInterval, default=100};
__property BackGroundColor = {default=-2147483633};
public:
#pragma option push -w-inl
/* TiVCLComponent.Destroy */ inline __fastcall virtual ~TiMotor(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiMotor(HWND ParentWindow) : Icustomcomponent::TiCustomComponent(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Imotor */
using namespace Imotor;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iMotor
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -