ENH: Added Fl_Tiles as row for holding property data. Data to and from the

GUI is working
This commit is contained in:
Luis Ibanez 2001-06-10 18:19:16 -04:00
parent 059ee3931d
commit ad0019a740
4 changed files with 84 additions and 85 deletions

View File

@ -1,81 +1,79 @@
# data file for the Fltk User Interface Designer (fluid) # data file for the Fltk User Interface Designer (fluid)
version 1.0010 version 1.0009
header_name {.h} header_name {.h}
code_name {.cpp} code_name {.cxx}
gridx 5 gridx 5
gridy 5 gridy 5
snap 3 snap 3
class CMakeSetupGUI {open class CMakeSetupGUI {open
} { } {
Function {CMakeSetupGUI()} {} { Function {CMakeSetupGUI()} {open
Fl_Window dialogWindow { } {
label CMakeSetupDialog open Fl_Window dialogWindow {
xywh {542 411 563 363} resizable visible label CMakeSetupDialog open
} { xywh {401 125 563 363} resizable visible
Fl_Input sourcePathTextInput { } {
label {Where is the source code: } Fl_Input sourcePathTextInput {
callback {SetSourcePath( sourcePathTextInput->value() );} label {Where is the source code: }
xywh {219 15 200 20} labelsize 11 when 8 textsize 11 callback {SetSourcePath( sourcePathTextInput->value() );}
} xywh {219 15 200 20} labelsize 11 when 8 textsize 11
Fl_Button {} { }
label {Browse...} Fl_Button {} {
callback {BrowseForSourcePath();} label {Browse...}
xywh {426 14 65 22} labelsize 11 callback {BrowseForSourcePath();}
} xywh {426 14 65 22} shortcut 0x80073 labelsize 11
Fl_Input binaryPathTextInput { }
label {Where do you want to build the binaries: } Fl_Input binaryPathTextInput {
callback {SetBinaryPath( binaryPathTextInput->value() );} label {Where do you want to build the binaries: }
xywh {219 50 200 20} labelsize 11 when 8 textsize 11 callback {SetBinaryPath( binaryPathTextInput->value() );}
} xywh {219 50 200 20} labelsize 11 when 8 textsize 11
Fl_Button {} { }
label {Browse...} Fl_Button {} {
callback {BrowseForBinaryPath();} label {Browse...}
xywh {426 50 65 22} labelsize 11 callback {BrowseForBinaryPath();}
} xywh {426 50 65 22} shortcut 0x80062 labelsize 11
Fl_Button {} { }
label Close Fl_Button {} {
callback {Close()} label Close
xywh {345 331 77 23} labelsize 11 callback {Close()}
} xywh {345 331 77 23} shortcut 0x80071 labelsize 11
Fl_Button {} { }
label {Build Project Files} Fl_Button {} {
callback {BuildProjectFiles();} label {Build Project Files}
xywh {123 332 101 23} labelsize 11 callback {BuildProjectFiles();}
} xywh {123 332 101 23} shortcut 0x8006d labelsize 11
Fl_Group {} {open selected }
xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0 resizable Fl_Group {} {open
} { xywh {25 80 515 222} box ENGRAVED_BOX labelsize 11 align 0 resizable
Fl_Scroll {} { } {
label {Cache Values} open Fl_Scroll cacheValuesScroll {
xywh {40 98 485 190} type VERTICAL_ALWAYS box DOWN_BOX labelsize 11 align 5 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 {open } {
xywh {40 99 485 185} resizable Fl_Pack propertyListPack {selected
code0 {InsertProperties();} xywh {40 99 485 185} resizable
} {} } {}
} }
} }
Fl_Box {} { Fl_Box {} {
label {Right click on cache entries for additional options} label {Right click on cache entries for additional options}
xywh {141 305 275 25} labelsize 11 xywh {141 305 275 25} labelsize 11
} }
} }
} }
Function {~CMakeSetupGUI()} {} {} Function {~CMakeSetupGUI()} {} {}
Function {Close(void)} {return_type {virtual void} Function {Close(void)} {return_type {virtual void}
} {} } {}
Function {BuildProjectFiles(void)} {return_type {virtual void} Function {BuildProjectFiles(void)} {return_type {virtual void}
} {} } {}
Function {BrowseForSourcePath(void)} {return_type {virtual void} Function {BrowseForSourcePath(void)} {return_type {virtual void}
} {} } {}
Function {BrowseForBinaryPath(void)} {return_type {virtual void} Function {BrowseForBinaryPath(void)} {return_type {virtual void}
} {} } {}
Function {Show(void)} {return_type {virtual void} Function {Show(void)} {return_type {virtual void}
} {} } {}
Function {SetBinaryPath(const char *)} {return_type {virtual void} Function {SetBinaryPath(const char *)} {return_type {virtual void}
} {} } {}
Function {SetSourcePath(const char *)} {return_type {virtual void} Function {SetSourcePath(const char *)} {return_type {virtual void}
} {} } {}
Function {InsertProperties(void)} {open return_type {virtual void} }
} {}
}

View File

@ -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 #ifndef CMakeSetupGUI_h
#define CMakeSetupGUI_h #define CMakeSetupGUI_h
@ -33,6 +33,7 @@ private:
inline void cb_Build_i(Fl_Button*, void*); inline void cb_Build_i(Fl_Button*, void*);
static void cb_Build(Fl_Button*, void*); static void cb_Build(Fl_Button*, void*);
public: public:
Fl_Scroll *cacheValuesScroll;
Fl_Pack *propertyListPack; Fl_Pack *propertyListPack;
~CMakeSetupGUI(); ~CMakeSetupGUI();
virtual void Close(void); virtual void Close(void);
@ -42,6 +43,5 @@ public:
virtual void Show(void); virtual void Show(void);
virtual void SetBinaryPath(const char *); virtual void SetBinaryPath(const char *);
virtual void SetSourcePath(const char *); virtual void SetSourcePath(const char *);
virtual void InsertProperties(void);
}; };
#endif #endif

View File

@ -33,10 +33,11 @@ public:
virtual void SaveCacheFromGUI( void ); virtual void SaveCacheFromGUI( void );
virtual void LoadCacheFromDiskToGUI( void ); virtual void LoadCacheFromDiskToGUI( void );
virtual void FillCacheGUIFromCacheManager( void ); virtual void FillCacheGUIFromCacheManager( void );
virtual void InsertProperties(void);
private: private:
fltk::PropertyList m_CacheEntriesList; fltk::PropertyList m_CacheEntriesList;
std::string m_WhereBuild;
std::string m_WhereSource;
}; };

View File

@ -11,7 +11,7 @@ using std::string;
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
//PropertyList Items //PropertyList Items
class PropertyItem class PropertyItem
{ {
// Attributes // Attributes
public: public: