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

📄 sskinmanager.hpp

📁 I mComputermaster programmisDelphi+pascal
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Sskinmanager.pas' rev: 20.00

#ifndef SskinmanagerHPP
#define SskinmanagerHPP

#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 <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Sdefaults.hpp>	// Pascal unit
#include <Sconst.hpp>	// Pascal unit
#include <Inifiles.hpp>	// Pascal unit
#include <Smaskdata.hpp>	// Pascal unit
#include <Sskinmenus.hpp>	// Pascal unit
#include <Jpeg.hpp>	// Pascal unit
#include <Sstylesimply.hpp>	// Pascal unit
#include <Acskinpack.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Acntutils.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Sskinmanager
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TacSkinTypes { stUnpacked, stPacked, stAllSkins };
#pragma option pop

typedef void __fastcall (__closure *TacGetExtraLineData)(Menus::TMenuItem* FirstItem, System::UnicodeString &SkinSection, System::UnicodeString &Caption, Graphics::TBitmap* &Glyph, bool &LineVisible);

typedef System::UnicodeString TacSkinInfo;

class DELPHICLASS TacBtnEffects;
class DELPHICLASS TsSkinManager;
class PASCALIMPLEMENTATION TacBtnEffects : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	Sconst::TacBtnEvents FEvents;
	
public:
	TsSkinManager* Manager;
	__fastcall TacBtnEffects(void);
	
__published:
	__property Sconst::TacBtnEvents Events = {read=FEvents, write=FEvents, default=15};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacBtnEffects(void) { }
	
};


class DELPHICLASS TacFormAnimation;
class PASCALIMPLEMENTATION TacFormAnimation : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	System::Word FTime;
	bool FActive;
	
public:
	__fastcall virtual TacFormAnimation(void);
	
__published:
	__property bool Active = {read=FActive, write=FActive, default=1};
	__property System::Word Time = {read=FTime, write=FTime, default=0};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacFormAnimation(void) { }
	
};


class DELPHICLASS TacFormShow;
class PASCALIMPLEMENTATION TacFormShow : public TacFormAnimation
{
	typedef TacFormAnimation inherited;
	
public:
	/* TacFormAnimation.Create */ inline __fastcall virtual TacFormShow(void) : TacFormAnimation() { }
	
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacFormShow(void) { }
	
};


class DELPHICLASS TacPageChange;
class PASCALIMPLEMENTATION TacPageChange : public TacFormAnimation
{
	typedef TacFormAnimation inherited;
	
public:
	/* TacFormAnimation.Create */ inline __fastcall virtual TacPageChange(void) : TacFormAnimation() { }
	
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacPageChange(void) { }
	
};


class DELPHICLASS TacDialogShow;
class PASCALIMPLEMENTATION TacDialogShow : public TacFormAnimation
{
	typedef TacFormAnimation inherited;
	
public:
	__fastcall virtual TacDialogShow(void);
	
__published:
	__property Time = {default=0};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacDialogShow(void) { }
	
};


class DELPHICLASS TacSkinChanging;
class PASCALIMPLEMENTATION TacSkinChanging : public TacFormAnimation
{
	typedef TacFormAnimation inherited;
	
public:
	__fastcall virtual TacSkinChanging(void);
	
__published:
	__property Time = {default=100};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TacSkinChanging(void) { }
	
};


class DELPHICLASS TacAnimEffects;
class PASCALIMPLEMENTATION TacAnimEffects : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	TacBtnEffects* FButtons;
	TacDialogShow* FDialogShow;
	TacFormShow* FFormShow;
	TacSkinChanging* FSkinChanging;
	TacPageChange* FPageChange;
	
public:
	TsSkinManager* Manager;
	__fastcall TacAnimEffects(void);
	__fastcall virtual ~TacAnimEffects(void);
	
__published:
	__property TacBtnEffects* Buttons = {read=FButtons, write=FButtons};
	__property TacDialogShow* DialogShow = {read=FDialogShow, write=FDialogShow};
	__property TacFormShow* FormShow = {read=FFormShow, write=FFormShow};
	__property TacPageChange* PageChange = {read=FPageChange, write=FPageChange};
	__property TacSkinChanging* SkinChanging = {read=FSkinChanging, write=FSkinChanging};
};


