diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2001-05-22 14:42:49 (GMT) |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2001-05-22 14:42:49 (GMT) |
commit | 013d428f29f409867903ea78fc1fc68722b7dc84 (patch) | |
tree | e340b02368171f2ec80b4fb83249f21724f37f30 /Source/FLTKDialog | |
parent | ee8859be70286c4b78ed9ff7ded79ede5a5dd645 (diff) | |
download | CMake-013d428f29f409867903ea78fc1fc68722b7dc84.zip CMake-013d428f29f409867903ea78fc1fc68722b7dc84.tar.gz CMake-013d428f29f409867903ea78fc1fc68722b7dc84.tar.bz2 |
Added interactions with the PropertyList class
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.cpp | 9 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.fl | 19 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.h | 3 |
3 files changed, 25 insertions, 6 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUI.cpp b/Source/FLTKDialog/CMakeSetupGUI.cpp index ae98165..71f5e1e 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.cpp +++ b/Source/FLTKDialog/CMakeSetupGUI.cpp @@ -86,9 +86,15 @@ CMakeSetupGUI::CMakeSetupGUI() { o->box(FL_DOWN_BOX); o->labelsize(11); o->align(FL_ALIGN_TOP_LEFT); + { Fl_Pack* o = propertyListPack = new Fl_Pack(40, 99, 485, 185); + InsertProperties(); + o->end(); + Fl_Group::current()->resizable(o); + } o->end(); } o->end(); + Fl_Group::current()->resizable(o); } { Fl_Box* o = new Fl_Box(141, 305, 275, 25, "Right click on cache entries for additional options"); o->labelsize(11); @@ -120,3 +126,6 @@ void CMakeSetupGUI::SetBinaryPath(const char *) { void CMakeSetupGUI::SetSourcePath(const char *) { } + +void CMakeSetupGUI::InsertProperties(void) { +} diff --git a/Source/FLTKDialog/CMakeSetupGUI.fl b/Source/FLTKDialog/CMakeSetupGUI.fl index 39a21f4..8feb7b2 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.fl +++ b/Source/FLTKDialog/CMakeSetupGUI.fl @@ -9,12 +9,12 @@ class CMakeSetupGUI {open } {
Function {CMakeSetupGUI()} {} {
Fl_Window dialogWindow {
- label CMakeSetupDialog
- xywh {542 411 563 363} visible
+ label CMakeSetupDialog open
+ xywh {542 411 563 363} resizable visible
} {
Fl_Input sourcePathTextInput {
label {Where is the source code: }
- callback {SetSourcePath( sourcePathTextInput->value() );} selected
+ callback {SetSourcePath( sourcePathTextInput->value() );}
xywh {219 15 200 20} labelsize 11 when 8 textsize 11
}
Fl_Button {} {
@@ -42,13 +42,18 @@ class CMakeSetupGUI {open callback {BuildProjectFiles();}
xywh {123 332 101 23} labelsize 11
}
- Fl_Group {} {open
- xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0
+ 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}
@@ -71,4 +76,6 @@ class CMakeSetupGUI {open } {}
Function {SetSourcePath(const char *)} {return_type {virtual void}
} {}
+ Function {InsertProperties(void)} {open return_type {virtual void}
+ } {}
}
diff --git a/Source/FLTKDialog/CMakeSetupGUI.h b/Source/FLTKDialog/CMakeSetupGUI.h index 7cc5ff7..8e56bf8 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.h +++ b/Source/FLTKDialog/CMakeSetupGUI.h @@ -8,6 +8,7 @@ #include <FL/Fl_Button.H> #include <FL/Fl_Group.H> #include <FL/Fl_Scroll.H> +#include <FL/Fl_Pack.H> #include <FL/Fl_Box.H> class CMakeSetupGUI { @@ -32,6 +33,7 @@ private: inline void cb_Build_i(Fl_Button*, void*); static void cb_Build(Fl_Button*, void*); public: + Fl_Pack *propertyListPack; ~CMakeSetupGUI(); virtual void Close(void); virtual void BuildProjectFiles(void); @@ -40,5 +42,6 @@ public: virtual void Show(void); virtual void SetBinaryPath(const char *); virtual void SetSourcePath(const char *); + virtual void InsertProperties(void); }; #endif |