Added interactions with the PropertyList class

This commit is contained in:
Luis Ibanez 2001-05-22 10:42:49 -04:00
parent ee8859be70
commit 013d428f29
3 changed files with 25 additions and 6 deletions

View File

@ -86,9 +86,15 @@ CMakeSetupGUI::CMakeSetupGUI() {
o->box(FL_DOWN_BOX); o->box(FL_DOWN_BOX);
o->labelsize(11); o->labelsize(11);
o->align(FL_ALIGN_TOP_LEFT); 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();
} }
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"); { Fl_Box* o = new Fl_Box(141, 305, 275, 25, "Right click on cache entries for additional options");
o->labelsize(11); o->labelsize(11);
@ -120,3 +126,6 @@ void CMakeSetupGUI::SetBinaryPath(const char *) {
void CMakeSetupGUI::SetSourcePath(const char *) { void CMakeSetupGUI::SetSourcePath(const char *) {
} }
void CMakeSetupGUI::InsertProperties(void) {
}

View File

@ -9,12 +9,12 @@ class CMakeSetupGUI {open
} { } {
Function {CMakeSetupGUI()} {} { Function {CMakeSetupGUI()} {} {
Fl_Window dialogWindow { Fl_Window dialogWindow {
label CMakeSetupDialog label CMakeSetupDialog open
xywh {542 411 563 363} visible xywh {542 411 563 363} resizable visible
} { } {
Fl_Input sourcePathTextInput { Fl_Input sourcePathTextInput {
label {Where is the source code: } 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 xywh {219 15 200 20} labelsize 11 when 8 textsize 11
} }
Fl_Button {} { Fl_Button {} {
@ -42,14 +42,19 @@ class CMakeSetupGUI {open
callback {BuildProjectFiles();} callback {BuildProjectFiles();}
xywh {123 332 101 23} labelsize 11 xywh {123 332 101 23} labelsize 11
} }
Fl_Group {} {open Fl_Group {} {open selected
xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0 xywh {25 80 515 222} box ENGRAVED_FRAME labelsize 11 align 0 resizable
} { } {
Fl_Scroll {} { Fl_Scroll {} {
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 VERTICAL_ALWAYS box DOWN_BOX labelsize 11 align 5
} {
Fl_Pack propertyListPack {open
xywh {40 99 485 185} resizable
code0 {InsertProperties();}
} {} } {}
} }
}
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
@ -71,4 +76,6 @@ 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

@ -8,6 +8,7 @@
#include <FL/Fl_Button.H> #include <FL/Fl_Button.H>
#include <FL/Fl_Group.H> #include <FL/Fl_Group.H>
#include <FL/Fl_Scroll.H> #include <FL/Fl_Scroll.H>
#include <FL/Fl_Pack.H>
#include <FL/Fl_Box.H> #include <FL/Fl_Box.H>
class CMakeSetupGUI { class CMakeSetupGUI {
@ -32,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_Pack *propertyListPack;
~CMakeSetupGUI(); ~CMakeSetupGUI();
virtual void Close(void); virtual void Close(void);
virtual void BuildProjectFiles(void); virtual void BuildProjectFiles(void);
@ -40,5 +42,6 @@ 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