89 lines
2.8 KiB
C++
89 lines
2.8 KiB
C++
// Borland C++ Builder
|
|
// Copyright (c) 1995, 1998 by Borland International
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'maskgenerator.pas' rev: 3.00
|
|
|
|
#ifndef maskgeneratorHPP
|
|
#define maskgeneratorHPP
|
|
#include <ExtDlgs.hpp>
|
|
#include <CoolForm.hpp>
|
|
#include <ExtCtrls.hpp>
|
|
#include <Buttons.hpp>
|
|
#include <ComCtrls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Dialogs.hpp>
|
|
#include <Forms.hpp>
|
|
#include <Controls.hpp>
|
|
#include <Graphics.hpp>
|
|
#include <Classes.hpp>
|
|
#include <SysUtils.hpp>
|
|
#include <Messages.hpp>
|
|
#include <Windows.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <System.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Maskgenerator
|
|
{
|
|
//-- type declarations -------------------------------------------------------
|
|
class DELPHICLASS TFormMaskGenerator;
|
|
class PASCALIMPLEMENTATION TFormMaskGenerator : public Forms::TForm
|
|
{
|
|
typedef Forms::TForm inherited;
|
|
|
|
__published:
|
|
Buttons::TSpeedButton* SpeedButton1;
|
|
Buttons::TSpeedButton* SpeedButton2;
|
|
Buttons::TSpeedButton* SpeedButton3;
|
|
Extctrls::TPanel* Panel1;
|
|
Coolform::TCoolForm* CoolForm1;
|
|
Extctrls::TImage* Image1;
|
|
Extdlgs::TOpenPictureDialog* OpenDialog1;
|
|
Buttons::TSpeedButton* SpeedButton4;
|
|
Dialogs::TSaveDialog* SaveDialog1;
|
|
void __fastcall SpeedButton1Click(System::TObject* Sender);
|
|
void __fastcall SpeedButton2Click(System::TObject* Sender);
|
|
void __fastcall SpeedButton3Click(System::TObject* Sender);
|
|
void __fastcall Image1MouseMove(System::TObject* Sender, Classes::TShiftState Shift, int X, int Y);
|
|
|
|
void __fastcall Image1MouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState
|
|
Shift, int X, int Y);
|
|
void __fastcall BitMapChange(System::TObject* Sender);
|
|
void __fastcall FormCreate(System::TObject* Sender);
|
|
void __fastcall SpeedButton4Click(System::TObject* Sender);
|
|
|
|
private:
|
|
int oldleft;
|
|
int oldtop;
|
|
bool generating;
|
|
|
|
public:
|
|
int OriginalRegionSize;
|
|
_RGNDATA *OriginalRegiondata;
|
|
HRGN rgn1;
|
|
void __fastcall SaveOriginalRegionData(void);
|
|
__fastcall virtual ~TFormMaskGenerator(void);
|
|
public:
|
|
/* TCustomForm.Create */ __fastcall virtual TFormMaskGenerator(Classes::TComponent* AOwner) : Forms::
|
|
TForm(AOwner) { }
|
|
/* TCustomForm.CreateNew */ __fastcall TFormMaskGenerator(Classes::TComponent* AOwner, int Dummy) :
|
|
Forms::TForm(AOwner, Dummy) { }
|
|
|
|
public:
|
|
/* TWinControl.CreateParented */ __fastcall TFormMaskGenerator(HWND ParentWindow) : Forms::TForm(ParentWindow
|
|
) { }
|
|
|
|
};
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
extern PACKAGE TFormMaskGenerator* FormMaskGenerator;
|
|
|
|
} /* namespace Maskgenerator */
|
|
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
|
|
using namespace Maskgenerator;
|
|
#endif
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // maskgenerator
|