MaximumsDialog.h

Go to the documentation of this file.
00001 
00002 /*=========================================================================
00003 
00004   Program:   wido
00005   Module:    $RCSfile: MaximumsDialog.h,v $
00006   Language:  C++
00007   Date:      $Date: 2008/10/31 16:32:47 $
00008   Version:   $Revision: 1.1 $
00009   Author: Monica Lozano
00010 
00011   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00012   l'Image). All rights reserved. See Doc/License.txt or
00013   http://www.creatis.insa-lyon.fr/Public/wido/License.html for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 Description:
00020 Is a Dialog that sets two numbers: 
00021 1)a x-value: maximum number that can take the x-axis
00022 2)a y-value: maximum number that can take the y-axis
00023 =========================================================================*/
00024 
00025 
00026 #ifndef __MAXIMUMSDIALOG__
00027 #define __MAXIMUMSDIALOG__
00028 
00029 
00030 // ----------------------------------------------------------------------------
00031 // wx headers inclusion.
00032 // For compilers that support precompilation, includes <wx/wx.h>.
00033 // ----------------------------------------------------------------------------
00034 #include <wx/wxprec.h>
00035 #ifdef __BORLANDC__
00036 #pragma hdrstop
00037 #endif
00038 #ifndef WX_PRECOMP
00039 #include <wx/wx.h>
00040 #endif
00041 
00042 class MaximumsDialog:public wxDialog
00043 {
00044 public:
00045         /*
00046          Constructor
00047         */
00048         MaximumsDialog(wxWindow *parent,wxString title);
00049         /*
00050          Destructor
00051         */
00052         //~MaximumsDialog();
00053         /*
00054          Returns the X value wrote by the user
00055         */
00056         float getXValue();
00057         /*
00058          Returns the X value wrote by the user
00059         */
00060         float getYValue();
00061 
00062 private:
00063         /*
00064                 TextControl for the x-maxvalue
00065         */
00066         wxTextCtrl      *m_maxX;
00067         /*
00068                 TextControl for the y-maxvalue
00069         */
00070         wxTextCtrl      *m_maxY;
00071         /*
00072          used to show the names of the text controls
00073         */
00074         wxStaticText    *maxX;
00075         wxStaticText    *maxY;
00076 
00077         /*
00078          ok Button
00079         */
00080         wxButton                *okBtn;
00081         /*
00082          cancel Button
00083         */
00084         wxButton                *cancelBtn;
00085 
00086 
00087         DECLARE_CLASS(MaximumsDialog);
00088         // any class wishing to process wxWindows events must use this macro
00089         //DECLARE_EVENT_TABLE()
00090 };
00091 
00092 #endif
00093 
00094 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1