DataWin.h

Go to the documentation of this file.
00001 //DataWin.h
00002 
00003 /*************************************************************/
00004 //
00005 // DataWinDialog & LineWinDialog
00006 //
00007 // Windows for the colourscale and linescan data
00008 //
00009 //-------------------------------------------------------------
00010 //
00011 // v 1.2 - 2007/06/15 - Added label to linescan
00012 // v 1.1 - 2006/11/18 - Changed linescan FXImageView for ImageView
00013 // v 1.0 - 2006/04/19 - Initial release
00014 //
00015 // See LICENSE.txt for distribution and usage restrictions
00016 // Copyright (c) 2005-2007 Simon Chorley
00017 // www.mylaboratory.co.uk - greylab@mylaboratory.co.uk
00018 //
00019 /*************************************************************/
00020 
00021 
00022 ///Colourscale and linescan output windows (Definition)
00023 /**
00024  * Provides DataWinDialog and LineWinDialog window classes to show the data.
00025  * @file DataWin.h
00026  * @version 1.2 - 2007/06/15
00027  */
00028 
00029 
00030 #ifndef _DATAWIN_H_
00031 #define _DATAWIN_H_
00032 
00033 #include <fx.h>
00034 #include "ImageView.h"
00035 
00036 
00037 ///GreyLab colourscale window class
00038 /**
00039  * Shows the colourscale image, reports on mouse position and passes click events to GreyLabWindow.
00040  */
00041 class DataWinDialog : public FXDialogBox
00042 {
00043         FXDECLARE(DataWinDialog)
00044 private:
00045         DataWinDialog(){}
00046 
00047 //      FXCursor *crosshair;
00048 public:
00049         ImageView       *dataImageview; ///<Image display widget
00050         FXLabel         *positionLabel; ///<Mouse x, y position label
00051 
00052         enum { ID_LS_SELREQ = FXMainWindow::ID_LAST, ID_LAST };
00053 
00054         DataWinDialog(FXApp *app, FXWindow *win);
00055         virtual ~DataWinDialog();
00056 };
00057 
00058 
00059 
00060 ///GreyLab linescan window class
00061 /**
00062  * Shows the linescan image, reports on mouse position and passes click events to GreyLabWindow.
00063  * @remark Should probably now be merged with the DataWinDialog class?
00064  */
00065 class LineWinDialog : public FXDialogBox
00066 {
00067         FXDECLARE(LineWinDialog)
00068 private:
00069         LineWinDialog(){}
00070 public:
00071         ImageView       *lineImageview; ///<Image display widget
00072         FXLabel         *positionLabel; ///<Mouse x, y position label
00073 
00074         enum { ID_LS_ZOOM = DataWinDialog::ID_LAST, ID_LAST };
00075 
00076         LineWinDialog(FXApp *app, FXWindow *win);
00077         virtual ~LineWinDialog();
00078 };
00079 
00080 
00081 #endif

Generated on Mon Mar 10 13:55:44 2008 for GreyLab by  doxygen 1.5.3