picsedit.hpp

来自「Object Inspector for Delphi (3-7,2005) a」· HPP 代码 · 共 110 行

HPP
110
字号
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

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

#ifndef PicsEditHPP
#define PicsEditHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <jpeg.hpp>	// Pascal unit
#include <PropEdit.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtDlgs.hpp>	// Pascal unit
#include <ExtCtrls.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 Picsedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmPicture;
class PASCALIMPLEMENTATION TfrmPicture : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TButton* btnOK;
	Stdctrls::TButton* btnCancel;
	Extdlgs::TOpenPictureDialog* opdImage;
	Extdlgs::TSavePictureDialog* svdImage;
	Extctrls::TPanel* pnlImage;
	Stdctrls::TButton* btnLoad;
	Stdctrls::TButton* btnSave;
	Stdctrls::TButton* btnClear;
	Extctrls::TPaintBox* pntImage;
	void __fastcall btnLoadClick(System::TObject* Sender);
	void __fastcall btnSaveClick(System::TObject* Sender);
	void __fastcall btnClearClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall pntImagePaint(System::TObject* Sender);
	
private:
	Graphics::TPicture* FPicture;
	
public:
	__property Graphics::TPicture* Picture = {read=FPicture};
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TfrmPicture(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmPicture(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmPicture(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TfrmPicture(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TPicturePropertyEditor;
class PASCALIMPLEMENTATION TPicturePropertyEditor : public Propedit::TPropertyEditor 
{
	typedef Propedit::TPropertyEditor inherited;
	
public:
	virtual bool __fastcall Execute(void);
public:
	#pragma option push -w-inl
	/* TPropertyEditor.Create */ inline __fastcall virtual TPicturePropertyEditor(Proplist::TProperty* AProp) : Propedit::TPropertyEditor(AProp) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TPicturePropertyEditor(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

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

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

⌨️ 快捷键说明

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