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

📄 aafontdialog.hpp

📁 该控件显示公历和农历
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AAFontDialog.pas' rev: 6.00

#ifndef AAFontDialogHPP
#define AAFontDialogHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <AASpin.hpp>	// Pascal unit
#include <ExtDlgs.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <AACtrls.hpp>	// Pascal unit
#include <AAFont.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 Aafontdialog
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAAFontDlg;
class PASCALIMPLEMENTATION TAAFontDlg : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Extctrls::TPanel* Panel1;
	Stdctrls::TGroupBox* gbShadow;
	Stdctrls::TCheckBox* cbShadow;
	Stdctrls::TLabel* Label1;
	Aaspin::TSpinEdit* seShadowBlur;
	Stdctrls::TLabel* Label2;
	Aaspin::TSpinEdit* seShadowAlpha;
	Stdctrls::TLabel* Label3;
	Aaspin::TSpinEdit* seOffsetX;
	Stdctrls::TLabel* Label4;
	Aaspin::TSpinEdit* seOffsetY;
	Extctrls::TShape* spShadow;
	Stdctrls::TLabel* Label5;
	Stdctrls::TGroupBox* gbGradual;
	Extctrls::TShape* spStartColor;
	Stdctrls::TLabel* Label10;
	Stdctrls::TCheckBox* cbGradual;
	Extctrls::TShape* spEndColor;
	Stdctrls::TLabel* Label6;
	Stdctrls::TRadioButton* rbLeftToRight;
	Stdctrls::TRadioButton* rbRightToLeft;
	Stdctrls::TRadioButton* rbTopToBottom;
	Stdctrls::TRadioButton* rbCenterToLR;
	Stdctrls::TGroupBox* gbTexture;
	Stdctrls::TCheckBox* cbTexture;
	Stdctrls::TRadioButton* rbTile;
	Stdctrls::TRadioButton* rbStretched;
	Stdctrls::TRadioButton* rbCenter;
	Stdctrls::TRadioButton* rbNormal;
	Stdctrls::TButton* btnOpenPic;
	Stdctrls::TGroupBox* gbOther;
	Stdctrls::TCheckBox* cbOutline;
	Stdctrls::TLabel* Label7;
	Aaspin::TSpinEdit* seBlur;
	Stdctrls::TLabel* Label8;
	Aaspin::TSpinEdit* seAlpha;
	Stdctrls::TLabel* Label9;
	Aaspin::TSpinEdit* seNoise;
	Stdctrls::TButton* btnFont;
	Stdctrls::TButton* btnOK;
	Stdctrls::TButton* btnCancel;
	Extdlgs::TOpenPictureDialog* OpenPictureDialog;
	Dialogs::TFontDialog* FontDialog;
	Dialogs::TColorDialog* ColorDialog;
	Stdctrls::TButton* btnClearPic;
	Stdctrls::TLabel* Label11;
	Aaspin::TSpinEdit* seSpray;
	Stdctrls::TRadioButton* rbBottomToTop;
	Stdctrls::TRadioButton* rbCenterToTB;
	Stdctrls::TLabel* Label12;
	Aaspin::TSpinEdit* seAngle;
	Stdctrls::TCheckBox* cbHorzMirror;
	Stdctrls::TCheckBox* cbVertMirror;
	void __fastcall btnFontClick(System::TObject* Sender);
	void __fastcall cbShadowClick(System::TObject* Sender);
	void __fastcall seShadowBlurClick(System::TObject* Sender);
	void __fastcall spShadowMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	void __fastcall btnOpenPicClick(System::TObject* Sender);
	void __fastcall btnClearPicClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	
private:
	bool FUpdating;
	Aactrls::TAALabel* AALabel;
	void __fastcall SetEffect(const Aafont::TAAEffect* Value);
	Graphics::TFont* __fastcall GetTestFont(void);
	void __fastcall SetTestFont(const Graphics::TFont* Value);
	Aafont::TAAEffect* __fastcall GetEffect(void);
	void __fastcall SetEffectToControls(void);
	void __fastcall GetEffectFromControls(void);
	void __fastcall UpdateEffect(void);
	
public:
	__property Aafont::TAAEffect* Effect = {read=GetEffect, write=SetEffect};
	__property Graphics::TFont* TestFont = {read=GetTestFont, write=SetTestFont};
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TAAFontDlg(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TAAFontDlg(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TAAFontDlg(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAAFontDlg(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAAFontDialog;
class PASCALIMPLEMENTATION TAAFontDialog : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	Classes::TNotifyEvent FOnClose;
	Classes::TNotifyEvent FOnShow;
	Aafont::TAAEffect* FEffect;
	Graphics::TFont* FFont;
	bool FAllowChangeFont;
	void __fastcall SetEffect(const Aafont::TAAEffect* Value);
	void __fastcall SetTestFont(const Graphics::TFont* Value);
	
protected:
	virtual void __fastcall DoShow(void);
	virtual void __fastcall DoClose(void);
	
public:
	__fastcall virtual TAAFontDialog(Classes::TComponent* AOwner);
	__fastcall virtual ~TAAFontDialog(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	bool __fastcall Execute(void);
	
__published:
	__property Aafont::TAAEffect* Effect = {read=FEffect, write=SetEffect};
	__property Graphics::TFont* Font = {read=FFont, write=SetTestFont};
	__property bool AllowChangeFont = {read=FAllowChangeFont, write=FAllowChangeFont, default=0};
	__property Classes::TNotifyEvent OnClose = {read=FOnClose, write=FOnClose};
	__property Classes::TNotifyEvent OnShow = {read=FOnShow, write=FOnShow};
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);

}	/* namespace Aafontdialog */
using namespace Aafontdialog;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

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