home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
PICEDIT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
5KB
|
151 lines
//----------------------------------------------------------------------------
// PicEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: PicEdit.pas
//----------------------------------------------------------------------------
#ifndef PicEditHPP
#define PicEditHPP
//----------------------------------------------------------------------------
#include <ExtCtrls.hpp>
#include <StdCtrls.hpp>
#include <DsgnIntf.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <Controls.hpp>
#include <Forms.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Picedit
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TPictureEditorDlg;
class __declspec(pascalimplementation) TPictureEditorDlg : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TButton* Load;
Stdctrls::TButton* Save;
Dialogs::TOpenDialog* FileDialog;
Dialogs::TSaveDialog* SaveDialog;
Stdctrls::TButton* Clear;
Extctrls::TShape* Shape1;
Extctrls::TShape* Shape2;
Stdctrls::TButton* OKButton;
Stdctrls::TButton* CancelButton;
Stdctrls::TButton* HelpButton;
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 FormPaint(System::TObject* Sender);
void __fastcall ClearClick(System::TObject* Sender);
void __fastcall HelpButtonClick(System::TObject* Sender);
private:
Graphics::TPicture* Pic;
public:
/* TForm.Create */ __fastcall virtual TPictureEditorDlg(Classes::TComponent* AOwner) : Forms::TForm(
AOwner) { }
/* TForm.CreateNew */ __fastcall TPictureEditorDlg(Classes::TComponent* AOwner, int Dummy) : Forms::
TForm(AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TPictureEditorDlg(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TPictureEditorDlg(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
class __declspec(delphiclass) TPictureEditor;
class __declspec(pascalimplementation) TPictureEditor : public Classes::TComponent
{
typedef Classes::TComponent inherited;
private:
System::TMetaClass*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 System::TMetaClass* GraphicClass = {read=FGraphicClass, write=FGraphicClass, nodefault};
__property Graphics::TPicture* Picture = {read=FPicture, write=SetPicture, nodefault};
};
class __declspec(delphiclass) TPictureProperty;
class __declspec(pascalimplementation) TPictureProperty : public Dsgnintf::TPropertyEditor
{
typedef Dsgnintf::TPropertyEditor inherited;
public:
virtual void __fastcall Edit(void);
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual System::AnsiString __fastcall GetValue(void);
virtual void __fastcall SetValue(const System::AnsiString Value);
public:
/* TPropertyEditor.Destroy */ __fastcall virtual ~TPictureProperty(void) { }
public:
/* TObject.Create */ __fastcall TPictureProperty(void) : Dsgnintf::TPropertyEditor() { }
};
class __declspec(delphiclass) TGraphicProperty;
class __declspec(pascalimplementation) TGraphicProperty : public Dsgnintf::TClassProperty
{
typedef Dsgnintf::TClassProperty inherited;
public:
virtual void __fastcall Edit(void);
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual System::AnsiString __fastcall GetValue(void);
virtual void __fastcall SetValue(const System::AnsiString Value);
public:
/* TPropertyEditor.Destroy */ __fastcall virtual ~TGraphicProperty(void) { }
public:
/* TObject.Create */ __fastcall TGraphicProperty(void) : Dsgnintf::TClassProperty() { }
};
class __declspec(delphiclass) TGraphicEditor;
class __declspec(pascalimplementation) TGraphicEditor : public Dsgnintf::TDefaultEditor
{
typedef Dsgnintf::TDefaultEditor inherited;
public:
virtual void __fastcall EditProperty(Dsgnintf::TPropertyEditor* PropertyEditor, bool &Continue, bool
&FreeEditor);
public:
/* TComponentEditor.Create */ __fastcall virtual TGraphicEditor(Classes::TComponent* AComponent, Dsgnintf::TFormDesigner*
ADesigner) : Dsgnintf::TDefaultEditor(AComponent, ADesigner) { }
public:
/* TObject.Destroy */ __fastcall virtual ~TGraphicEditor(void) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Picedit */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Picedit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // PicEdit