📄 vrwheel.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VrWheel.pas' rev: 5.00
#ifndef VrWheelHPP
#define VrWheelHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <VrSysUtils.hpp> // Pascal unit
#include <VrControls.hpp> // Pascal unit
#include <VrClasses.hpp> // Pascal unit
#include <Math.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 Vrwheel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TVrWheel;
class PASCALIMPLEMENTATION TVrWheel : public Vrcontrols::TVrGraphicImageControl
{
typedef Vrcontrols::TVrGraphicImageControl inherited;
private:
Vrcontrols::TVrIntMax FRadius;
int FMinValue;
int FMaxValue;
int FPosition;
Graphics::TBitmap* FBackImage;
Graphics::TBitmap* FHandleImage;
Classes::TNotifyEvent FOnChange;
bool FMouseDown;
int FBaseAngle;
int __fastcall GetPercentDone(void);
void __fastcall SetMaxValue(int Value);
void __fastcall SetMinValue(int Value);
void __fastcall SetPosition(int Value);
void __fastcall SetBaseAngle(int Value);
void __fastcall SetBackImage(Graphics::TBitmap* Value);
void __fastcall SetHandleImage(Graphics::TBitmap* Value);
void __fastcall SetRadius(Vrcontrols::TVrIntMax Value);
void __fastcall BackImageChanged(System::TObject* Sender);
void __fastcall HandleImageChanged(System::TObject* Sender);
protected:
DYNAMIC HPALETTE __fastcall GetPalette(void);
virtual void __fastcall LoadBackImage(void);
virtual void __fastcall LoadHandleImage(void);
virtual void __fastcall Paint(void);
HIDESBASE void __fastcall Changed(void);
void __fastcall UpdatePosition(int X, int Y);
DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
int Y);
DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int
Y);
DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
public:
__fastcall virtual TVrWheel(Classes::TComponent* AOwner);
__fastcall virtual ~TVrWheel(void);
virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
__property int PercentDone = {read=GetPercentDone, nodefault};
__published:
__property int MaxValue = {read=FMaxValue, write=SetMaxValue, default=100};
__property int MinValue = {read=FMinValue, write=SetMinValue, default=0};
__property int Position = {read=FPosition, write=SetPosition, default=0};
__property Graphics::TBitmap* BackImage = {read=FBackImage, write=SetBackImage};
__property Graphics::TBitmap* HandleImage = {read=FHandleImage, write=SetHandleImage};
__property int BaseAngle = {read=FBaseAngle, write=SetBaseAngle, default=0};
__property Vrcontrols::TVrIntMax Radius = {read=FRadius, write=SetRadius, default=40};
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property Transparent ;
__property Anchors ;
__property DragCursor ;
__property DragKind ;
__property DragMode ;
__property Enabled ;
__property Hint ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property Visible ;
__property OnClick ;
__property OnContextPopup ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDock ;
__property OnEndDrag ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnStartDock ;
__property OnStartDrag ;
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Vrwheel */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Vrwheel;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // VrWheel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -