⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vrdesign.hpp

📁 wimax bs simulator对应的GUI程序
💻 HPP
📖 第 1 页 / 共 2 页
字号:
	HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
	HIDESBASE MESSAGE void __fastcall CMFocusChanged(Controls::TCMFocusChanged &Message);
	
protected:
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	void __fastcall UpdateGlyphs(void);
	void __fastcall CalcPaintParams(bool Repaint);
	virtual void __fastcall Paint(void);
	HIDESBASEDYNAMIC void __fastcall Changed(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	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 Keypress(char &Key);
	
public:
	__fastcall virtual TVrBitmapCheckBox(Classes::TComponent* AOwner);
	__fastcall virtual ~TVrBitmapCheckBox(void);
	void __fastcall Toggle(void);
	
__published:
	__property Vrcontrols::TVrImageTextLayout Layout = {read=FLayout, write=SetLayout, default=0};
	__property int Margin = {read=FMargin, write=SetMargin, default=-1};
	__property int Spacing = {read=FSpacing, write=SetSpacing, default=5};
	__property TVrCheckBoxState State = {read=FState, write=SetState, default=0};
	__property int EnabledGlyphIndex = {read=FEnabledGlyphIndex, write=SetEnabledGlyphIndex, default=-1
		};
	__property int DisabledGlyphIndex = {read=FDisabledGlyphIndex, write=SetDisabledGlyphIndex, default=-1
		};
	__property TVrCheckBoxGlyphs NumGlyphs = {read=FNumGlyphs, write=SetNumGlyphs, default=3};
	__property Graphics::TColor TransparentColor = {read=FTransparentColor, write=SetTransparentColor, 
		default=32896};
	__property Vrclasses::TVrFont3D* Font3D = {read=FFont3D, write=SetFont3D};
	__property Vrsystem::TVrBitmapList* BitmapList = {read=FBitmapList, write=SetBitmapList};
	__property int TextureIndex = {read=FTextureIndex, write=SetTextureIndex, default=-1};
	__property TVrCheckBoxTexture TextureStyle = {read=FTextureStyle, write=SetTextureStyle, default=0}
		;
	__property bool Checked = {read=GetChecked, write=SetChecked, nodefault};
	__property bool AllowGrayed = {read=FAllowGrayed, write=FAllowGrayed, default=0};
	__property Graphics::TColor FocusColor = {read=FFocusColor, write=SetFocusColor, default=16711680};
		
	__property int FocusOffset = {read=FFocusOffset, write=SetFocusOffset, default=0};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property Anchors ;
	__property Constraints ;
	__property Caption ;
	__property Color ;
	__property DragCursor ;
	__property DragKind ;
	__property DragMode ;
	__property Enabled ;
	__property Font ;
	__property ParentFont ;
	__property ParentColor ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__property OnClick ;
	__property OnContextPopup ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDock ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDock ;
	__property OnStartDrag ;
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TVrBitmapCheckBox(HWND ParentWindow) : Vrcontrols::TVrCustomImageControl(
		ParentWindow) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TVrRadioButtonState { vrbUnchecked, vrbChecked };
#pragma option pop

typedef Shortint TVrRadioButtonGlyphs;

#pragma option push -b-
enum TVrRadioButtonTexture { rbtTile, rbtStretch };
#pragma option pop

class DELPHICLASS TVrBitmapRadioButton;
class PASCALIMPLEMENTATION TVrBitmapRadioButton : public Vrcontrols::TVrCustomImageControl 
{
	typedef Vrcontrols::TVrCustomImageControl inherited;
	
private:
	bool FChecked;
	int FSpacing;
	int FMargin;
	Vrcontrols::TVrImageTextLayout FLayout;
	TVrRadioButtonGlyphs FNumGlyphs;
	Graphics::TBitmap* FEnabledGlyphs;
	int FEnabledGlyphIndex;
	Graphics::TBitmap* FDisabledGlyphs;
	int FDisabledGlyphIndex;
	Graphics::TColor FTransparentColor;
	int FTextureIndex;
	TVrRadioButtonTexture FTextureStyle;
	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;
	Graphics::TBitmap* __fastcall GetBitmap(int Index);
	void __fastcall SetLayout(Vrcontrols::TVrImageTextLayout Value);
	void __fastcall SetMargin(int Value);
	void __fastcall SetSpacing(int Value);
	void __fastcall SetEnabledGlyphIndex(int Value);
	void __fastcall SetDisabledGlyphIndex(int Value);
	void __fastcall SetNumGlyphs(TVrRadioButtonGlyphs Value);
	void __fastcall SetTransparentColor(Graphics::TColor Value);
	void __fastcall SetTextureIndex(int Value);
	void __fastcall SetTextureStyle(TVrRadioButtonTexture 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);
	HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
	HIDESBASE MESSAGE void __fastcall CMFocusChanged(Controls::TCMFocusChanged &Message);
	
protected:
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	void __fastcall UpdateGlyphs(void);
	void __fastcall CalcPaintParams(bool Repaint);
	virtual void __fastcall Paint(void);
	HIDESBASEDYNAMIC void __fastcall Changed(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	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 Keypress(char &Key);
	
public:
	__fastcall virtual TVrBitmapRadioButton(Classes::TComponent* AOwner);
	__fastcall virtual ~TVrBitmapRadioButton(void);
	
__published:
	__property Vrcontrols::TVrImageTextLayout Layout = {read=FLayout, write=SetLayout, default=0};
	__property int Margin = {read=FMargin, write=SetMargin, default=-1};
	__property int Spacing = {read=FSpacing, write=SetSpacing, default=5};
	__property int EnabledGlyphIndex = {read=FEnabledGlyphIndex, write=SetEnabledGlyphIndex, default=-1
		};
	__property int DisabledGlyphIndex = {read=FDisabledGlyphIndex, write=SetDisabledGlyphIndex, default=-1
		};
	__property TVrRadioButtonGlyphs NumGlyphs = {read=FNumGlyphs, write=SetNumGlyphs, default=2};
	__property Graphics::TColor TransparentColor = {read=FTransparentColor, write=SetTransparentColor, 
		default=32896};
	__property Vrclasses::TVrFont3D* Font3D = {read=FFont3D, write=SetFont3D};
	__property Vrsystem::TVrBitmapList* BitmapList = {read=FBitmapList, write=SetBitmapList};
	__property int TextureIndex = {read=FTextureIndex, write=SetTextureIndex, default=-1};
	__property TVrRadioButtonTexture TextureStyle = {read=FTextureStyle, write=SetTextureStyle, default=0
		};
	__property bool Checked = {read=FChecked, write=SetChecked, default=0};
	__property Graphics::TColor FocusColor = {read=FFocusColor, write=SetFocusColor, default=16711680};
		
	__property int FocusOffset = {read=FFocusOffset, write=SetFocusOffset, default=0};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property Anchors ;
	__property Constraints ;
	__property Caption ;
	__property Color ;
	__property DragCursor ;
	__property DragKind ;
	__property DragMode ;
	__property Enabled ;
	__property Font ;
	__property ParentFont ;
	__property ParentColor ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__property OnClick ;
	__property OnContextPopup ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDock ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDock ;
	__property OnStartDrag ;
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TVrBitmapRadioButton(HWND ParentWindow) : Vrcontrols::TVrCustomImageControl(
		ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Vrdesign */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Vrdesign;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// VrDesign

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -