// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'IOPreviews.pas' rev: 4.00

#ifndef IOPreviewsHPP
#define IOPreviewsHPP

#pragma delphiheader begin
#pragma option push -w-
#include <hyiedefs.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <ImageEnIO.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <ImageEn.hpp>	// Pascal unit
#include <ImageEnView.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <ImageEnProc.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Iopreviews
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfIOPreviews;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TfIOPreviews : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TButton* Button1;
	Stdctrls::TButton* Button2;
	Comctrls::TPageControl* PageControl1;
	Comctrls::TTabSheet* TabSheet1;
	Stdctrls::TLabel* Label23;
	Stdctrls::TLabel* Label24;
	Stdctrls::TLabel* Label25;
	Stdctrls::TEdit* Edit22;
	Comctrls::TTrackBar* TrackBar13;
	Stdctrls::TGroupBox* GroupBox5;
	Stdctrls::TLabel* Label26;
	Stdctrls::TLabel* Label27;
	Stdctrls::TCheckBox* CheckBox2;
	Stdctrls::TComboBox* ComboBox1;
	Stdctrls::TEdit* Edit23;
	Comctrls::TUpDown* UpDown11;
	Stdctrls::TLabel* Label3;
	Stdctrls::TLabel* Label4;
	Stdctrls::TCheckBox* CheckBox3;
	Buttons::TSpeedButton* SpeedButton1;
	Stdctrls::TButton* Button3;
	Comctrls::TTabSheet* TabSheet2;
	Stdctrls::TLabel* Label5;
	Stdctrls::TComboBox* ComboBox2;
	Stdctrls::TLabel* Label6;
	Stdctrls::TEdit* Edit1;
	Comctrls::TUpDown* UpDown1;
	Stdctrls::TLabel* Label7;
	Stdctrls::TComboBox* ComboBox3;
	Stdctrls::TGroupBox* GroupBox1;
	Stdctrls::TLabel* Label8;
	Stdctrls::TLabel* Label10;
	Stdctrls::TEdit* Edit2;
	Stdctrls::TEdit* Edit3;
	Stdctrls::TLabel* Label12;
	Stdctrls::TEdit* Edit4;
	Stdctrls::TLabel* Label13;
	Stdctrls::TEdit* Edit5;
	Stdctrls::TLabel* Label14;
	Stdctrls::TEdit* Edit6;
	Stdctrls::TLabel* Label15;
	Stdctrls::TEdit* Edit7;
	Stdctrls::TLabel* Label16;
	Stdctrls::TEdit* Edit8;
	Stdctrls::TLabel* Label9;
	Stdctrls::TLabel* Label11;
	Stdctrls::TLabel* Label17;
	Stdctrls::TLabel* Label18;
	Stdctrls::TLabel* Label19;
	Stdctrls::TComboBox* ComboBox4;
	Comctrls::TTabSheet* TabSheet3;
	Stdctrls::TLabel* Label20;
	Stdctrls::TEdit* Edit9;
	Comctrls::TUpDown* UpDown2;
	Stdctrls::TLabel* Label21;
	Stdctrls::TComboBox* ComboBox5;
	Stdctrls::TLabel* Label22;
	Stdctrls::TLabel* Label28;
	Stdctrls::TLabel* Label29;
	Stdctrls::TLabel* Label30;
	Stdctrls::TLabel* Label34;
	Extctrls::TPanel* Panel3;
	Stdctrls::TCheckBox* CheckBox4;
	Stdctrls::TCheckBox* CheckBox5;
	Stdctrls::TLabel* Label35;
	Extctrls::TPanel* Panel4;
	Stdctrls::TGroupBox* GroupBox2;
	Stdctrls::TEdit* Edit12;
	Stdctrls::TLabel* Label33;
	Stdctrls::TLabel* Label31;
	Stdctrls::TEdit* Edit10;
	Stdctrls::TLabel* Label32;
	Stdctrls::TEdit* Edit11;
	Stdctrls::TLabel* Label36;
	Comctrls::TTabSheet* TabSheet4;
	Stdctrls::TLabel* Label37;
	Stdctrls::TComboBox* ComboBox6;
	Stdctrls::TLabel* Label38;
	Stdctrls::TComboBox* ComboBox7;
	Stdctrls::TLabel* Label39;
	Stdctrls::TLabel* Label40;
	Stdctrls::TLabel* Label41;
	Stdctrls::TLabel* Label42;
	Comctrls::TTabSheet* TabSheet5;
	Stdctrls::TLabel* Label43;
	Stdctrls::TComboBox* ComboBox8;
	Stdctrls::TLabel* Label44;
	Stdctrls::TComboBox* ComboBox9;
	Stdctrls::TLabel* Label45;
	Stdctrls::TLabel* Label46;
	Stdctrls::TLabel* Label47;
	Stdctrls::TLabel* Label48;
	Comctrls::TTabSheet* TabSheet6;
	Stdctrls::TLabel* Label49;
	Stdctrls::TComboBox* ComboBox10;
	Stdctrls::TLabel* Label50;
	Stdctrls::TLabel* Label51;
	Stdctrls::TLabel* Label52;
	Stdctrls::TLabel* Label53;
	Stdctrls::TLabel* Label54;
	Extctrls::TPanel* Panel1;
	Dialogs::TColorDialog* ColorDialog1;
	Stdctrls::TGroupBox* GroupBox3;
	Stdctrls::TLabel* Label55;
	Stdctrls::TComboBox* ComboBox11;
	Stdctrls::TCheckBox* CheckBox6;
	Stdctrls::TLabel* Label56;
	Stdctrls::TComboBox* ComboBox12;
	Extctrls::TPanel* Panel2;
	Stdctrls::TLabel* Label1;
	Stdctrls::TLabel* Label2;
	Imageen::TImageEn* ImageEn1;
	Imageen::TImageEn* ImageEn2;
	Comctrls::TProgressBar* ProgressBar1;
	Stdctrls::TLabel* Label57;
	Stdctrls::TComboBox* ComboBox13;
	Comctrls::TTabSheet* TabSheet7;
	Stdctrls::TLabel* Label58;
	Stdctrls::TLabel* Label59;
	Stdctrls::TLabel* Label60;
	Stdctrls::TLabel* Label61;
	Stdctrls::TLabel* Label62;
	Stdctrls::TComboBox* ComboBox14;
	Stdctrls::TLabel* Label63;
	Extctrls::TPanel* Panel5;
	Stdctrls::TCheckBox* CheckBox1;
	Stdctrls::TLabel* Label64;
	Stdctrls::TEdit* Edit13;
	Stdctrls::TLabel* Label65;
	Stdctrls::TEdit* Edit14;
	void __fastcall PageControl1Change(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall Edit22Change(System::TObject* Sender);
	void __fastcall TrackBar13Change(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall ImageEn1ViewChange(System::TObject* Sender, int Change);
	void __fastcall SpeedButton1Click(System::TObject* Sender);
	void __fastcall Button3Click(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 Button1Click(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);
	
private:
	Imageenio::TPreviewParams pp;
	AnsiString msgCancel;
	bool dochange;
	Imageenio::TImageEnIO* fImageEnIO;
	Imageenproc::TImageEnProc* fImageEnProc;
	void __fastcall applyAct(Imageen::TImageEn* im);
	
public:
	Imageenio::TIOParamsVals* fParams;
	int JPEG_Quality;
	int JPEG_Photometric;
	int JPEG_DCTMethod;
	bool JPEG_OptimalHuffman;
	int JPEG_Smooth;
	bool JPEG_Progressive;
	Imageenio::TIOTIFFCompression TIFF_Compression;
	int TIFF_ImageIndex;
	Imageenio::TIOTIFFPhotometInterpret TIFF_PhotometInterpret;
	int TIFF_XPos;
	int TIFF_YPos;
	AnsiString TIFF_DocumentName;
	AnsiString TIFF_ImageDescription;
	AnsiString TIFF_PageName;
	int TIFF_PageNumber;
	int TIFF_PageCount;
	int TIFF_BitsPerSample;
	int TIFF_SamplesPerPixel;
	Imageenio::TTIFFLZWDecompFunc TIFF_LZWDecompFunc;
	Imageenio::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;
	Imageenio::TGIFLZWDecompFunc GIF_LZWDecompFunc;
	Imageenio::TGIFLZWCompFunc GIF_LZWCompFunc;
	Imageenio::TIOBMPCompression BMP_Compression;
	int BMP_BitsPerPixel;
	Imageenio::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;
	AnsiString TGA_Name;
	AnsiString TGA_Description;
	bool DefaultLockPreview;
	bool ars[8];
	int xper;
	int xdiv;
	void __fastcall SetLanguage(Hyiedefs::TMsgLanguage l);
	void __fastcall ApplyParameters(void);
	void __fastcall ResetParameters(void);
	void __fastcall Progress(System::TObject* Sender, int per);
	bool __fastcall SetPreviewParams(Imageenio::TPreviewParams xpp);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TfIOPreviews(Classes::TComponent* AOwner) : Forms::TForm(
		AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfIOPreviews(Classes::TComponent* AOwner, int 
		Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfIOPreviews(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TfIOPreviews(HWND ParentWindow) : Forms::TForm(ParentWindow
		) { }
	#pragma option pop
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Iopreviews */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Iopreviews;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// IOPreviews
