1 /*=========================================================================
3 Program: Insight Segmentation & Registration Toolkit
4 Module: $RCSfile: FLTKPropertyItemRow.h,v $
6 Date: $Date: 2005/09/23 21:47:32 $
7 Version: $Revision: 1.12 $
9 Copyright (c) 2002 Insight Consortium. All rights reserved.
10 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
18 #ifndef FLTKPropertyItemRow_h
19 #define FLTKPropertyItemRow_h
21 #include "FLTKPropertyList.h"
23 #include <FL/Fl_Tile.H>
24 #include <FL/Fl_Input.H>
25 #include <FL/Fl_Button.H>
28 class CMakeSetupGUIImplementation
;
36 Class to manage a GUI row corresponding to a property
39 class PropertyItemRow
: public Fl_Tile
42 // Helper class for passing data to callbacks
45 PropertyItem
* m_PropertyItem
;
46 Fl_Input
* m_InputText
;
52 PropertyItemRow( PropertyItem
*);
57 PropertyItem
* m_PropertyItem
;
58 ItemValue
* m_ItemValue
;
59 Fl_Button
* m_NameButton
;
61 static CMakeSetupGUIImplementation
* m_CMakeSetup
;
63 static void CheckButtonCallback( Fl_Widget
*, void *);
64 static void NameButtonCallback( Fl_Widget
*, void *);
65 static void InputTextCallback( Fl_Widget
*, void *);
66 static void BrowsePathCallback( Fl_Widget
*, void *);
67 static void ColorSelectionCallback( Fl_Widget
* widget
, void * data
);
70 static void FillCacheManagerFromCacheGUI( void );
74 static void SetCMakeSetupGUI( CMakeSetupGUIImplementation
* );
78 } // end namespace fltk