advreflectionimage.hpp
来自「TMSPack基本上涵盖了Delphi所有的基础控件」· HPP 代码 · 共 109 行
HPP
109 行
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Advreflectionimage.pas' rev: 10.00
#ifndef AdvreflectionimageHPP
#define AdvreflectionimageHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Extctrls.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Gdipicture.hpp> // Pascal unit
#include <Advhintinfo.hpp> // Pascal unit
#include <Advgdip.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Advreflectionimage
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAdvReflectionImage;
class PASCALIMPLEMENTATION TAdvReflectionImage : public Controls::TGraphicControl
{
typedef Controls::TGraphicControl inherited;
private:
bool FMouseInControl;
Classes::TNotifyEvent FOnMouseLeave;
Classes::TNotifyEvent FOnMouseEnter;
Advhintinfo::TAdvHintInfo* FOfficeHint;
Gdipicture::TGDIPPicture* FIPicture;
Advgdip::TGPBitmap* FReflectionPic;
int FReflection;
int FReflectionAxis;
void __fastcall OnPictureChanged(System::TObject* Sender);
MESSAGE void __fastcall WMSize(Messages::TWMSize &Message);
HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
AnsiString __fastcall GetVersion();
void __fastcall SetVersion(const AnsiString Value);
void __fastcall SetOfficeHint(const Advhintinfo::TAdvHintInfo* Value);
void __fastcall SetIPicture(const Gdipicture::TGDIPPicture* Value);
void __fastcall SetReflection(const int Value);
void __fastcall SetReflectionAxis(const int Value);
protected:
virtual void __fastcall DrawImage(Graphics::TCanvas* ACanvas);
virtual void __fastcall Paint(void);
virtual void __fastcall Loaded(void);
void __fastcall UpdateReflection(void);
__property bool MouseInControl = {read=FMouseInControl, nodefault};
public:
__fastcall virtual TAdvReflectionImage(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvReflectionImage(void);
virtual int __fastcall GetVersionNr(void);
__published:
__property Anchors = {default=3};
__property BiDiMode ;
__property Constraints ;
__property Gdipicture::TGDIPPicture* Picture = {read=FIPicture, write=SetIPicture};
__property PopupMenu ;
__property ShowHint ;
__property Advhintinfo::TAdvHintInfo* OfficeHint = {read=FOfficeHint, write=SetOfficeHint};
__property int Reflection = {read=FReflection, write=SetReflection, default=160};
__property int ReflectionAxis = {read=FReflectionAxis, write=SetReflectionAxis, default=1};
__property AnsiString Version = {read=GetVersion, write=SetVersion};
__property Visible = {default=1};
__property OnClick ;
__property OnDblClick ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property Classes::TNotifyEvent OnMouseEnter = {read=FOnMouseEnter, write=FOnMouseEnter};
__property Classes::TNotifyEvent OnMouseLeave = {read=FOnMouseLeave, write=FOnMouseLeave};
};
//-- var, const, procedure ---------------------------------------------------
static const Shortint MAJ_VER = 0x1;
static const Shortint MIN_VER = 0x0;
static const Shortint REL_VER = 0x0;
static const Shortint BLD_VER = 0x1;
} /* namespace Advreflectionimage */
using namespace Advreflectionimage;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Advreflectionimage
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?