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,16 +1,17 @@
# 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 { Fl_Window dialogWindow {
label CMakeSetupDialog open label CMakeSetupDialog open
xywh {542 411 563 363} resizable visible xywh {401 125 563 363} resizable visible
} { } {
Fl_Input sourcePathTextInput { Fl_Input sourcePathTextInput {
label {Where is the source code: } label {Where is the source code: }
@ -20,7 +21,7 @@ class CMakeSetupGUI {open
Fl_Button {} { Fl_Button {} {
label {Browse...} label {Browse...}
callback {BrowseForSourcePath();} callback {BrowseForSourcePath();}
xywh {426 14 65 22} labelsize 11 xywh {426 14 65 22} shortcut 0x80073 labelsize 11
} }
Fl_Input binaryPathTextInput { Fl_Input binaryPathTextInput {
label {Where do you want to build the binaries: } label {Where do you want to build the binaries: }
@ -30,28 +31,27 @@ class CMakeSetupGUI {open
Fl_Button {} { Fl_Button {} {
label {Browse...} label {Browse...}
callback {BrowseForBinaryPath();} callback {BrowseForBinaryPath();}
xywh {426 50 65 22} labelsize 11 xywh {426 50 65 22} shortcut 0x80062 labelsize 11
} }
Fl_Button {} { Fl_Button {} {
label Close label Close
callback {Close()} callback {Close()}
xywh {345 331 77 23} labelsize 11 xywh {345 331 77 23} shortcut 0x80071 labelsize 11
} }
Fl_Button {} { Fl_Button {} {
label {Build Project Files} label {Build Project Files}
callback {BuildProjectFiles();} callback {BuildProjectFiles();}
xywh {123 332 101 23} labelsize 11 xywh {123 332 101 23} shortcut 0x8006d labelsize 11
} }
Fl_Group {} {open selected Fl_Group {} {open
xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0 resizable xywh {25 80 515 222} box ENGRAVED_BOX labelsize 11 align 0 resizable
} { } {
Fl_Scroll {} { Fl_Scroll cacheValuesScroll {
label {Cache Values} open label {Cache Values} open
xywh {40 98 485 190} type VERTICAL_ALWAYS box DOWN_BOX labelsize 11 align 5 xywh {40 98 485 190} type BOTH_ALWAYS box DOWN_FRAME labelsize 11 align 5 when 1 resizable
} { } {
Fl_Pack propertyListPack {open Fl_Pack propertyListPack {selected
xywh {40 99 485 185} resizable xywh {40 99 485 185} resizable
code0 {InsertProperties();}
} {} } {}
} }
} }
@ -76,6 +76,4 @@ class CMakeSetupGUI {open
} {} } {}
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;
}; };