340 lines
12 KiB
C++
340 lines
12 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'iopreviews.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef iopreviewsHPP
|
|
#define iopreviewsHPP
|
|
|
|
#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 <imageenproc.hpp>
|
|
#include <Vcl.ComCtrls.hpp>
|
|
#include <Vcl.StdCtrls.hpp>
|
|
#include <imageenview.hpp>
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
#include <imageenio.hpp>
|
|
#include <iexBitmaps.hpp>
|
|
#include <Vcl.Buttons.hpp>
|
|
#include <hyiedefs.hpp>
|
|
#include <ieview.hpp>
|
|
#include <hyieutils.hpp>
|
|
#include <Vcl.Dialogs.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Iopreviews
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TfIOPreviews;
|
|
//-- type declarations -------------------------------------------------------
|
|
class PASCALIMPLEMENTATION TfIOPreviews : public Vcl::Forms::TForm
|
|
{
|
|
typedef Vcl::Forms::TForm inherited;
|
|
|
|
__published:
|
|
Vcl::Buttons::TBitBtn* btnOK;
|
|
Vcl::Buttons::TBitBtn* btnCancel;
|
|
Vcl::Comctrls::TPageControl* PageControl1;
|
|
Vcl::Comctrls::TTabSheet* TabSheetJPEG1;
|
|
Vcl::Stdctrls::TLabel* Label23;
|
|
Vcl::Stdctrls::TLabel* Label24;
|
|
Vcl::Stdctrls::TLabel* Label25;
|
|
Vcl::Stdctrls::TEdit* Edit22;
|
|
Vcl::Comctrls::TTrackBar* TrackBar13;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox5;
|
|
Vcl::Stdctrls::TLabel* Label26;
|
|
Vcl::Stdctrls::TLabel* Label27;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox2;
|
|
Vcl::Stdctrls::TComboBox* ComboBox1;
|
|
Vcl::Stdctrls::TEdit* Edit23;
|
|
Vcl::Comctrls::TUpDown* UpDown11;
|
|
Vcl::Stdctrls::TLabel* Label3;
|
|
Vcl::Stdctrls::TLabel* Label4;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox3;
|
|
Vcl::Buttons::TBitBtn* btnPreview;
|
|
Vcl::Comctrls::TTabSheet* TabSheetTIFF1;
|
|
Vcl::Stdctrls::TLabel* Label5;
|
|
Vcl::Stdctrls::TComboBox* ComboBox2;
|
|
Vcl::Stdctrls::TLabel* Label6;
|
|
Vcl::Stdctrls::TEdit* Edit1;
|
|
Vcl::Comctrls::TUpDown* UpDown1;
|
|
Vcl::Stdctrls::TLabel* Label7;
|
|
Vcl::Stdctrls::TComboBox* ComboBox3;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox1;
|
|
Vcl::Stdctrls::TLabel* Label8;
|
|
Vcl::Stdctrls::TLabel* Label10;
|
|
Vcl::Stdctrls::TEdit* Edit2;
|
|
Vcl::Stdctrls::TEdit* Edit3;
|
|
Vcl::Stdctrls::TLabel* Label12;
|
|
Vcl::Stdctrls::TEdit* Edit4;
|
|
Vcl::Stdctrls::TLabel* Label13;
|
|
Vcl::Stdctrls::TEdit* Edit5;
|
|
Vcl::Stdctrls::TLabel* Label14;
|
|
Vcl::Stdctrls::TEdit* Edit6;
|
|
Vcl::Stdctrls::TLabel* Label15;
|
|
Vcl::Stdctrls::TEdit* Edit7;
|
|
Vcl::Stdctrls::TLabel* Label16;
|
|
Vcl::Stdctrls::TEdit* Edit8;
|
|
Vcl::Stdctrls::TLabel* Label19;
|
|
Vcl::Stdctrls::TComboBox* ComboBox4;
|
|
Vcl::Comctrls::TTabSheet* TabSheetGIF1;
|
|
Vcl::Stdctrls::TLabel* Label20;
|
|
Vcl::Stdctrls::TEdit* Edit9;
|
|
Vcl::Comctrls::TUpDown* UpDown2;
|
|
Vcl::Stdctrls::TLabel* Label21;
|
|
Vcl::Stdctrls::TComboBox* ComboBox5;
|
|
Vcl::Stdctrls::TLabel* Label34;
|
|
Vcl::Extctrls::TPanel* Panel3;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox4;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox5;
|
|
Vcl::Stdctrls::TLabel* Label35;
|
|
Vcl::Extctrls::TPanel* Panel4;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox2;
|
|
Vcl::Stdctrls::TEdit* Edit12;
|
|
Vcl::Stdctrls::TLabel* Label33;
|
|
Vcl::Stdctrls::TLabel* Label31;
|
|
Vcl::Stdctrls::TEdit* Edit10;
|
|
Vcl::Stdctrls::TLabel* Label32;
|
|
Vcl::Stdctrls::TEdit* Edit11;
|
|
Vcl::Stdctrls::TLabel* Label36;
|
|
Vcl::Comctrls::TTabSheet* TabSheetBMP1;
|
|
Vcl::Stdctrls::TLabel* Label37;
|
|
Vcl::Stdctrls::TComboBox* ComboBox6;
|
|
Vcl::Stdctrls::TLabel* Label38;
|
|
Vcl::Stdctrls::TComboBox* ComboBox7;
|
|
Vcl::Comctrls::TTabSheet* TabSheetPCX1;
|
|
Vcl::Stdctrls::TLabel* Label43;
|
|
Vcl::Stdctrls::TComboBox* ComboBox8;
|
|
Vcl::Stdctrls::TLabel* Label44;
|
|
Vcl::Stdctrls::TComboBox* ComboBox9;
|
|
Vcl::Comctrls::TTabSheet* TabSheetPNG1;
|
|
Vcl::Stdctrls::TLabel* Label49;
|
|
Vcl::Stdctrls::TComboBox* ComboBox10;
|
|
Vcl::Stdctrls::TLabel* Label54;
|
|
Vcl::Extctrls::TPanel* Panel1;
|
|
Vcl::Stdctrls::TGroupBox* GroupBox3;
|
|
Vcl::Stdctrls::TLabel* Label55;
|
|
Vcl::Stdctrls::TComboBox* ComboBox11;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox6;
|
|
Vcl::Stdctrls::TLabel* Label56;
|
|
Vcl::Stdctrls::TComboBox* ComboBox12;
|
|
Vcl::Stdctrls::TLabel* Label57;
|
|
Vcl::Stdctrls::TComboBox* ComboBox13;
|
|
Vcl::Comctrls::TTabSheet* TabSheetTGA1;
|
|
Vcl::Stdctrls::TLabel* Label62;
|
|
Vcl::Stdctrls::TComboBox* ComboBox14;
|
|
Vcl::Stdctrls::TLabel* Label63;
|
|
Vcl::Extctrls::TPanel* Panel5;
|
|
Vcl::Stdctrls::TCheckBox* CheckBox1;
|
|
Vcl::Stdctrls::TLabel* Label64;
|
|
Vcl::Stdctrls::TEdit* Edit13;
|
|
Vcl::Stdctrls::TLabel* Label65;
|
|
Vcl::Stdctrls::TEdit* Edit14;
|
|
Vcl::Stdctrls::TLabel* Label9;
|
|
Vcl::Stdctrls::TLabel* Label11;
|
|
Vcl::Stdctrls::TLabel* Label17;
|
|
Vcl::Stdctrls::TLabel* Label18;
|
|
Vcl::Stdctrls::TLabel* Label22;
|
|
Vcl::Stdctrls::TLabel* Label28;
|
|
Vcl::Stdctrls::TLabel* Label29;
|
|
Vcl::Stdctrls::TLabel* Label30;
|
|
Vcl::Stdctrls::TLabel* Label39;
|
|
Vcl::Stdctrls::TLabel* Label40;
|
|
Vcl::Stdctrls::TLabel* Label41;
|
|
Vcl::Stdctrls::TLabel* Label42;
|
|
Vcl::Stdctrls::TLabel* Label45;
|
|
Vcl::Stdctrls::TLabel* Label46;
|
|
Vcl::Stdctrls::TLabel* Label47;
|
|
Vcl::Stdctrls::TLabel* Label48;
|
|
Vcl::Stdctrls::TLabel* Label50;
|
|
Vcl::Stdctrls::TLabel* Label51;
|
|
Vcl::Stdctrls::TLabel* Label52;
|
|
Vcl::Stdctrls::TLabel* Label53;
|
|
Vcl::Stdctrls::TLabel* Label58;
|
|
Vcl::Stdctrls::TLabel* Label59;
|
|
Vcl::Stdctrls::TLabel* Label60;
|
|
Vcl::Stdctrls::TLabel* Label61;
|
|
Vcl::Buttons::TBitBtn* btnApply;
|
|
Vcl::Comctrls::TTabSheet* TabSheetJ20001;
|
|
Vcl::Stdctrls::TLabel* Label66;
|
|
Vcl::Stdctrls::TEdit* Edit15;
|
|
Vcl::Comctrls::TTrackBar* TrackBar1;
|
|
Vcl::Stdctrls::TLabel* Label67;
|
|
Vcl::Stdctrls::TLabel* Label68;
|
|
Vcl::Stdctrls::TLabel* Label69;
|
|
Vcl::Stdctrls::TLabel* Label70;
|
|
Vcl::Stdctrls::TLabel* Label71;
|
|
Vcl::Stdctrls::TComboBox* ComboBox15;
|
|
Vcl::Comctrls::TTabSheet* TabSheetJPEG2;
|
|
Vcl::Stdctrls::TLabel* Label72;
|
|
Vcl::Stdctrls::TEdit* Edit16;
|
|
Vcl::Comctrls::TTrackBar* TrackBar2;
|
|
Vcl::Stdctrls::TLabel* Label73;
|
|
Vcl::Stdctrls::TLabel* Label74;
|
|
Vcl::Stdctrls::TLabel* Label75;
|
|
Vcl::Stdctrls::TLabel* Label76;
|
|
Vcl::Comctrls::TTabSheet* TabSheetTIFF2;
|
|
Vcl::Stdctrls::TLabel* Label77;
|
|
Vcl::Stdctrls::TLabel* Label78;
|
|
Vcl::Stdctrls::TLabel* Label79;
|
|
Vcl::Stdctrls::TLabel* Label80;
|
|
Vcl::Stdctrls::TLabel* Label81;
|
|
Vcl::Stdctrls::TComboBox* ComboBox16;
|
|
Vcl::Stdctrls::TLabel* Label82;
|
|
Vcl::Stdctrls::TComboBox* ComboBox17;
|
|
Vcl::Comctrls::TTabSheet* TabSheetGIF2;
|
|
Vcl::Stdctrls::TLabel* Label83;
|
|
Vcl::Stdctrls::TLabel* Label84;
|
|
Vcl::Stdctrls::TLabel* Label85;
|
|
Vcl::Stdctrls::TLabel* Label86;
|
|
Vcl::Stdctrls::TLabel* Label87;
|
|
Vcl::Stdctrls::TComboBox* ComboBox18;
|
|
Vcl::Stdctrls::TCheckBox* chkLockPreview;
|
|
Vcl::Extctrls::TImage* Image1;
|
|
Vcl::Stdctrls::TLabel* lblSource;
|
|
Imageenview::TImageEnView* ienSource;
|
|
Vcl::Stdctrls::TLabel* lblPreview;
|
|
Imageenview::TImageEnView* ienPreview;
|
|
Vcl::Comctrls::TProgressBar* pbrPreview;
|
|
Vcl::Extctrls::TTimer* tmrApplyAct;
|
|
void __fastcall PageControl1Change(System::TObject* Sender);
|
|
void __fastcall FormCreate(System::TObject* Sender);
|
|
void __fastcall Edit22Change(System::TObject* Sender);
|
|
void __fastcall TrackBar13Change(System::TObject* Sender);
|
|
void __fastcall FormActivate(System::TObject* Sender);
|
|
void __fastcall ienSourceViewChange(System::TObject* Sender, int Change);
|
|
void __fastcall chkLockPreviewClick(System::TObject* Sender);
|
|
void __fastcall btnPreviewClick(System::TObject* Sender);
|
|
void __fastcall ComboBox2Click(System::TObject* Sender);
|
|
void __fastcall Panel3Click(System::TObject* Sender);
|
|
void __fastcall Panel4Click(System::TObject* Sender);
|
|
void __fastcall ComboBox5Click(System::TObject* Sender);
|
|
void __fastcall ComboBox6Change(System::TObject* Sender);
|
|
void __fastcall ComboBox8Change(System::TObject* Sender);
|
|
void __fastcall btnOKClick(System::TObject* Sender);
|
|
void __fastcall ComboBox10Change(System::TObject* Sender);
|
|
void __fastcall Panel1Click(System::TObject* Sender);
|
|
void __fastcall PageControl1Changing(System::TObject* Sender, bool &AllowChange);
|
|
void __fastcall ComboBox14Click(System::TObject* Sender);
|
|
void __fastcall Panel5Click(System::TObject* Sender);
|
|
void __fastcall btnApplyClick(System::TObject* Sender);
|
|
void __fastcall Edit15Change(System::TObject* Sender);
|
|
void __fastcall TrackBar1Change(System::TObject* Sender);
|
|
void __fastcall Edit16Change(System::TObject* Sender);
|
|
void __fastcall TrackBar2Change(System::TObject* Sender);
|
|
void __fastcall ComboBox16Change(System::TObject* Sender);
|
|
void __fastcall ComboBox18Change(System::TObject* Sender);
|
|
void __fastcall ienSourceProgress(System::TObject* Sender, int per);
|
|
void __fastcall FormResize(System::TObject* Sender);
|
|
void __fastcall tmrApplyActTimer(System::TObject* Sender);
|
|
|
|
private:
|
|
bool fHaveActivated;
|
|
Hyieutils::TPreviewParams pp;
|
|
System::WideString msgCancel;
|
|
bool fDoChange;
|
|
bool fSimplified;
|
|
void __fastcall ApplyAct();
|
|
void __fastcall CheckApplyAct();
|
|
void __fastcall SetSimplified(const bool Value);
|
|
|
|
public:
|
|
Iexbitmaps::TIOParams* Params;
|
|
int JPEG_Quality;
|
|
int JPEG_Photometric;
|
|
int JPEG_DCTMethod;
|
|
bool JPEG_OptimalHuffman;
|
|
int JPEG_Smooth;
|
|
bool JPEG_Progressive;
|
|
double J2000_Rate;
|
|
int J2000_ColorSpace;
|
|
Iexbitmaps::TIOTIFFCompression TIFF_Compression;
|
|
int TIFF_ImageIndex;
|
|
Iexbitmaps::TIOTIFFPhotometInterpret TIFF_PhotometInterpret;
|
|
int TIFF_XPos;
|
|
int TIFF_YPos;
|
|
System::AnsiString TIFF_DocumentName;
|
|
System::AnsiString TIFF_ImageDescription;
|
|
System::AnsiString TIFF_PageName;
|
|
int TIFF_PageNumber;
|
|
int TIFF_PageCount;
|
|
int TIFF_BitsPerSample;
|
|
int TIFF_SamplesPerPixel;
|
|
Hyiedefs::TTIFFLZWDecompFunc TIFF_LZWDecompFunc;
|
|
Hyiedefs::TTIFFLZWCompFunc TIFF_LZWCompFunc;
|
|
int GIF_ImageIndex;
|
|
int GIF_XPos;
|
|
int GIF_YPos;
|
|
int GIF_DelayTime;
|
|
bool GIF_FlagTranspColor;
|
|
Hyiedefs::TRGB GIF_TranspColor;
|
|
bool GIF_Interlaced;
|
|
Hyiedefs::TRGB GIF_Background;
|
|
int GIF_BitsPerSample;
|
|
Hyiedefs::TGIFLZWDecompFunc GIF_LZWDecompFunc;
|
|
Hyiedefs::TGIFLZWCompFunc GIF_LZWCompFunc;
|
|
Iexbitmaps::TIOBMPCompression BMP_Compression;
|
|
int BMP_BitsPerPixel;
|
|
Iexbitmaps::TIOPCXCompression PCX_Compression;
|
|
int PCX_BitsPerPixel;
|
|
int PNG_Colors;
|
|
bool PNG_Interlaced;
|
|
Hyiedefs::TRGB PNG_Background;
|
|
int PNG_Filter;
|
|
int PNG_Compression;
|
|
int TGA_Colors;
|
|
Hyiedefs::TRGB TGA_Background;
|
|
bool TGA_Compressed;
|
|
System::AnsiString TGA_Name;
|
|
System::AnsiString TGA_Description;
|
|
bool DefaultLockPreview;
|
|
System::StaticArray<bool, 8> ars;
|
|
int xper;
|
|
int xdiv;
|
|
Hyieutils::TIEDitherMethod fDefaultDitherMethod;
|
|
bool fInitialized;
|
|
void __fastcall UpdateLanguage();
|
|
void __fastcall ApplyParameters();
|
|
void __fastcall ResetParameters();
|
|
bool __fastcall SetPreviewParams(Hyieutils::TPreviewParams xpp);
|
|
__property bool Simplified = {read=fSimplified, write=SetSimplified, nodefault};
|
|
public:
|
|
/* TCustomForm.Create */ inline __fastcall virtual TfIOPreviews(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
|
|
/* TCustomForm.CreateNew */ inline __fastcall virtual TfIOPreviews(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
|
|
/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfIOPreviews(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
|
|
/* TCustomForm.Destroy */ inline __fastcall virtual ~TfIOPreviews() { }
|
|
|
|
public:
|
|
/* TWinControl.CreateParented */ inline __fastcall TfIOPreviews(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
|
|
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Iopreviews */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IOPREVIEWS)
|
|
using namespace Iopreviews;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // iopreviewsHPP
|