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

📄 sglyphutils.hpp

📁 I mComputermaster programmisDelphi+pascal
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Sglyphutils.pas' rev: 11.00

#ifndef SglyphutilsHPP
#define SglyphutilsHPP

#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 <Sconst.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Acntutils.hpp>	// Pascal unit
#include <Sgraphutils.hpp>	// Pascal unit
#include <Sdefaults.hpp>	// Pascal unit
#include <Imglist.hpp>	// Pascal unit
#include <Acalphaimagelist.hpp>	// Pascal unit
#include <Sspeedbutton.hpp>	// Pascal unit

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

namespace Sglyphutils
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsGlyphMode;
class PASCALIMPLEMENTATION TsGlyphMode : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	Controls::TWinControl* FOwner;
	Imglist::TCustomImageList* FImages;
	int FImageIndex;
	int FImageIndexHot;
	int FImageIndexPressed;
	void __fastcall SetBlend(const int Value);
	AnsiString __fastcall GetHint();
	void __fastcall SetHint(const AnsiString Value);
	void __fastcall SetGrayed(const bool Value);
	void __fastcall SetImages(const Imglist::TCustomImageList* Value);
	void __fastcall SetImageIndex(const int Value);
	void __fastcall SetImageIndexHot(const int Value);
	void __fastcall SetImageIndexPressed(const int Value);
	int __fastcall ReadBlend(void);
	bool __fastcall ReadGrayed(void);
	bool __fastcall BtnIsReady(void);
	
public:
	Sspeedbutton::TsSpeedButton* Btn;
	__fastcall TsGlyphMode(Controls::TWinControl* AOwner);
	void __fastcall Invalidate(void);
	int __fastcall ImageCount(void);
	int __fastcall Width(void);
	int __fastcall Height(void);
	
__published:
	__property int Blend = {read=ReadBlend, write=SetBlend, nodefault};
	__property bool Grayed = {read=ReadGrayed, write=SetGrayed, nodefault};
	__property AnsiString Hint = {read=GetHint, write=SetHint};
	__property Imglist::TCustomImageList* Images = {read=FImages, write=SetImages};
	__property int ImageIndex = {read=FImageIndex, write=SetImageIndex, default=-1};
	__property int ImageIndexHot = {read=FImageIndexHot, write=SetImageIndexHot, default=-1};
	__property int ImageIndexPressed = {read=FImageIndexPressed, write=SetImageIndexPressed, default=-1};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~TsGlyphMode(void) { }
	#pragma option pop
	
};


typedef AnsiString sGlyphUtils__2[5];

//-- var, const, procedure ---------------------------------------------------
static const Shortint iBTN_OPENFILE = 0x0;
static const Shortint iBTN_OPENFOLDER = 0x1;
static const Shortint iBTN_DATE = 0x2;
static const Shortint iBTN_ELLIPSIS = 0x3;
static const Shortint iBTN_CALC = 0x4;
extern PACKAGE AnsiString acGlyphsResNames[5];
extern PACKAGE Acalphaimagelist::TsAlphaImageList* acResImgList;

}	/* namespace Sglyphutils */
using namespace Sglyphutils;
#pragma pack(pop)
#pragma option pop

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

⌨️ 快捷键说明

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