📄 acemeter.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AceMeter.pas' rev: 3.00
#ifndef AceMeterHPP
#define AceMeterHPP
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Messages.hpp>
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>
//-- user supplied -----------------------------------------------------------
namespace Acemeter
{
//-- type declarations -------------------------------------------------------
enum TAceMeterStyle { msHorizontal };
class DELPHICLASS TAceMeter;
class PASCALIMPLEMENTATION TAceMeter : public Extctrls::TPaintBox
{
typedef Extctrls::TPaintBox inherited;
private:
Graphics::TColor FMeterColor;
Graphics::TColor FBackGroundColor;
TFormBorderStyle FBorderStyle;
TAceMeterStyle FStyle;
int FMax;
int FMin;
int FProgress;
bool FShowText;
protected:
void __fastcall SetProgress(int Value);
void __fastcall SetMeterColor(Graphics::TColor c);
void __fastcall SetBackgroundColor(Graphics::TColor c);
void __fastcall SetBorderStyle(Forms::TBorderStyle st);
void __fastcall SetStyle(TAceMeterStyle st);
void __fastcall SetMin(int m);
void __fastcall SetMax(int m);
void __fastcall SetShowText(bool st);
virtual void __fastcall Paint(void);
public:
__fastcall virtual TAceMeter(Classes::TComponent* AOwner);
__published:
__property Graphics::TColor MeterColor = {read=FMeterColor, write=SetMeterColor, nodefault};
__property Graphics::TColor BackGroundColor = {read=FBackGroundColor, write=SetBackgroundColor, nodefault
};
__property Forms::TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, nodefault};
__property TAceMeterStyle Style = {read=FStyle, write=SetStyle, nodefault};
__property int Min = {read=FMin, write=SetMin, nodefault};
__property int Max = {read=FMax, write=SetMax, nodefault};
__property int Progress = {read=FProgress, write=SetProgress, nodefault};
__property bool ShowText = {read=FShowText, write=SetShowText, nodefault};
public:
/* TGraphicControl.Destroy */ __fastcall virtual ~TAceMeter(void) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Acemeter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Acemeter;
#endif
//-- end unit ----------------------------------------------------------------
#endif // AceMeter
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -