Main Page   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

DContrast.h

00001 //---------------------------------------------------------------------------
00002 
00003 #ifndef DContrastH
00004 #define DContrastH
00005 //---------------------------------------------------------------------------
00006 #include <Classes.hpp>
00007 #include <Controls.hpp>
00008 #include <StdCtrls.hpp>
00009 #include <Forms.hpp>
00010 #include <ExtCtrls.hpp>
00011 #include "histo.h"
00012 #include "contrast.h"
00013 #include <ComCtrls.hpp>
00014 //---------------------------------------------------------------------------
00018 class TContrastForm : public TForm
00019 {
00020 __published:    // IDE-managed Components
00021         TPanel *PSettings;
00022         TPanel *PDisplay;
00023         TPanel *PBottom;
00024         TPanel *PRightSlider;
00025         TPanel *PHistoArea;
00026         TPanel *PSpacer;
00027         TBevel *Bevel1;
00028         TPanel *PHistoAreaBack;
00029         TPaintBox *HistoArea;
00030         TPanel *Panel1;
00031         TPanel *PButtons;
00032         TButton *BClose;
00033         TTrackBar *TBHorizontal;
00034         TTrackBar *TBVertical;
00035         TGroupBox *GroupBox1;
00036         TLabel *Label1;
00037         TLabel *Label2;
00038         TLabel *LHistoZoom;
00039         TLabel *LValZoom;
00040         void __fastcall HistoAreaPaint(TObject *Sender);
00041         void __fastcall BCloseClick(TObject *Sender);
00042         void __fastcall FormCreate(TObject *Sender);
00043         void __fastcall TBHorizontalChange(TObject *Sender);
00044         void __fastcall TBVerticalChange(TObject *Sender);
00045         void __fastcall HistoAreaMouseDown(TObject *Sender,
00046           TMouseButton Button, TShiftState Shift, int X, int Y);
00047         void __fastcall HistoAreaMouseMove(TObject *Sender,
00048           TShiftState Shift, int X, int Y);
00049         void __fastcall HistoAreaMouseUp(TObject *Sender,
00050           TMouseButton Button, TShiftState Shift, int X, int Y);
00051 private:        // User declarations
00052         THistogram *_histo;
00053         TContrast *_contrast;
00054         bool _created;
00055         int _lower, _upper;
00056         bool _selLower, _selUpper;
00057 public:         // User declarations
00058         __fastcall TContrastForm(TComponent* Owner, THistogram *h, TContrast *c);
00059         void __fastcall _draw();
00060 };
00061 //---------------------------------------------------------------------------
00062 extern PACKAGE TContrastForm *ContrastForm;
00063 //---------------------------------------------------------------------------
00064 #endif

Generated on Thu Jan 23 06:17:37 2003 for Vol by doxygen1.2.18