class DELPHICLASS TsSkinGeneral;
class PASCALIMPLEMENTATION TsSkinGeneral : public Classes::TCollectionItem
{
	typedef Classes::TCollectionItem inherited;
	
private:
	System::UnicodeString FName;
	bool FShowFocus;
	bool FFadingEnabled;
	int FHotImagePercent;
	int FTransparency;
	int FHotTransparency;
	int FFadingIterations;
	System::UnicodeString FHotFontColor;
	int FHotGradientPercent;
	int FGradientPercent;
	int FImagePercent;
	System::UnicodeString FHotGradientData;
	System::UnicodeString FGradientData;
	System::UnicodeString FParentClass;
	Graphics::TColor FHotColor;
	Graphics::TColor FColor;
	System::UnicodeString FSectionName;
	System::UnicodeString FFontColor;
	bool FReservedBoolean;
	bool FGiveOwnFont;
	void __fastcall SetName(const System::UnicodeString Value);
	void __fastcall SetFadingEnabled(const bool Value);
	void __fastcall SetFadingIterations(const int Value);
	void __fastcall SetGradientData(const System::UnicodeString Value);
	void __fastcall SetGradientPercent(const int Value);
	void __fastcall SetHotGradientData(const System::UnicodeString Value);
	void __fastcall SetHotGradientPercent(const int Value);
	void __fastcall SetHotImagePercent(const int Value);
	void __fastcall SetHotColor(const Graphics::TColor Value);
	void __fastcall SetHotTransparency(const int Value);
	void __fastcall SetImagePercent(const int Value);
	void __fastcall SetColor(const Graphics::TColor Value);
	void __fastcall SetTransparency(const int Value);
	void __fastcall SetParentClass(const System::UnicodeString Value);
	void __fastcall SetShowFocus(const bool Value);
	void __fastcall SetSectionName(const System::UnicodeString Value);
	void __fastcall SetHotFontColor(const System::UnicodeString Value);
	void __fastcall SetFontColor(const System::UnicodeString Value);
	void __fastcall SetReservedBoolean(const bool Value);
	void __fastcall SetGiveOwnFont(const bool Value);
	
public:
	__fastcall virtual TsSkinGeneral(Classes::TCollection* Collection);
	__fastcall virtual ~TsSkinGeneral(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	
__published:
	__property System::UnicodeString SectionName = {read=FSectionName, write=SetSectionName};
	__property System::UnicodeString ParentClass = {read=FParentClass, write=SetParentClass};
	__property Graphics::TColor Color = {read=FColor, write=SetColor, nodefault};
	__property bool ReservedBoolean = {read=FReservedBoolean, write=SetReservedBoolean, nodefault};
	__property System::UnicodeString FontColor = {read=FFontColor, write=SetFontColor};
	__property System::UnicodeString HotFontColor = {read=FHotFontColor, write=SetHotFontColor};
	__property int Transparency = {read=FTransparency, write=SetTransparency, nodefault};
	__property int GradientPercent = {read=FGradientPercent, write=SetGradientPercent, nodefault};
	__property System::UnicodeString GradientData = {read=FGradientData, write=SetGradientData};
	__property int ImagePercent = {read=FImagePercent, write=SetImagePercent, nodefault};
	__property bool ShowFocus = {read=FShowFocus, write=SetShowFocus, nodefault};
	__property bool FadingEnabled = {read=FFadingEnabled, write=SetFadingEnabled, nodefault};
	__property int FadingIterations = {read=FFadingIterations, write=SetFadingIterations, nodefault};
	__property Graphics::TColor HotColor = {read=FHotColor, write=SetHotColor, nodefault};
	__property int HotTransparency = {read=FHotTransparency, write=SetHotTransparency, nodefault};
	__property int HotGradientPercent = {read=FHotGradientPercent, write=SetHotGradientPercent, nodefault};
	__property System::UnicodeString HotGradientData = {read=FHotGradientData, write=SetHotGradientData};
	__property int HotImagePercent = {read=FHotImagePercent, write=SetHotImagePercent, nodefault};
	__property System::UnicodeString Name = {read=FName, write=SetName};
	__property bool GiveOwnFont = {read=FGiveOwnFont, write=SetGiveOwnFont, nodefault};
};


class DELPHICLASS TsSkinGenerals;
class DELPHICLASS TsStoredSkin;
class PASCALIMPLEMENTATION TsSkinGenerals : public Classes::TCollection
{
	typedef Classes::TCollection inherited;
	
public:
	TsSkinGeneral* operator[](int Index) { return Items[Index]; }
	
private:
	TsStoredSkin* FOwner;
	HIDESBASE TsSkinGeneral* __fastcall GetItem(int Index);
	HIDESBASE void __fastcall SetItem(int Index, TsSkinGeneral* Value);
	
protected:
	DYNAMIC Classes::TPersistent* __fastcall GetOwner(void);
	virtual void __fastcall Update(Classes::TCollectionItem* Item);
	
public:
	__fastcall TsSkinGenerals(TsStoredSkin* AOwner);
	__fastcall virtual ~TsSkinGenerals(void);
	__property TsSkinGeneral* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};
};


class DELPHICLASS TsSkinImage;
class PASCALIMPLEMENTATION TsSkinImage : public Classes::TCollectionItem
{
	typedef Classes::TCollectionItem inherited;
	
private:
	System::UnicodeString FName;
	Graphics::TBitmap* FImage;
	System::UnicodeString FClassName;
	System::UnicodeString FPropertyName;
	int FMaskType;
	int FImageCount;
	int FTop;
	int FLeft;
	int FRight;
	int FBottom;
	int FBorderWidth;
	int FStretchMode;
	Sconst::TacImgType FImgType;
	int FWR;
	int FWT;
	int FWL;
	int FWB;
	void __fastcall SetName(const System::UnicodeString Value);
	void __fastcall SetImage(const Graphics::TBitmap* Value);
	void __fastcall SetClassName(const System::UnicodeString Value);
	void __fastcall SetPropertyName(const System::UnicodeString Value);
	
public:
	__fastcall virtual TsSkinImage(Classes::TCollection* Collection);
	__fastcall virtual ~TsSkinImage(void);
	
__published:
	__property System::UnicodeString SectionName = {read=FClassName, write=SetClassName};
	__property Graphics::TBitmap* Image = {read=FImage, write=SetImage};
	__property System::UnicodeString Name = {read=FName, write=SetName};
	__property System::UnicodeString PropertyName = {read=FPropertyName, write=SetPropertyName};
	__property int Left = {read=FLeft, write=FLeft, nodefault};
	__property int Top = {read=FTop, write=FTop, nodefault};
	__property int Right = {read=FRight, write=FRight, nodefault};
	__property int Bottom = {read=FBottom, write=FBottom, nodefault};
	__property int ImageCount = {read=FImageCount, write=FImageCount, nodefault};
	__property int MaskType = {read=FMaskType, write=FMaskType, nodefault};
	__property int BorderWidth = {read=FBorderWidth, write=FBorderWidth, nodefault};
	__property int StretchMode = {read=FStretchMode, write=FStretchMode, nodefault};
	__property Sconst::TacImgType ImgType = {read=FImgType, write=FImgType, nodefault};
	__property int WL = {read=FWL, write=FWL, nodefault};
	__property int WR = {read=FWR, write=FWR, nodefault};
	__property int WT = {read=FWT, write=FWT, nodefault};
	__property int WB = {read=FWB, write=FWB, nodefault};
};


class DELPHICLASS TsSkinPattern;
class PASCALIMPLEMENTATION TsSkinPattern : public Classes::TCollectionItem
{
	typedef Classes::TCollectionItem inherited;
	
private:
	System::UnicodeString FName;
	Jpeg::TJPEGImage* FImage;
	System::UnicodeString FClassName;
	System::UnicodeString FPropertyName;
	void __fastcall SetName(const System::UnicodeString Value);
	void __fastcall SetImage(const Jpeg::TJPEGImage* Value);
	void __fastcall SetClassName(const System::UnicodeString Value);
	void __fastcall SetPropertyName(const System::UnicodeString Value);
	
public:
	__fastcall virtual TsSkinPattern(Classes::TCollection* Collection);
	__fastcall virtual ~TsSkinPattern(void);

⌨️ 快捷键说明

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