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

📄 rm_jvjvclutils.hpp

📁 这是一个功能强大
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

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

#ifndef Rm_jvjvclutilsHPP
#define Rm_jvjvclutilsHPP

#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 <Variants.hpp>	// Pascal unit
#include <Rtlconsts.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Shellapi.hpp>	// Pascal unit
#include <Registry.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Comctrls.hpp>	// Pascal unit
#include <Imglist.hpp>	// Pascal unit
#include <Grids.hpp>	// Pascal unit
#include <Inifiles.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Rm_jvvcl5utils.hpp>	// Pascal unit
#include <Rm_jvjclutils.hpp>	// Pascal unit
#include <Rm_jvtypes.hpp>	// Pascal unit

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

namespace Rm_jvjvclutils
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TJvWallpaperStyle { wpTile, wpCenter, wpStretch };
#pragma option pop

#pragma option push -b-
enum TFillDirection { fdTopToBottom, fdBottomToTop, fdLeftToRight, fdRightToLeft };
#pragma option pop

#pragma option push -b-
enum TVertAlignment { vaTopJustify, vaCenterJustify, vaBottomJustify };
#pragma option pop

class DELPHICLASS TJvDesktopCanvas;
class PASCALIMPLEMENTATION TJvDesktopCanvas : public Graphics::TCanvas 
{
	typedef Graphics::TCanvas inherited;
	
private:
	HDC FDC;
	
protected:
	virtual void __fastcall CreateHandle(void);
	
public:
	__fastcall virtual ~TJvDesktopCanvas(void);
	void __fastcall SetOrigin(int X, int Y);
	void __fastcall FreeHandle(void);
public:
	#pragma option push -w-inl
	/* TCanvas.Create */ inline __fastcall TJvDesktopCanvas(void) : Graphics::TCanvas() { }
	#pragma option pop
	
};


#pragma option push -b-
enum TMenuAnimation { maNone, maRandom, maUnfold, maSlide };
#pragma option pop

typedef void __fastcall (__closure *TProcObj)(void);

typedef AnsiString __fastcall (*TOnGetDefaultIniName)(void);

#pragma option push -b-
enum TPlacementOption { fpState, fpSize, fpLocation, fpActiveControl };
#pragma option pop

typedef Set<TPlacementOption, fpState, fpActiveControl>  TPlacementOptions;

#pragma option push -b-
enum TPlacementOperation { poSave, poRestore };
#pragma option pop

#pragma option push -b-
enum TMappingMethod { mmHistogram, mmQuantize, mmTrunc784, mmTrunc666, mmTripel, mmGrayscale };
#pragma option pop

class DELPHICLASS TJvGradientOptions;
class PASCALIMPLEMENTATION TJvGradientOptions : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	Graphics::TColor FStartColor;
	Graphics::TColor FEndColor;
	TFillDirection FDirection;
	Byte FStepCount;
	bool FVisible;
	Classes::TNotifyEvent FOnChange;
	void __fastcall SetStartColor(Graphics::TColor Value);
	void __fastcall SetEndColor(Graphics::TColor Value);
	void __fastcall SetDirection(TFillDirection Value);
	void __fastcall SetStepCount(Byte Value);
	void __fastcall SetVisible(bool Value);
	
protected:
	DYNAMIC void __fastcall Changed(void);
	
public:
	__fastcall TJvGradientOptions(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	void __fastcall Draw(Graphics::TCanvas* Canvas, const Types::TRect &Rect);
	
__published:
	__property TFillDirection Direction = {read=FDirection, write=SetDirection, default=0};
	__property Graphics::TColor EndColor = {read=FEndColor, write=SetEndColor, default=8421504};
	__property Graphics::TColor StartColor = {read=FStartColor, write=SetStartColor, default=12632256};
	__property Byte StepCount = {read=FStepCount, write=SetStepCount, default=64};
	__property bool Visible = {read=FVisible, write=SetVisible, default=0};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~TJvGradientOptions(void) { }
	#pragma option pop
	
};


class DELPHICLASS TJvPoint;
class PASCALIMPLEMENTATION TJvPoint : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	int FY;
	int FX;
	Classes::TNotifyEvent FOnChange;
	void __fastcall SetX(int Value);
	void __fastcall SetY(int Value);
	
protected:
	void __fastcall DoChange(void);
	
public:
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	
__published:
	__property int X = {read=FX, write=SetX, nodefault};
	__property int Y = {read=FY, write=SetY, nodefault};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~TJvPoint(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TJvPoint(void) : Classes::TPersistent() { }
	#pragma option pop
	
};


class DELPHICLASS TJvRect;
class PASCALIMPLEMENTATION TJvRect : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	TJvPoint* FTopLeft;
	TJvPoint* FBottomRight;
	Classes::TNotifyEvent FOnChange;
	int __fastcall GetBottom(void);
	int __fastcall GetLeft(void);
	int __fastcall GetRight(void);
	int __fastcall GetTop(void);
	void __fastcall SetBottom(int Value);
	void __fastcall SetLeft(int Value);
	void __fastcall SetRight(int Value);
	void __fastcall SetTop(int Value);
	void __fastcall SetBottomRight(TJvPoint* Value);
	void __fastcall SetTopLeft(TJvPoint* Value);
	void __fastcall PointChange(System::TObject* Sender);
	int __fastcall GetHeight(void);
	int __fastcall GetWidth(void);
	void __fastcall SetHeight(int Value);
	void __fastcall SetWidth(int Value);
	
protected:
	void __fastcall DoChange(void);
	
public:
	__fastcall TJvRect(void);
	__fastcall virtual ~TJvRect(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	__property TJvPoint* TopLeft = {read=FTopLeft, write=SetTopLeft};
	__property TJvPoint* BottomRight = {read=FBottomRight, write=SetBottomRight};
	__property int Width = {read=GetWidth, write=SetWidth, nodefault};
	__property int Height = {read=GetHeight, write=SetHeight, nodefault};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	
__published:
	__property int Left = {read=GetLeft, write=SetLeft, nodefault};
	__property int Top = {read=GetTop, write=SetTop, nodefault};
	__property int Right = {read=GetRight, write=SetRight, nodefault};
	__property int Bottom = {read=GetBottom, write=SetBottom, nodefault};
};


struct TJvLVItemStateData;
typedef TJvLVItemStateData *PJvLVItemStateData;

⌨️ 快捷键说明

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