Added interactions with the PropertyList class
This commit is contained in:
parent
ee8859be70
commit
013d428f29
|
@ -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) {
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
} {}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue