506 lines
18 KiB
C++
506 lines
18 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'previews.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef previewsHPP
|
|
#define previewsHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <Winapi.Messages.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Graphics.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
#include <System.Types.hpp>
|
|
#include <Vcl.StdCtrls.hpp>
|
|
#include <Vcl.ComCtrls.hpp>
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
#include <hsvbox.hpp>
|
|
#include <imageenproc.hpp>
|
|
#include <imageenview.hpp>
|
|
#include <Vcl.CheckLst.hpp>
|
|
#include <histogrambox.hpp>
|
|
#include <rulerbox.hpp>
|
|
#include <Vcl.Buttons.hpp>
|
|
#include <imageenio.hpp>
|
|
#include <hyiedefs.hpp>
|
|
#include <iefft.hpp>
|
|
#include <ieview.hpp>
|
|
#include <Vcl.Dialogs.hpp>
|
|
#include <hyieutils.hpp>
|
|
#include <iexBitmaps.hpp>
|
|
#include <iesettings.hpp>
|
|
#include <iexRulers.hpp>
|
|
#include <iexLayers.hpp>
|
|
#include <System.UITypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Previews
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TfPreviews;
|
|
//-- type declarations -------------------------------------------------------
|
|
class PASCALIMPLEMENTATION TfPreviews : public Vcl::Forms::TForm
|
|
{
|
|
typedef Vcl::Forms::TForm inherited;
|
|
|
|
|
|
private:
|
|
typedef System::StaticArray<System::UnicodeString, 18> _TfPreviews__1;
|
|
|
|
|
|
__published:
|
|
Vcl::Stdctrls::TLabel* Label1;
|
|
Vcl::Stdctrls::TLabel* Label2;
|
|
Vcl::Buttons::TBitBtn* OkButton;
|
|
Vcl::Buttons::TBitBtn* CancelButton;
|
|
Vcl::Comctrls::TPageControl* PageControl1;
|
|
Vcl::Comctrls::TTabSheet* tabContrast;
|
|
Vcl::Comctrls::TTabSheet* tabHSL;
|
|
Vcl::Comctrls::TTabSheet* tabRGB;
|
|
Vcl::Comctrls::TTabSheet* tabFilters;
|
|
Vcl::Stdctrls::TLabel* Label3;
|
|
Vcl::Stdctrls::TEdit* Edit1;
|
|
Vcl::Comctrls::TTrackBar* TrackBar1;
|
|
Vcl::Stdctrls::TLabel* Label4;
|
|
Vcl::Stdctrls::TLabel* Label5;
|
|
Vcl::Stdctrls::TLabel* Label6;
|
|
Vcl::Stdctrls::TEdit* Edit3;
|
|
Vcl::Stdctrls::TEdit* Edit2;
|
|
Vcl::Stdctrls::TEdit* Edit4;
|
|
Vcl::Comctrls::TTrackBar* TrackBar2;
|
|
Vcl::Comctrls::TTrackBar* TrackBar3;
|
|
Vcl::Comctrls::TTrackBar* TrackBar5;
|
|
Vcl::Stdctrls::TLabel* Label7;
|
|
Vcl::Stdctrls::TLabel* Label8;
|
|
Vcl::Stdctrls::TLabel* Label9;
|
|
Vcl::Stdctrls::TEdit* Edit5;
|
|
Vcl::Stdctrls::TEdit* Edit6;
|
|
Vcl::Stdctrls::TEdit* Edit7;
|
|
Vcl::Comctrls::TTrackBar* TrackBar6;
|
|
Vcl::Comctrls::TTrackBar* TrackBar7;
|
|
Vcl::Comctrls::TTrackBar* TrackBar8;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox1;
|
|
Vcl::Stdctrls::TEdit* Edit8;
|
|
Vcl::Stdctrls::TEdit* Edit9;
|
|
Vcl::Stdctrls::TEdit* Edit10;
|
|
Vcl::Stdctrls::TEdit* Edit11;
|
|
Vcl::Stdctrls::TEdit* Edit12;
|
|
Vcl::Stdctrls::TEdit* Edit13;
|
|
Vcl::Stdctrls::TEdit* Edit14;
|
|
Vcl::Stdctrls::TEdit* Edit15;
|
|
Vcl::Stdctrls::TEdit* Edit16;
|
|
Vcl::Comctrls::TUpDown* UpDown1;
|
|
Vcl::Comctrls::TUpDown* UpDown2;
|
|
Vcl::Comctrls::TUpDown* UpDown3;
|
|
Vcl::Comctrls::TUpDown* UpDown4;
|
|
Vcl::Comctrls::TUpDown* UpDown5;
|
|
Vcl::Comctrls::TUpDown* UpDown6;
|
|
Vcl::Comctrls::TUpDown* UpDown7;
|
|
Vcl::Comctrls::TUpDown* UpDown8;
|
|
Vcl::Comctrls::TUpDown* UpDown9;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox3;
|
|
Vcl::Stdctrls::TListBox* ListBox1;
|
|
Vcl::Buttons::TBitBtn* ResultToSourceButton;
|
|
Vcl::Comctrls::TTabSheet* tabHSV;
|
|
Vcl::Stdctrls::TLabel* Label10;
|
|
Vcl::Stdctrls::TLabel* Label11;
|
|
Vcl::Stdctrls::TLabel* Label12;
|
|
Vcl::Stdctrls::TEdit* Edit17;
|
|
Vcl::Stdctrls::TEdit* Edit18;
|
|
Vcl::Stdctrls::TEdit* Edit19;
|
|
Vcl::Comctrls::TTrackBar* TrackBar9;
|
|
Vcl::Comctrls::TTrackBar* TrackBar10;
|
|
Vcl::Comctrls::TTrackBar* TrackBar11;
|
|
Vcl::Stdctrls::TLabel* Label13;
|
|
Vcl::Stdctrls::TLabel* Label14;
|
|
Vcl::Extctrls::TPanel* Panel3;
|
|
Vcl::Extctrls::TPanel* Panel4;
|
|
Vcl::Stdctrls::TButton* Button4;
|
|
Vcl::Stdctrls::TButton* Button5;
|
|
Vcl::Dialogs::TOpenDialog* OpenDialog1;
|
|
Vcl::Dialogs::TSaveDialog* SaveDialog1;
|
|
Vcl::Stdctrls::TEdit* Edit20;
|
|
Vcl::Comctrls::TUpDown* UpDown10;
|
|
Vcl::Stdctrls::TLabel* Label15;
|
|
Vcl::Comctrls::TTabSheet* tabEqualization;
|
|
Vcl::Extctrls::TPanel* Panel5;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox4;
|
|
Vcl::Stdctrls::TLabel* Label16;
|
|
Vcl::Stdctrls::TLabel* Label17;
|
|
Vcl::Stdctrls::TLabel* Label18;
|
|
Vcl::Stdctrls::TLabel* Label19;
|
|
Vcl::Stdctrls::TLabel* Label20;
|
|
Vcl::Stdctrls::TLabel* Label21;
|
|
Vcl::Buttons::TSpeedButton* SpeedButton3;
|
|
Vcl::Stdctrls::TLabel* Label22;
|
|
Vcl::Stdctrls::TEdit* Edit21;
|
|
Vcl::Comctrls::TTrackBar* TrackBar12;
|
|
Hsvbox::THSVBox* HSVBox3;
|
|
Hsvbox::THSVBox* HSVBox1;
|
|
Rulerbox::TRulerBox* RulerBox2;
|
|
Rulerbox::TRulerBox* RulerBox1;
|
|
Histogrambox::THistogramBox* HistogramBox1;
|
|
Vcl::Buttons::TBitBtn* PreviewButton;
|
|
Imageenview::TImageEnView* ImageEn1;
|
|
Imageenview::TImageEnView* ImageEn2;
|
|
Vcl::Comctrls::TTabSheet* tabBumpMap;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox2;
|
|
Vcl::Stdctrls::TLabel* Label23;
|
|
Vcl::Stdctrls::TLabel* Label24;
|
|
Vcl::Stdctrls::TLabel* Label26;
|
|
Vcl::Extctrls::TPanel* Panel1;
|
|
Hsvbox::THSVBox* HSVBox2;
|
|
Vcl::Stdctrls::TLabel* Label27;
|
|
Vcl::Stdctrls::TLabel* Label28;
|
|
Vcl::Stdctrls::TLabel* Label25;
|
|
Vcl::Stdctrls::TEdit* Edit22;
|
|
Vcl::Comctrls::TUpDown* UpDown11;
|
|
Vcl::Comctrls::TUpDown* UpDown12;
|
|
Vcl::Stdctrls::TEdit* Edit23;
|
|
Vcl::Stdctrls::TEdit* Edit24;
|
|
Vcl::Comctrls::TUpDown* UpDown13;
|
|
Vcl::Stdctrls::TEdit* Edit25;
|
|
Vcl::Comctrls::TUpDown* UpDown14;
|
|
Vcl::Stdctrls::TEdit* Edit26;
|
|
Vcl::Comctrls::TUpDown* UpDown15;
|
|
Vcl::Comctrls::TTabSheet* tabLens;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox5;
|
|
Vcl::Stdctrls::TLabel* Label29;
|
|
Vcl::Stdctrls::TLabel* Label30;
|
|
Vcl::Stdctrls::TLabel* Label32;
|
|
Vcl::Stdctrls::TLabel* Label33;
|
|
Vcl::Stdctrls::TEdit* Edit27;
|
|
Vcl::Comctrls::TUpDown* UpDown16;
|
|
Vcl::Comctrls::TUpDown* UpDown17;
|
|
Vcl::Stdctrls::TEdit* Edit28;
|
|
Vcl::Stdctrls::TEdit* Edit29;
|
|
Vcl::Comctrls::TUpDown* UpDown18;
|
|
Vcl::Stdctrls::TEdit* Edit30;
|
|
Vcl::Comctrls::TUpDown* UpDown19;
|
|
Vcl::Stdctrls::TLabel* Label31;
|
|
Vcl::Comctrls::TUpDown* UpDown20;
|
|
Vcl::Stdctrls::TEdit* Edit31;
|
|
Vcl::Comctrls::TTabSheet* tabWave;
|
|
Vcl::Comctrls::TTabSheet* tabMorph;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox6;
|
|
Vcl::Stdctrls::TLabel* Label34;
|
|
Vcl::Stdctrls::TEdit* Edit32;
|
|
Vcl::Comctrls::TUpDown* UpDown21;
|
|
Vcl::Comctrls::TUpDown* UpDown22;
|
|
Vcl::Stdctrls::TEdit* Edit33;
|
|
Vcl::Stdctrls::TLabel* Label35;
|
|
Vcl::Stdctrls::TLabel* Label36;
|
|
Vcl::Stdctrls::TEdit* Edit34;
|
|
Vcl::Comctrls::TUpDown* UpDown23;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox2;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox7;
|
|
Vcl::Stdctrls::TLabel* Label37;
|
|
Vcl::Stdctrls::TListBox* ListBox2;
|
|
Vcl::Stdctrls::TLabel* Label38;
|
|
Vcl::Stdctrls::TEdit* Edit35;
|
|
Vcl::Comctrls::TUpDown* UpDown24;
|
|
Vcl::Comctrls::TTabSheet* tabRotate;
|
|
Vcl::Comctrls::TTrackBar* TrackBarRotate;
|
|
Vcl::Stdctrls::TEdit* edtRotate;
|
|
Vcl::Stdctrls::TLabel* lblRotate;
|
|
Vcl::Comctrls::TTabSheet* tabFFT;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox8;
|
|
Imageenview::TImageEnView* ienFFT;
|
|
Imageenproc::TImageEnProc* iepFFT;
|
|
Vcl::Stdctrls::TButton* Clear;
|
|
Vcl::Stdctrls::TButton* Button7;
|
|
Vcl::Comctrls::TProgressBar* pbrFFT;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox1;
|
|
Vcl::Comctrls::TTabSheet* tabGamma;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox9;
|
|
Vcl::Stdctrls::TLabel* lblGammaHeading;
|
|
Vcl::Stdctrls::TEdit* edtGamma;
|
|
Vcl::Comctrls::TTrackBar* trkGamma;
|
|
Imageenview::TImageEnView* ImageEnView2;
|
|
Vcl::Stdctrls::TLabel* Label41;
|
|
Vcl::Stdctrls::TLabel* Label42;
|
|
Vcl::Stdctrls::TLabel* Label40;
|
|
Vcl::Stdctrls::TLabel* Label43;
|
|
Vcl::Comctrls::TTabSheet* tabSharpen;
|
|
Vcl::Stdctrls::TLabel* Label44;
|
|
Vcl::Stdctrls::TEdit* Edit36;
|
|
Vcl::Comctrls::TTrackBar* TrackBar4;
|
|
Vcl::Stdctrls::TLabel* Label45;
|
|
Vcl::Stdctrls::TEdit* Edit37;
|
|
Vcl::Comctrls::TUpDown* UpDown25;
|
|
Vcl::Stdctrls::TCheckBox* chkLockPreview;
|
|
Vcl::Stdctrls::TCheckBox* chkFlipHorz;
|
|
Vcl::Stdctrls::TCheckBox* chkFlipVert;
|
|
Vcl::Stdctrls::TLabel* lblFlip;
|
|
Vcl::Extctrls::TImage* Image1;
|
|
Vcl::Buttons::TBitBtn* ResetButton;
|
|
Vcl::Extctrls::TTimer* tmrUpdatePreview;
|
|
Vcl::Comctrls::TTabSheet* tabResize;
|
|
Vcl::Stdctrls::TLabel* lblResize;
|
|
Vcl::Stdctrls::TLabel* lblWidth;
|
|
Vcl::Stdctrls::TLabel* lblHeight;
|
|
Vcl::Stdctrls::TLabel* lblCurrentSize;
|
|
Vcl::Stdctrls::TLabel* lblNewSize;
|
|
Vcl::Stdctrls::TLabel* lblNewScale;
|
|
Vcl::Stdctrls::TEdit* edtOldWidth;
|
|
Vcl::Stdctrls::TLabel* lblP1;
|
|
Vcl::Stdctrls::TLabel* lblP2;
|
|
Vcl::Stdctrls::TEdit* edtOldHeight;
|
|
Vcl::Stdctrls::TCheckBox* chkMaintainAR;
|
|
Vcl::Comctrls::TUpDown* updNewWidth;
|
|
Vcl::Stdctrls::TEdit* edtNewWidth;
|
|
Vcl::Comctrls::TUpDown* updNewHeight;
|
|
Vcl::Stdctrls::TEdit* edtNewHeight;
|
|
Vcl::Stdctrls::TEdit* edtNewWidthPercent;
|
|
Vcl::Comctrls::TUpDown* updNewWidthPercent;
|
|
Vcl::Stdctrls::TEdit* edtNewHeightPercent;
|
|
Vcl::Comctrls::TUpDown* updNewHeightPercent;
|
|
Vcl::Stdctrls::TLabel* lblRotateBackground;
|
|
Vcl::Extctrls::TPanel* pnlRotateBackground;
|
|
Vcl::Comctrls::TTabSheet* tabSoftShadow;
|
|
Vcl::Stdctrls::TLabel* lblShadowRadius;
|
|
Vcl::Stdctrls::TEdit* edtShadowRadius;
|
|
Vcl::Comctrls::TUpDown* updShadowRadius;
|
|
Vcl::Stdctrls::TLabel* lblShadowOffset;
|
|
Vcl::Stdctrls::TEdit* edtShadowOffset;
|
|
Vcl::Comctrls::TUpDown* updShadowOffset;
|
|
Vcl::Stdctrls::TLabel* lblShadowColor;
|
|
Vcl::Extctrls::TPanel* pnlShadowColor;
|
|
Vcl::Stdctrls::TLabel* lblAddSoftShadow;
|
|
Vcl::Stdctrls::TLabel* lblShadowPosition;
|
|
Vcl::Stdctrls::TComboBox* cmbShadowPosition;
|
|
Vcl::Comctrls::TTabSheet* tabAutoEnhance;
|
|
Vcl::Stdctrls::TComboBox* cmbAutoEnhance;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance;
|
|
Vcl::Extctrls::TPanel* pnlAutoEnhance1;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance1Slope;
|
|
Vcl::Stdctrls::TEdit* edtAutoEnhance1Slope;
|
|
Vcl::Comctrls::TUpDown* updAutoEnhance1Slope;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance1Range;
|
|
Vcl::Stdctrls::TEdit* edtAutoEnhance1Range;
|
|
Vcl::Comctrls::TUpDown* updAutoEnhance1Range;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance1Quality;
|
|
Vcl::Stdctrls::TEdit* edtAutoEnhance1Quality;
|
|
Vcl::Comctrls::TUpDown* updAutoEnhance1Quality;
|
|
Vcl::Extctrls::TPanel* pnlAutoEnhance3;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance3Gamma;
|
|
Vcl::Comctrls::TUpDown* updAutoEnhance3Gamma;
|
|
Vcl::Stdctrls::TEdit* edtAutoEnhance3Gamma;
|
|
Vcl::Comctrls::TUpDown* updAutoEnhance3Saturation;
|
|
Vcl::Stdctrls::TEdit* edtAutoEnhance3Saturation;
|
|
Vcl::Stdctrls::TLabel* lblAutoEnhance3Saturation;
|
|
Vcl::Comctrls::TTabSheet* tabCrop;
|
|
Vcl::Stdctrls::TLabel* lblCropLeft;
|
|
Vcl::Stdctrls::TEdit* edtCropLeft;
|
|
Vcl::Comctrls::TUpDown* updCropLeft;
|
|
Vcl::Stdctrls::TLabel* lblCropTop;
|
|
Vcl::Stdctrls::TEdit* edtCropTop;
|
|
Vcl::Comctrls::TUpDown* updCropTop;
|
|
Vcl::Stdctrls::TEdit* edtCropRight;
|
|
Vcl::Comctrls::TUpDown* updCropRight;
|
|
Vcl::Stdctrls::TLabel* lblCropBottom;
|
|
Vcl::Stdctrls::TEdit* edtCropBottom;
|
|
Vcl::Comctrls::TUpDown* updCropBottom;
|
|
Vcl::Stdctrls::TLabel* lblCropImage;
|
|
Vcl::Stdctrls::TLabel* lblCropBackground;
|
|
Vcl::Extctrls::TPanel* pnlCropBackground;
|
|
Vcl::Stdctrls::TLabel* lblCropRight;
|
|
Vcl::Stdctrls::TCheckBox* chkGammaRed;
|
|
Vcl::Stdctrls::TCheckBox* chkGammaGreen;
|
|
Vcl::Stdctrls::TCheckBox* chkGammaBlue;
|
|
Vcl::Stdctrls::TCheckBox* chkEqualRed;
|
|
Vcl::Stdctrls::TCheckBox* chkEqualGreen;
|
|
Vcl::Stdctrls::TCheckBox* chkEqualBlue;
|
|
Vcl::Stdctrls::TCheckBox* chkEqualGray;
|
|
Vcl::Stdctrls::TLabel* Label39;
|
|
Vcl::Stdctrls::TComboBox* ComboBox1;
|
|
void __fastcall AutoEnhanceControlChange(System::TObject* Sender);
|
|
void __fastcall FormActivate(System::TObject* Sender);
|
|
void __fastcall TrackBar1Change(System::TObject* Sender);
|
|
void __fastcall Edit1Change(System::TObject* Sender);
|
|
void __fastcall TrackBar2Change(System::TObject* Sender);
|
|
void __fastcall Edit4Change(System::TObject* Sender);
|
|
void __fastcall FormDestroy(System::TObject* Sender);
|
|
void __fastcall PageControl1Change(System::TObject* Sender);
|
|
void __fastcall Button4Click(System::TObject* Sender);
|
|
void __fastcall ResultToSourceButtonClick(System::TObject* Sender);
|
|
void __fastcall ImageEn1ViewChange(System::TObject* Sender, int Change);
|
|
void __fastcall TrackBar6Change(System::TObject* Sender);
|
|
void __fastcall Edit7Change(System::TObject* Sender);
|
|
void __fastcall Edit8Change(System::TObject* Sender);
|
|
void __fastcall ListBox1Click(System::TObject* Sender);
|
|
void __fastcall Button5Click(System::TObject* Sender);
|
|
void __fastcall OkButtonClick(System::TObject* Sender);
|
|
void __fastcall TrackBar9Change(System::TObject* Sender);
|
|
void __fastcall Edit19Change(System::TObject* Sender);
|
|
void __fastcall HSVBox3Change(System::TObject* Sender);
|
|
void __fastcall ImageEn2MouseUp(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
|
|
void __fastcall chkEqualClick(System::TObject* Sender);
|
|
void __fastcall RulerBox2RulerPosChange(System::TObject* Sender, Iexrulers::TRulerDir RulerDir, int Grip, double NewPos);
|
|
void __fastcall RulerBox1RulerPosChange(System::TObject* Sender, Iexrulers::TRulerDir RulerDir, int Grip, double NewPos);
|
|
void __fastcall SpeedButton3Click(System::TObject* Sender);
|
|
void __fastcall FormCreate(System::TObject* Sender);
|
|
void __fastcall PreviewButtonClick(System::TObject* Sender);
|
|
void __fastcall chkLockPreviewClick(System::TObject* Sender);
|
|
void __fastcall Edit22Change(System::TObject* Sender);
|
|
void __fastcall HSVBox2Change(System::TObject* Sender);
|
|
void __fastcall Edit27Change(System::TObject* Sender);
|
|
void __fastcall Edit32Change(System::TObject* Sender);
|
|
void __fastcall Edit35Change(System::TObject* Sender);
|
|
void __fastcall TrackBarRotateChange(System::TObject* Sender);
|
|
void __fastcall edtRotateChange(System::TObject* Sender);
|
|
void __fastcall chkFlipHorzClick(System::TObject* Sender);
|
|
void __fastcall ClearClick(System::TObject* Sender);
|
|
void __fastcall Button7Click(System::TObject* Sender);
|
|
void __fastcall iepFFTProgress(System::TObject* Sender, int per);
|
|
void __fastcall CheckBox1Click(System::TObject* Sender);
|
|
void __fastcall trkGammaChange(System::TObject* Sender);
|
|
void __fastcall chkGammaClick(System::TObject* Sender);
|
|
void __fastcall CropControlChange(System::TObject* Sender);
|
|
void __fastcall TrackBar4Change(System::TObject* Sender);
|
|
void __fastcall Edit36Change(System::TObject* Sender);
|
|
void __fastcall FormResize(System::TObject* Sender);
|
|
void __fastcall ResetButtonClick(System::TObject* Sender);
|
|
void __fastcall edtNewHeightChange(System::TObject* Sender);
|
|
void __fastcall edtNewWidthChange(System::TObject* Sender);
|
|
void __fastcall edtNewWidthPercentChange(System::TObject* Sender);
|
|
void __fastcall tmrUpdatePreviewTimer(System::TObject* Sender);
|
|
void __fastcall edtNewHeightPercentChange(System::TObject* Sender);
|
|
void __fastcall ImageEn1SelectionChange(System::TObject* Sender);
|
|
void __fastcall pnlRotateBackgroundClick(System::TObject* Sender);
|
|
void __fastcall SoftShadowControlChange(System::TObject* Sender);
|
|
void __fastcall updAutoEnhance3GammaClick(System::TObject* Sender, Vcl::Comctrls::TUDBtnType Button);
|
|
void __fastcall ComboBox1Change(System::TObject* Sender);
|
|
|
|
private:
|
|
bool fHaveActivated;
|
|
int fMedR;
|
|
int fMedG;
|
|
int fMedB;
|
|
bool fDoFilters;
|
|
bool fDoChange;
|
|
bool fDoProgress;
|
|
bool fResized;
|
|
bool fUpdatingSize;
|
|
bool fDoSelecting;
|
|
void __fastcall ApplyAct(Imageenview::TImageEnView* im, bool bPreview = true);
|
|
void __fastcall CopyOrg();
|
|
void __fastcall CopyModToOrg();
|
|
void __fastcall LoadFilt();
|
|
void __fastcall ResetParameters(bool rs);
|
|
void __fastcall UpdatePreviewZoom();
|
|
void __fastcall UpdatePreview(bool bForce = false);
|
|
void __fastcall DrawGammaGraph(double g);
|
|
void __fastcall GetIPParams();
|
|
MESSAGE void __fastcall WMEXITSIZEMOVE(Winapi::Messages::TMessage &Message);
|
|
|
|
public:
|
|
int Contrast;
|
|
int Brightness;
|
|
int Hue;
|
|
int Sat;
|
|
int Lum;
|
|
int bHue;
|
|
int bSat;
|
|
int bVal;
|
|
int Red;
|
|
int Green;
|
|
int Blue;
|
|
Imageenproc::TGraphFilter Filter;
|
|
Hyiedefs::TRGB DownLimit;
|
|
Hyiedefs::TRGB UpLimit;
|
|
Hyiedefs::TRGB EDownLimit;
|
|
Hyiedefs::TRGB EUpLimit;
|
|
bool AutoEqualize;
|
|
int BumpLeft;
|
|
int BumpTop;
|
|
int BumpWidth;
|
|
int BumpHeight;
|
|
Hyiedefs::TRGB BumpCol;
|
|
int BumpSrc;
|
|
int LensLeft;
|
|
int LensTop;
|
|
int LensWidth;
|
|
int LensHeight;
|
|
double LensRef;
|
|
int WaveAmplitude;
|
|
int WaveWaveLength;
|
|
int WavePhase;
|
|
bool WaveReflect;
|
|
int MorphFilter;
|
|
int MorphWinSize;
|
|
double RotationAngle;
|
|
bool FlipHorz;
|
|
bool FlipVert;
|
|
int Sharpen;
|
|
int SharpenSize;
|
|
int ResizePercent;
|
|
int ShadowRadius;
|
|
int ShadowOffset;
|
|
int AutoEnhance1Slope;
|
|
int AutoEnhance1Range;
|
|
double AutoEnhance3Gamma;
|
|
int AutoEnhance3Saturation;
|
|
int CropLeft;
|
|
int CropTop;
|
|
int CropRight;
|
|
int CropBottom;
|
|
int FFTProgressPos;
|
|
Iefft::TIEFtImage* FTImage;
|
|
Imageenproc::TPreviewEffects pe;
|
|
Hyiedefs::TProgressRec Progress;
|
|
bool DefaultLockPreview;
|
|
System::StaticArray<bool, 18> ars;
|
|
_TfPreviews__1 undos;
|
|
Vcl::Comctrls::TTabSheet* InitialPage;
|
|
System::UnicodeString UndoCaption;
|
|
Imageenproc::TIPDialogParams* fIPDialogParams;
|
|
bool ShowReset;
|
|
bool HardReset;
|
|
bool ResetAllTabs;
|
|
System::Classes::TStringList* OpList;
|
|
System::UnicodeString CurrentOp;
|
|
void __fastcall UpdateLanguage();
|
|
public:
|
|
/* TCustomForm.Create */ inline __fastcall virtual TfPreviews(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
|
|
/* TCustomForm.CreateNew */ inline __fastcall virtual TfPreviews(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
|
|
/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfPreviews(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
|
|
/* TCustomForm.Destroy */ inline __fastcall virtual ~TfPreviews() { }
|
|
|
|
public:
|
|
/* TWinControl.CreateParented */ inline __fastcall TfPreviews(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
|
|
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
static _DELPHI_CONST System::Int8 Previews_Tab_Count = System::Int8(0x12);
|
|
static _DELPHI_CONST System::Word Min_Preview_Dialog_Width = System::Word(0x224);
|
|
static _DELPHI_CONST System::Word Min_Preview_Dialog_Height = System::Word(0x1c6);
|
|
static _DELPHI_CONST System::Word Default_Preview_Dialog_ClientWidth = System::Word(0x22a);
|
|
static _DELPHI_CONST System::Word Default_Preview_Dialog_ClientHeight = System::Word(0x1a6);
|
|
} /* namespace Previews */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_PREVIEWS)
|
|
using namespace Previews;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // previewsHPP
|