2 /*=========================================================================
5 Module: $RCSfile: MaximumsDialog.h,v $
7 Date: $Date: 2008/10/31 16:32:47 $
8 Version: $Revision: 1.1 $
11 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
12 l'Image). All rights reserved. See Doc/License.txt or
13 http://www.creatis.insa-lyon.fr/Public/wido/License.html for details.
15 This software is distributed WITHOUT ANY WARRANTY; without even
16 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
17 PURPOSE. See the above copyright notices for more information.
20 Is a Dialog that sets two numbers:
21 1)a x-value: maximum number that can take the x-axis
22 2)a y-value: maximum number that can take the y-axis
23 =========================================================================*/
26 #ifndef __MAXIMUMSDIALOG__
27 #define __MAXIMUMSDIALOG__
30 // ----------------------------------------------------------------------------
31 // wx headers inclusion.
32 // For compilers that support precompilation, includes <wx/wx.h>.
33 // ----------------------------------------------------------------------------
34 #include <wx/wxprec.h>
42 class MaximumsDialog:public wxDialog
48 MaximumsDialog(wxWindow *parent,wxString title);
54 Returns the X value wrote by the user
58 Returns the X value wrote by the user
64 TextControl for the x-maxvalue
68 TextControl for the y-maxvalue
72 used to show the names of the text controls
87 DECLARE_CLASS(MaximumsDialog);
88 // any class wishing to process wxWindows events must use this macro
89 //DECLARE_EVENT_TABLE()