home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- #ifndef __GAMMA_H
- #define __GAMMA_H
- //
- // Copyright (c) 1998 Colosseum Builders, Inc.
- // All rights reserved.
- //
- // Colosseum Builders, Inc. makes no warranty, expressed or implied
- // with regards to this software. It is provided as is.
- //
- // Permission to use, redistribute, and copy this file is granted
- // without a fee so long as as the following conditions are adhered to:
- //
- // o The user assumes all risk for using this software. The authors of this
- // software shall be liable for no damages of any kind.
- //
- // o If the source code is distributed then this copyright notice must
- // remain unaltered and any modification must be noted.
- //
- // o If this code is shipped in binary format the accompanying documentation
- // should state that "this software is based, in part, on the work of
- // Colosseum Builders, Inc."
- //
-
- //
- // Title: Sample Image Viewer/Format Conversion Application
- //
- // Author: John M. Miano miano@colosseumbuilders.com
- //
- //----------------------------------------------------------------------------
- #include <ExtCtrls.hpp>
- #include <Buttons.hpp>
- #include <StdCtrls.hpp>
- #include <Controls.hpp>
- #include <Forms.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #include <ComCtrls.hpp>
- //----------------------------------------------------------------------------
- class TGammaDlg : public TForm
- {
- __published:
- TButton *OKBtn;
- TButton *CancelBtn;
- TBevel *Bevel1;
- TTrackBar *TrackBar;
- TLabel *Label1;
- TLabel *GammaLabel;
- void __fastcall TrackBarChange(TObject *Sender);
-
-
- private:
- void __fastcall SetGammaValue (double) ;
- double __fastcall GetGammaValue () ;
- public:
- virtual __fastcall TGammaDlg(TComponent* AOwner);
- __property double GammaValue = { read=GetGammaValue, write=SetGammaValue } ;
- };
- //----------------------------------------------------------------------------
- extern PACKAGE TGammaDlg *GammaDlg;
- //----------------------------------------------------------------------------
- #endif
-