// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'GraphiEdit.pas' rev: 22.00

#ifndef GraphieditHPP
#define GraphieditHPP

#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 <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <ExtDlgs.hpp>	// Pascal unit

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

namespace Graphiedit
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TPictureEditorDlg;
class PASCALIMPLEMENTATION TPictureEditorDlg : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TButton* OKButton;
	Stdctrls::TButton* CancelButton;
	Stdctrls::TGroupBox* GroupBox1;
	Extctrls::TPanel* ImagePanel;
	Stdctrls::TButton* Load;
	Stdctrls::TButton* Save;
	Stdctrls::TButton* Clear;
	Extctrls::TPaintBox* ImagePaintBox;
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall LoadClick(System::TObject* Sender);
	void __fastcall SaveClick(System::TObject* Sender);
	void __fastcall ClearClick(System::TObject* Sender);
	void __fastcall ImagePaintBoxPaint(System::TObject* Sender);
	
private:
	Graphics::TPicture* Pic;
	Extdlgs::TOpenPictureDialog* OpenDialog;
	Extdlgs::TSavePictureDialog* SaveDialog;
public:
	/* TCustomForm.Create */ inline __fastcall virtual TPictureEditorDlg(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TPictureEditorDlg(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TPictureEditorDlg(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TPictureEditorDlg(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


class DELPHICLASS TPictureEditor;
class PASCALIMPLEMENTATION TPictureEditor : public Classes::TComponent
{
	typedef Classes::TComponent inherited;
	
private:
	Graphics::TGraphicClass FGraphicClass;
	Graphics::TPicture* FPicture;
	TPictureEditorDlg* FPicDlg;
	void __fastcall SetPicture(Graphics::TPicture* Value);
	
public:
	__fastcall virtual TPictureEditor(Classes::TComponent* AOwner);
	__fastcall virtual ~TPictureEditor(void);
	bool __fastcall Execute(void);
	__property Graphics::TGraphicClass GraphicClass = {read=FGraphicClass, write=FGraphicClass};
	__property Graphics::TPicture* Picture = {read=FPicture, write=SetPicture};
};


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

}	/* namespace Graphiedit */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Graphiedit;
#endif
#pragma pack(pop)
#pragma option pop

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