summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKPropertyItemRow.h
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 12:41:14 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-21 12:41:14 (GMT)
commit446ea3b97d2004f11d9002ec09872a796548e771 (patch)
treed7fff47eb567d6ab5774fa9858b9ad93122695c7 /Source/FLTKDialog/FLTKPropertyItemRow.h
parent8fe1e1fcc6be2de71ebe3ce2e252c2e8bd75931b (diff)
downloadCMake-446ea3b97d2004f11d9002ec09872a796548e771.zip
CMake-446ea3b97d2004f11d9002ec09872a796548e771.tar.gz
CMake-446ea3b97d2004f11d9002ec09872a796548e771.tar.bz2
ENH: PropertyRows have now a reference to CMakeSetupGUI and save the cache
at each callback action
Diffstat (limited to 'Source/FLTKDialog/FLTKPropertyItemRow.h')
-rw-r--r--Source/FLTKDialog/FLTKPropertyItemRow.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.h b/Source/FLTKDialog/FLTKPropertyItemRow.h
index d7af02d..e72d501 100644
--- a/Source/FLTKDialog/FLTKPropertyItemRow.h
+++ b/Source/FLTKDialog/FLTKPropertyItemRow.h
@@ -9,6 +9,9 @@
#include <FL/Fl_Button.H>
+class CMakeSetupGUIImplementation;
+
+
namespace fltk {
@@ -30,15 +33,16 @@ class PropertyItemRow : public Fl_Tile
public:
- PropertyItemRow( PropertyItem * );
+ PropertyItemRow( PropertyItem *);
~PropertyItemRow();
-
+
private:
PropertyItem * m_PropertyItem;
ItemValue * m_ItemValue;
Fl_Button * m_NameButton;
+ static CMakeSetupGUIImplementation * m_CMakeSetup;
static void CheckButtonCallback( Fl_Widget *, void *);
static void NameButtonCallback( Fl_Widget *, void *);
@@ -46,6 +50,11 @@ class PropertyItemRow : public Fl_Tile
static void BrowsePathCallback( Fl_Widget *, void *);
static void ColorSelectionCallback( Fl_Widget * widget, void * data);
+
+ public:
+
+ static void SetCMakeSetupGUI( CMakeSetupGUIImplementation * );
+ static void SaveCacheFromGUI( void );
};