📄 indictrls.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'IndiCtrls.pas' rev: 6.00
#ifndef IndiCtrlsHPP
#define IndiCtrlsHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <wavctrl.hpp> // Pascal unit
#include <VCLBase.hpp> // Pascal unit
#include <GrUtils.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Indictrls
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TepIndiButton;
class PASCALIMPLEMENTATION TepIndiButton : public Vclbase::TEffectGControl
{
typedef Vclbase::TEffectGControl inherited;
private:
Graphics::TColor FFrameColor;
Extctrls::TTimer* FTimer;
bool FVisibleCaption;
bool FVisibleFrame;
Byte FRepeatCount;
bool FMouseIn;
Graphics::TColor FUnActiveColor;
Wavctrl::TepWavePlayer* FClickSound;
Wavctrl::TepWavePlayer* FActiveSound;
void __fastcall SetFrameColor(Graphics::TColor Value);
MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
void __fastcall TimerExpired1(System::TObject* Sender);
void __fastcall TimerExpired2(System::TObject* Sender);
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
void __fastcall SetUnActiveColor(Graphics::TColor Value);
protected:
DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
virtual void __fastcall PaintFace(void);
public:
__fastcall virtual TepIndiButton(Classes::TComponent* AOwner);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
__published:
__property Wavctrl::TepWavePlayer* ClickSound = {read=FClickSound, write=FClickSound};
__property Wavctrl::TepWavePlayer* ActiveSound = {read=FActiveSound, write=FActiveSound};
__property Graphics::TColor UnActiveColor = {read=FUnActiveColor, write=SetUnActiveColor, nodefault};
__property Color = {default=-2147483643};
__property Enabled = {default=1};
__property Graphics::TColor FrameColor = {read=FFrameColor, write=SetFrameColor, nodefault};
__property Caption ;
__property Font ;
__property Visible = {default=1};
__property OnClick ;
__property OnDblClick ;
__property PopupMenu ;
__property ParentFont = {default=1};
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
public:
#pragma option push -w-inl
/* TGraphicControl.Destroy */ inline __fastcall virtual ~TepIndiButton(void) { }
#pragma option pop
};
typedef Shortint TSmType;
typedef Shortint TSmType1;
class DELPHICLASS TepNumPanel;
class PASCALIMPLEMENTATION TepNumPanel : public Vclbase::TEffectGControl
{
typedef Vclbase::TEffectGControl inherited;
private:
TSmType FCountNums;
int FValue;
TSmType1 FIndiWidth;
Graphics::TColor FIndiColor;
Graphics::TColor FUnActiveColor;
void __fastcall SetIndiColor(Graphics::TColor Value);
void __fastcall SetIndiWidth(TSmType1 Value);
void __fastcall SetValue(int Value);
void __fastcall SetCountNums(TSmType Value);
void __fastcall DrawNum(Graphics::TCanvas* cnvs, int x1, int y1, int x2, int y2, char Num, int Wd);
void __fastcall SetUnActiveColor(Graphics::TColor Value);
protected:
virtual void __fastcall PaintFace(void);
public:
__fastcall virtual TepNumPanel(Classes::TComponent* AOwner);
__published:
__property Graphics::TColor UnActiveColor = {read=FUnActiveColor, write=SetUnActiveColor, nodefault};
__property Color = {default=-2147483643};
__property Align = {default=0};
__property Graphics::TColor IndiColor = {read=FIndiColor, write=SetIndiColor, nodefault};
__property TSmType1 IndiWidth = {read=FIndiWidth, write=SetIndiWidth, nodefault};
__property TSmType CountNums = {read=FCountNums, write=SetCountNums, nodefault};
__property int Value = {read=FValue, write=SetValue, nodefault};
__property Enabled = {default=1};
__property ShowHint ;
__property Visible = {default=1};
__property PopupMenu ;
__property ParentFont = {default=1};
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnStartDrag ;
public:
#pragma option push -w-inl
/* TGraphicControl.Destroy */ inline __fastcall virtual ~TepNumPanel(void) { }
#pragma option pop
};
#pragma option push -b-
enum TGaugeKind { gkHorizontalBar, gkVerticalBar };
#pragma option pop
class DELPHICLASS TepIndiGauge;
class PASCALIMPLEMENTATION TepIndiGauge : public Vclbase::TEffectGControl
{
typedef Vclbase::TEffectGControl inherited;
private:
Byte FIndiNums;
TGaugeKind FKind;
int FMinValue;
int FMaxValue;
int FCurValue;
Byte FOffsetIndi;
Graphics::TColor FIndiColor;
Graphics::TColor FUnNormalIndiColor;
int FNormalValue;
Graphics::TColor FUnActiveColor;
void __fastcall SetUnActiveColor(Graphics::TColor Value);
void __fastcall SetUnNormalIndiColor(Graphics::TColor Value);
void __fastcall SetNormalValue(int Value);
void __fastcall SetIndiColor(Graphics::TColor Value);
void __fastcall SetOffsetIndi(Byte Value);
void __fastcall SetIndiNums(Byte Value);
void __fastcall SetGaugeKind(TGaugeKind Value);
Byte __fastcall GetPercent(void);
void __fastcall SetMinValue(int Value);
void __fastcall SetMaxValue(int Value);
void __fastcall SetProgress(int Value);
protected:
virtual void __fastcall PaintFace(void);
public:
__fastcall virtual TepIndiGauge(Classes::TComponent* AOwner);
__published:
__property Color = {default=-2147483643};
__property Graphics::TColor UnActiveColor = {read=FUnActiveColor, write=SetUnActiveColor, nodefault};
__property Graphics::TColor UnNormalIndiColor = {read=FUnNormalIndiColor, write=SetUnNormalIndiColor, nodefault};
__property int NormalValue = {read=FNormalValue, write=SetNormalValue, nodefault};
__property Graphics::TColor IndiColor = {read=FIndiColor, write=SetIndiColor, nodefault};
__property Byte IndiOffset = {read=FOffsetIndi, write=SetOffsetIndi, nodefault};
__property Byte IndiNums = {read=FIndiNums, write=SetIndiNums, nodefault};
__property TGaugeKind Kind = {read=FKind, write=SetGaugeKind, default=0};
__property int MinValue = {read=FMinValue, write=SetMinValue, default=0};
__property int MaxValue = {read=FMaxValue, write=SetMaxValue, default=100};
__property int Progress = {read=FCurValue, write=SetProgress, nodefault};
__property ShowHint ;
__property Visible = {default=1};
__property PopupMenu ;
__property ParentFont = {default=1};
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnStartDrag ;
public:
#pragma option push -w-inl
/* TGraphicControl.Destroy */ inline __fastcall virtual ~TepIndiGauge(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Indictrls */
using namespace Indictrls;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // IndiCtrls
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -