📄 vrpiegraph.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VrPieGraph.pas' rev: 5.00
#ifndef VrPieGraphHPP
#define VrPieGraphHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <VrControls.hpp> // Pascal unit
#include <VrClasses.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Forms.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 Vrpiegraph
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TVrPieGraph;
class PASCALIMPLEMENTATION TVrPieGraph : public Vrcontrols::TVrGraphicImageControl
{
typedef Vrcontrols::TVrGraphicImageControl inherited;
private:
int FValue;
int FMaxValue;
int FDepth;
Graphics::TColor FUsedColor;
Graphics::TColor FUsedShadowColor;
Graphics::TColor FFreeColor;
Graphics::TColor FFreeShadowColor;
Graphics::TColor FOutlineColor;
Classes::TNotifyEvent FOnChange;
void __fastcall DrawPie(void);
void __fastcall SetValue(int Value);
void __fastcall SetMaxValue(int Value);
void __fastcall SetDepth(int Value);
void __fastcall SetUsedColor(Graphics::TColor Value);
void __fastcall SetUsedShadowColor(Graphics::TColor Value);
void __fastcall SetFreeColor(Graphics::TColor Value);
void __fastcall SetFreeShadowColor(Graphics::TColor Value);
void __fastcall SetOutlineColor(Graphics::TColor Value);
protected:
virtual void __fastcall Paint(void);
HIDESBASE virtual void __fastcall Changed(void);
public:
__fastcall virtual TVrPieGraph(Classes::TComponent* AOwner);
__published:
__property int MaxValue = {read=FMaxValue, write=SetMaxValue, default=100};
__property int Value = {read=FValue, write=SetValue, default=80};
__property int Depth = {read=FDepth, write=SetDepth, default=10};
__property Graphics::TColor UsedColor = {read=FUsedColor, write=SetUsedColor, nodefault};
__property Graphics::TColor UsedShadowColor = {read=FUsedShadowColor, write=SetUsedShadowColor, nodefault
};
__property Graphics::TColor FreeColor = {read=FFreeColor, write=SetFreeColor, nodefault};
__property Graphics::TColor FreeShadowColor = {read=FFreeShadowColor, write=SetFreeShadowColor, nodefault
};
__property Graphics::TColor OutlineColor = {read=FOutlineColor, write=SetOutlineColor, nodefault};
__property Transparent ;
__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
__property Align ;
__property Color ;
__property Hint ;
__property ParentColor ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property Visible ;
__property OnClick ;
__property OnDblClick ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
public:
#pragma option push -w-inl
/* TVrGraphicImageControl.Destroy */ inline __fastcall virtual ~TVrPieGraph(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Vrpiegraph */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Vrpiegraph;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // VrPieGraph
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -