home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // PicEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: PicEdit.pas
- //----------------------------------------------------------------------------
- #ifndef PicEditHPP
- #define PicEditHPP
- //----------------------------------------------------------------------------
- #ifndef ExtCtrlsHPP
- #include <ExtCtrls.hpp>
- #endif
-
- #ifndef StdCtrlsHPP
- #include <StdCtrls.hpp>
- #endif
-
- #ifndef DsgnIntfHPP
- #include <DsgnIntf.hpp>
- #endif
-
- #ifndef ButtonsHPP
- #include <Buttons.hpp>
- #endif
-
- #ifndef DialogsHPP
- #include <Dialogs.hpp>
- #endif
-
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef FormsHPP
- #include <Forms.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Picedit
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TPictureEditorDlg;
- class __declspec(pascalimplementation) TPictureEditorDlg : public Forms::TForm
- {
- typedef TPictureEditorDlg ThisClass;
- 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, System::Integer
- Dummy) : Forms::TForm(AOwner, Dummy) { }
- /* !! TForm.Destroy */ __fastcall virtual ~TPictureEditorDlg(void) { }
-
- };
-
- class __declspec(delphiclass) TPictureEditor;
- class __declspec(pascalimplementation) TPictureEditor : public Classes::TComponent
- {
- typedef TPictureEditor ThisClass;
- 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);
- System::Boolean __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 TPictureProperty ThisClass;
- 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 TGraphicProperty ThisClass;
- 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 TGraphicEditor ThisClass;
- typedef Dsgnintf::TDefaultEditor inherited;
-
- public:
- virtual void __fastcall EditProperty(Dsgnintf::TPropertyEditor *PropertyEditor, System::Boolean &Continue
- , System::Boolean &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 */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Picedit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // PicEdit
-