📄 vrdesign.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VrDesign.pas' rev: 5.00
#ifndef VrDesignHPP
#define VrDesignHPP
#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 Vrdesign
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TVrBitmapButton;
class PASCALIMPLEMENTATION TVrBitmapButton : public Vrcontrols::TVrGraphicImageControl
{
typedef Vrcontrols::TVrGraphicImageControl inherited;
private:
Graphics::TBitmap* FGlyph;
Graphics::TBitmap* FMask;
Vrclasses::TVrNumGlyphs FNumGlyphs;
int FImageWidth;
int FImageHeight;
int FVIndent;
int FHIndent;
bool FHasMouse;
Vrcontrols::TVrTransparentMode FTransparentMode;
bool Down;
bool Pressed;
bool __fastcall InControl(int X, int Y);
void __fastcall SetGlyph(Graphics::TBitmap* Value);
void __fastcall SetNumGlyphs(Vrclasses::TVrNumGlyphs Value);
void __fastcall SetVIndent(int Value);
void __fastcall SetHIndent(int Value);
void __fastcall SetTransparentMode(Vrcontrols::TVrTransparentMode Value);
void __fastcall GlyphChanged(System::TObject* Sender);
HIDESBASE void __fastcall DoMouseDown(int XPos, int YPos);
HIDESBASE MESSAGE void __fastcall WMLButtonDown(Messages::TWMMouse &Message);
HIDESBASE MESSAGE void __fastcall WMMouseMove(Messages::TWMMouse &Message);
HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TWMMouse &Message);
HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
protected:
DYNAMIC HPALETTE __fastcall GetPalette(void);
virtual void __fastcall Loaded(void);
virtual void __fastcall Paint(void);
virtual bool __fastcall CanAutoSize(int &NewWidth, int &NewHeight);
void __fastcall AdjustImageSize(void);
Windows::TRect __fastcall DestRect(void);
Windows::TRect __fastcall GetImageRect(int Index);
Graphics::TColor __fastcall GetTransparentColor(void);
public:
__fastcall virtual TVrBitmapButton(Classes::TComponent* AOwner);
__fastcall virtual ~TVrBitmapButton(void);
__published:
__property Graphics::TBitmap* Glyph = {read=FGlyph, write=SetGlyph};
__property Vrclasses::TVrNumGlyphs NumGlyphs = {read=FNumGlyphs, write=SetNumGlyphs, default=1};
__property int VIndent = {read=FVIndent, write=SetVIndent, default=2};
__property int HIndent = {read=FHIndent, write=SetHIndent, default=2};
__property Vrcontrols::TVrTransparentMode TransparentMode = {read=FTransparentMode, write=SetTransparentMode
, default=1};
__property Transparent ;
__property Anchors ;
__property AutoSize ;
__property Constraints ;
__property Color ;
__property DragCursor ;
__property DragKind ;
__property DragMode ;
__property Enabled ;
__property Hint ;
__property ParentColor ;
__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 ;
};
class DELPHICLASS TVrBitmapImage;
class PASCALIMPLEMENTATION TVrBitmapImage : public Vrcontrols::TVrGraphicImageControl
{
typedef Vrcontrols::TVrGraphicImageControl inherited;
private:
bool FCenter;
bool FStretch;
int FBitmapIndex;
Graphics::TBitmap* FBitmap;
Vrsystem::TVrBitmapList* FBitmapList;
Vrcontrols::TVrChangeLink* FBitmapListLink;
Graphics::TBitmap* __fastcall GetBitmap(void);
void __fastcall SetCenter(bool Value);
void __fastcall SetStretch(bool Value);
void __fastcall SetBitmapIndex(int Value);
void __fastcall SetBitmapList(Vrsystem::TVrBitmapList* Value);
void __fastcall BitmapListChanged(System::TObject* Sender);
protected:
DYNAMIC HPALETTE __fastcall GetPalette(void);
Windows::TRect __fastcall DestRect(void);
virtual void __fastcall Paint(void);
virtual bool __fastcall CanAutoSize(int &NewWidth, int &NewHeight);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
);
public:
__fastcall virtual TVrBitmapImage(Classes::TComponent* AOwner);
__fastcall virtual ~TVrBitmapImage(void);
__published:
__property bool Center = {read=FCenter, write=SetCenter, default=1};
__property bool Stretch = {read=FStretch, write=SetStretch, default=0};
__property int BitmapIndex = {read=FBitmapIndex, write=SetBitmapIndex, default=-1};
__property Vrsystem::TVrBitmapList* BitmapList = {read=FBitmapList, write=SetBitmapList};
__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 ;
};
#pragma option push -b-
enum TVrCheckBoxState { vcbUnchecked, vcbChecked, vcbGrayed };
#pragma option pop
typedef Shortint TVrCheckBoxGlyphs;
#pragma option push -b-
enum TVrCheckBoxTexture { cbtTile, cbtStretch };
#pragma option pop
class DELPHICLASS TVrBitmapCheckBox;
class PASCALIMPLEMENTATION TVrBitmapCheckBox : public Vrcontrols::TVrCustomImageControl
{
typedef Vrcontrols::TVrCustomImageControl inherited;
private:
int FSpacing;
int FMargin;
Vrcontrols::TVrImageTextLayout FLayout;
TVrCheckBoxState FState;
TVrCheckBoxGlyphs FNumGlyphs;
Graphics::TBitmap* FEnabledGlyphs;
int FEnabledGlyphIndex;
Graphics::TBitmap* FDisabledGlyphs;
int FDisabledGlyphIndex;
Graphics::TColor FTransparentColor;
int FTextureIndex;
TVrCheckBoxTexture FTextureStyle;
bool FAllowGrayed;
Vrclasses::TVrFont3D* FFont3D;
Graphics::TColor FFocusColor;
int FFocusOffset;
bool FFocused;
Windows::TPoint FSize;
Windows::TRect FImageRect;
Windows::TRect FTextBounds;
Vrsystem::TVrBitmapList* FBitmapList;
Vrcontrols::TVrChangeLink* FBitmapListLink;
bool FButtonDown;
Classes::TNotifyEvent FOnChange;
bool __fastcall GetChecked(void);
Graphics::TBitmap* __fastcall GetBitmap(int Index);
void __fastcall SetLayout(Vrcontrols::TVrImageTextLayout Value);
void __fastcall SetMargin(int Value);
void __fastcall SetSpacing(int Value);
void __fastcall SetState(TVrCheckBoxState Value);
void __fastcall SetEnabledGlyphIndex(int Value);
void __fastcall SetDisabledGlyphIndex(int Value);
void __fastcall SetNumGlyphs(TVrCheckBoxGlyphs Value);
void __fastcall SetTransparentColor(Graphics::TColor Value);
void __fastcall SetTextureIndex(int Value);
void __fastcall SetTextureStyle(TVrCheckBoxTexture Value);
void __fastcall SetFont3D(Vrclasses::TVrFont3D* Value);
void __fastcall SetBitmapList(Vrsystem::TVrBitmapList* Value);
void __fastcall SetChecked(bool Value);
void __fastcall SetFocusColor(Graphics::TColor Value);
void __fastcall SetFocusOffset(int Value);
void __fastcall Font3DChanged(System::TObject* Sender);
void __fastcall BitmapListChanged(System::TObject* Sender);
HIDESBASE MESSAGE void __fastcall WMSize(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -