diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2001-06-10 22:19:16 (GMT) |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2001-06-10 22:19:16 (GMT) |
commit | ad0019a740413ad270df38232ddcb31120c1b540 (patch) | |
tree | 803f42890c38aa4a5f756672817a58b608654c9f /Source/FLTKDialog | |
parent | 059ee3931ddbca2b6bd39197207779d8274b658d (diff) | |
download | CMake-ad0019a740413ad270df38232ddcb31120c1b540.zip CMake-ad0019a740413ad270df38232ddcb31120c1b540.tar.gz CMake-ad0019a740413ad270df38232ddcb31120c1b540.tar.bz2 |
ENH: Added Fl_Tiles as row for holding property data. Data to and from the
GUI is working
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.fl | 160 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.h | 4 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUIImplementation.h | 3 | ||||
-rw-r--r-- | Source/FLTKDialog/FLTKPropertyList.h | 2 |
4 files changed, 84 insertions, 85 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUI.fl b/Source/FLTKDialog/CMakeSetupGUI.fl index 8feb7b2..07b0d37 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.fl +++ b/Source/FLTKDialog/CMakeSetupGUI.fl @@ -1,81 +1,79 @@ -# data file for the Fltk User Interface Designer (fluid)
-version 1.0010
-header_name {.h}
-code_name {.cpp}
-gridx 5
-gridy 5
-snap 3
-class CMakeSetupGUI {open
-} {
- Function {CMakeSetupGUI()} {} {
- Fl_Window dialogWindow {
- label CMakeSetupDialog open
- xywh {542 411 563 363} resizable visible
- } {
- Fl_Input sourcePathTextInput {
- label {Where is the source code: }
- callback {SetSourcePath( sourcePathTextInput->value() );}
- xywh {219 15 200 20} labelsize 11 when 8 textsize 11
- }
- Fl_Button {} {
- label {Browse...}
- callback {BrowseForSourcePath();}
- xywh {426 14 65 22} labelsize 11
- }
- Fl_Input binaryPathTextInput {
- label {Where do you want to build the binaries: }
- callback {SetBinaryPath( binaryPathTextInput->value() );}
- xywh {219 50 200 20} labelsize 11 when 8 textsize 11
- }
- Fl_Button {} {
- label {Browse...}
- callback {BrowseForBinaryPath();}
- xywh {426 50 65 22} labelsize 11
- }
- Fl_Button {} {
- label Close
- callback {Close()}
- xywh {345 331 77 23} labelsize 11
- }
- Fl_Button {} {
- label {Build Project Files}
- callback {BuildProjectFiles();}
- xywh {123 332 101 23} labelsize 11
- }
- Fl_Group {} {open selected
- xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0 resizable
- } {
- Fl_Scroll {} {
- label {Cache Values} open
- xywh {40 98 485 190} type VERTICAL_ALWAYS box DOWN_BOX labelsize 11 align 5
- } {
- Fl_Pack propertyListPack {open
- xywh {40 99 485 185} resizable
- code0 {InsertProperties();}
- } {}
- }
- }
- Fl_Box {} {
- label {Right click on cache entries for additional options}
- xywh {141 305 275 25} labelsize 11
- }
- }
- }
- Function {~CMakeSetupGUI()} {} {}
- Function {Close(void)} {return_type {virtual void}
- } {}
- Function {BuildProjectFiles(void)} {return_type {virtual void}
- } {}
- Function {BrowseForSourcePath(void)} {return_type {virtual void}
- } {}
- Function {BrowseForBinaryPath(void)} {return_type {virtual void}
- } {}
- Function {Show(void)} {return_type {virtual void}
- } {}
- Function {SetBinaryPath(const char *)} {return_type {virtual void}
- } {}
- Function {SetSourcePath(const char *)} {return_type {virtual void}
- } {}
- Function {InsertProperties(void)} {open return_type {virtual void}
- } {}
-}
+# data file for the Fltk User Interface Designer (fluid) +version 1.0009 +header_name {.h} +code_name {.cxx} +gridx 5 +gridy 5 +snap 3 +class CMakeSetupGUI {open +} { + Function {CMakeSetupGUI()} {open + } { + Fl_Window dialogWindow { + label CMakeSetupDialog open + xywh {401 125 563 363} resizable visible + } { + Fl_Input sourcePathTextInput { + label {Where is the source code: } + callback {SetSourcePath( sourcePathTextInput->value() );} + xywh {219 15 200 20} labelsize 11 when 8 textsize 11 + } + Fl_Button {} { + label {Browse...} + callback {BrowseForSourcePath();} + xywh {426 14 65 22} shortcut 0x80073 labelsize 11 + } + Fl_Input binaryPathTextInput { + label {Where do you want to build the binaries: } + callback {SetBinaryPath( binaryPathTextInput->value() );} + xywh {219 50 200 20} labelsize 11 when 8 textsize 11 + } + Fl_Button {} { + label {Browse...} + callback {BrowseForBinaryPath();} + xywh {426 50 65 22} shortcut 0x80062 labelsize 11 + } + Fl_Button {} { + label Close + callback {Close()} + xywh {345 331 77 23} shortcut 0x80071 labelsize 11 + } + Fl_Button {} { + label {Build Project Files} + callback {BuildProjectFiles();} + xywh {123 332 101 23} shortcut 0x8006d labelsize 11 + } + Fl_Group {} {open + xywh {25 80 515 222} box ENGRAVED_BOX labelsize 11 align 0 resizable + } { + Fl_Scroll cacheValuesScroll { + label {Cache Values} open + xywh {40 98 485 190} type BOTH_ALWAYS box DOWN_FRAME labelsize 11 align 5 when 1 resizable + } { + Fl_Pack propertyListPack {selected + xywh {40 99 485 185} resizable + } {} + } + } + Fl_Box {} { + label {Right click on cache entries for additional options} + xywh {141 305 275 25} labelsize 11 + } + } + } + Function {~CMakeSetupGUI()} {} {} + Function {Close(void)} {return_type {virtual void} + } {} + Function {BuildProjectFiles(void)} {return_type {virtual void} + } {} + Function {BrowseForSourcePath(void)} {return_type {virtual void} + } {} + Function {BrowseForBinaryPath(void)} {return_type {virtual void} + } {} + Function {Show(void)} {return_type {virtual void} + } {} + Function {SetBinaryPath(const char *)} {return_type {virtual void} + } {} + Function {SetSourcePath(const char *)} {return_type {virtual void} + } {} +} diff --git a/Source/FLTKDialog/CMakeSetupGUI.h b/Source/FLTKDialog/CMakeSetupGUI.h index 8e56bf8..c3dc3eb 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.h +++ b/Source/FLTKDialog/CMakeSetupGUI.h @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0010 +// generated by Fast Light User Interface Designer (fluid) version 1.0009 #ifndef CMakeSetupGUI_h #define CMakeSetupGUI_h @@ -33,6 +33,7 @@ private: inline void cb_Build_i(Fl_Button*, void*); static void cb_Build(Fl_Button*, void*); public: + Fl_Scroll *cacheValuesScroll; Fl_Pack *propertyListPack; ~CMakeSetupGUI(); virtual void Close(void); @@ -42,6 +43,5 @@ public: virtual void Show(void); virtual void SetBinaryPath(const char *); virtual void SetSourcePath(const char *); - virtual void InsertProperties(void); }; #endif diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.h b/Source/FLTKDialog/CMakeSetupGUIImplementation.h index 793e31c..5149ee6 100644 --- a/Source/FLTKDialog/CMakeSetupGUIImplementation.h +++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.h @@ -33,10 +33,11 @@ public: virtual void SaveCacheFromGUI( void ); virtual void LoadCacheFromDiskToGUI( void ); virtual void FillCacheGUIFromCacheManager( void ); - virtual void InsertProperties(void); private: fltk::PropertyList m_CacheEntriesList; + std::string m_WhereBuild; + std::string m_WhereSource; }; diff --git a/Source/FLTKDialog/FLTKPropertyList.h b/Source/FLTKDialog/FLTKPropertyList.h index 8c79616..f08dd6c 100644 --- a/Source/FLTKDialog/FLTKPropertyList.h +++ b/Source/FLTKDialog/FLTKPropertyList.h @@ -11,7 +11,7 @@ using std::string; ///////////////////////////////////////////////////////////////////////////// //PropertyList Items -class PropertyItem +class PropertyItem { // Attributes public: |