home *** CD-ROM | disk | FTP | other *** search
/ Compressed Image File Formats / CompressedImageFileFormatsJohnMiano.iso / pc / Library / BCBViewer / PngConfig.h < prev   
Encoding:
C/C++ Source or Header  |  1998-12-17  |  2.5 KB  |  84 lines

  1. //
  2. // Copyright (c) 1998 Colosseum Builders, Inc.
  3. // All rights reserved.
  4. //
  5. // Colosseum Builders, Inc. makes no warranty, expressed or implied
  6. // with regards to this software. It is provided as is.
  7. //
  8. // Permission to use, redistribute, and copy this file is granted
  9. // without a fee so long as as the following conditions are adhered to:
  10. //
  11. // o The user assumes all risk for using this software. The authors of this
  12. //   software shall be liable for no damages of any kind.
  13. //
  14. // o If the source code is distributed then this copyright notice must
  15. //   remain unaltered and any modification must be noted.
  16. //
  17. // o If this code is shipped in binary format the accompanying documentation
  18. //   should state that "this software is based, in part, on the work of
  19. //   Colosseum Builders, Inc."
  20. //
  21.  
  22. //
  23. //  Title:  Sample Image Viewer/Format Conversion Application
  24. //
  25. //  Author:  John M. Miano miano@colosseumbuilders.com
  26. //
  27. //----------------------------------------------------------------------------
  28. #ifndef __PNGCONFIG_H
  29. #define __PNGCONFIG_H
  30. //----------------------------------------------------------------------------
  31. #include <ExtCtrls.hpp>
  32. #include <Buttons.hpp>
  33. #include <StdCtrls.hpp>
  34. #include <Controls.hpp>
  35. #include <Forms.hpp>
  36. #include <Graphics.hpp>
  37. #include <Classes.hpp>
  38. #include <SysUtils.hpp>
  39. #include <Windows.hpp>
  40. #include <System.hpp>
  41.  
  42. #include "pngencod.h"
  43. #include <ComCtrls.hpp>
  44.  
  45. //----------------------------------------------------------------------------
  46. class TPngConfiguration : public TForm
  47. {
  48. __published:
  49.   TPanel *Panel1;
  50.   TButton *OKBtn;
  51.   TButton *CancelBtn;
  52.   TPageControl *PageControl1;
  53.   TTabSheet *TabSheet1;
  54.   TCheckBox *UseFilters;
  55.   TEdit *BlockSize;
  56.   TLabel *Label1;
  57.   TComboBox *CompressionLevel;
  58.   TLabel *Label2;
  59.   TTabSheet *TabSheet2;
  60.   TLabel *Label3;
  61.   TLabel *Label4;
  62.   TLabel *Label5;
  63.   TLabel *Label6;
  64.   TEdit *Title;
  65.   TEdit *Author;
  66.   TEdit *Description;
  67.   TEdit *Copyright;
  68.   TEdit *Source;
  69.   TEdit *Comment;
  70.   TLabel *Label7;
  71.   TLabel *Label8;
  72.   void __fastcall FormCreate(TObject *Sender);
  73.   void __fastcall OKBtnClick(TObject *Sender);
  74. private:
  75.   PngEncoder *encoder ;
  76. public:
  77.   int ShowModal (PngEncoder &pe) ;
  78.     virtual __fastcall TPngConfiguration(TComponent* AOwner);
  79. };
  80. //----------------------------------------------------------------------------
  81. extern PACKAGE TPngConfiguration *PngConfiguration;
  82. //----------------------------------------------------------------------------
  83. #endif
  84.