Changeset 2625 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_exec.cc
- Timestamp:
- Oct 22, 2004, 12:28:17 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_exec.cc
r2615 r2625 139 139 fprintf (CONFIG_FILE, "[%s]\n", static_cast<Packer*>(widget)->getGroupName()); 140 140 writeFileText (static_cast<Packer*>(widget)->down, depth+1); 141 fprintf(CONFIG_FILE, "\n"); 141 142 } 142 143 else … … 210 211 static_cast<Option*>(widget)->value = variableValue; 211 212 212 switch (widget->is_option) 213 { 214 case -1: 215 readFileText (static_cast<Container*>(widget)->down, variableName, variableValue); 216 break; 217 case -2: 218 readFileText (static_cast<Box*>(widget)->down, variableName, variableValue); 219 break; 213 if (widget->is_option < 0) 214 { 215 216 readFileText (static_cast<Packer*>(widget)->down, variableName, variableValue); 220 217 } 221 218
Note: See TracChangeset
for help on using the changeset viewer.