📄 sglyphutils.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'sGlyphUtils.pas' rev: 6.00
#ifndef sGlyphUtilsHPP
#define sGlyphUtilsHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <sSpeedButton.hpp> // Pascal unit
#include <acAlphaImageList.hpp> // Pascal unit
#include <ImgList.hpp> // Pascal unit
#include <sDefaults.hpp> // Pascal unit
#include <sGraphUtils.hpp> // Pascal unit
#include <acntUtils.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <sConst.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 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 option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // sGlyphUtils
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -