📄 vrcounter.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VrCounter.pas' rev: 5.00
#ifndef VrCounterHPP
#define VrCounterHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <VrSysUtils.hpp> // Pascal unit
#include <VrSystem.hpp> // Pascal unit
#include <VrControls.hpp> // Pascal unit
#include <VrClasses.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 Vrcounter
{
//-- type declarations -------------------------------------------------------
typedef Shortint TVrCounterDigits;
typedef int TVrCounterValue;
class DELPHICLASS TVrCounter;
class PASCALIMPLEMENTATION TVrCounter : public Vrcontrols::TVrGraphicImageControl
{
typedef Vrcontrols::TVrGraphicImageControl inherited;
private:
TVrCounterValue FValue;
TVrCounterDigits FDigits;
Graphics::TBitmap* FBitmap;
int FSpacing;
Windows::TPoint FDigitSize;
bool FStretch;
Classes::TNotifyEvent FOnChange;
Graphics::TBitmap* FImage;
void __fastcall SetValue(TVrCounterValue Value);
void __fastcall SetDigits(TVrCounterDigits Value);
void __fastcall SetBitmap(Graphics::TBitmap* Value);
void __fastcall SetSpacing(int Value);
void __fastcall SetStretch(bool Value);
void __fastcall BitmapChanged(System::TObject* Sender);
protected:
DYNAMIC HPALETTE __fastcall GetPalette(void);
virtual void __fastcall Paint(void);
HIDESBASE virtual void __fastcall Changed(void);
void __fastcall LoadDefaultImage(void);
void __fastcall UpdateImage(void);
virtual bool __fastcall CanAutoSize(int &NewWidth, int &NewHeight);
public:
__fastcall virtual TVrCounter(Classes::TComponent* AOwner);
__fastcall virtual ~TVrCounter(void);
__published:
__property TVrCounterValue Value = {read=FValue, write=SetValue, default=0};
__property TVrCounterDigits Digits = {read=FDigits, write=SetDigits, default=6};
__property Graphics::TBitmap* Bitmap = {read=FBitmap, write=SetBitmap};
__property int Spacing = {read=FSpacing, write=SetSpacing, default=0};
__property bool Stretch = {read=FStretch, write=SetStretch, default=0};
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property Transparent ;
__property Align ;
__property Anchors ;
__property AutoSize ;
__property Constraints ;
__property Color ;
__property DragCursor ;
__property DragKind ;
__property DragMode ;
__property Hint ;
__property ParentColor ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property Visible ;
__property OnClick ;
__property OnContextPopup ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDock ;
__property OnEndDrag ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnStartDock ;
__property OnStartDrag ;
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Vrcounter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Vrcounter;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // VrCounter
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -