68 FXTabBook* tabbook =
new FXTabBook(contentFrame,
nullptr, 0,
GUIDesignTabBook);
71 if (it_topic ==
"Configuration") {
74 new FXTabItem(tabbook, it_topic.c_str(),
nullptr, TAB_LEFT_NORMAL);
75 FXScrollWindow* scrollTab =
new FXScrollWindow(tabbook, LAYOUT_FILL_X | LAYOUT_FILL_Y);
76 FXVerticalFrame* tabContent =
new FXVerticalFrame(scrollTab, FRAME_THICK | FRAME_RAISED | LAYOUT_FILL_X | LAYOUT_FILL_Y);
78 for (
auto it_opt : entries) {
79 if (it_opt !=
"geometry.remove" && it_opt !=
"edges.join" && it_opt !=
"geometry.split" && it_opt !=
"ramps.guess" && it_opt !=
"ramps.set") {
81 if (type ==
"STR" || type ==
"FILE") {
83 }
else if (type ==
"BOOL") {
85 }
else if (type ==
"INT") {
87 }
else if (type ==
"FLOAT") {
106 FXHorizontalFrame(parent, LAYOUT_FILL_X),
109 new FXLabel(
this, (name +
"\t\t" + oc.
getDescription(name)).c_str());
110 myTextField =
new FXTextField(
this, 100,
this,
MID_GNE_SET_ATTRIBUTE, TEXTFIELD_NORMAL | LAYOUT_RIGHT, 0, 0, 0, 0, 4, 2, 0, 2);
119 oc.
set(myName, myTextField->getText().text());
125 FXHorizontalFrame(parent, LAYOUT_FILL_X),
128 new FXLabel(
this, (name +
"\t\t" + oc.
getDescription(name)).c_str());
138 oc.
set(myName, myCheck->getCheck() ?
"true" :
"false");
140 if ((myName ==
"gui-testing-debug") && oc.
isSet(
"gui-testing-debug")) {
143 if ((myName ==
"gui-testing-debug-gl") && oc.
isSet(
"gui-testing-debug-gl")) {
151 FXHorizontalFrame(parent, LAYOUT_FILL_X),
154 new FXLabel(
this, (name +
"\t\t" + oc.
getDescription(name)).c_str());
155 myTextField =
new FXTextField(
this, 100,
this,
MID_GNE_SET_ATTRIBUTE, TEXTFIELD_INTEGER | LAYOUT_RIGHT, 0, 0, 0, 0, 4, 2, 0, 2);
164 oc.
set(myName, myTextField->getText().text());
170 FXHorizontalFrame(parent, LAYOUT_FILL_X),
173 new FXLabel(
this, (name +
"\t\t" + oc.
getDescription(name)).c_str());
174 myTextField =
new FXTextField(
this, 100,
this,
MID_GNE_SET_ATTRIBUTE, TEXTFIELD_REAL | LAYOUT_RIGHT, 0, 0, 0, 0, 4, 2, 0, 2);
183 oc.
set(myName, myTextField->getText().text());