Changeset 4071 in orxonox.OLD for orxonox/trunk/src/lib/gui/gui/gui_exec.cc
- Timestamp:
- May 5, 2005, 11:30:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/gui_exec.cc
r4068 r4071 177 177 { 178 178 int counter = 0; 179 while(counter < depth &&((widget-> isOption>0179 while(counter < depth &&((widget->optionType > GUI_NOTHING 180 180 &&(static_cast<Option*>(widget)->isSaveable())) 181 ||(widget-> isOption<0181 ||(widget->optionType < GUI_NOTHING 182 182 && static_cast<Packer*>(widget)->getGroupName()))) 183 183 { … … 187 187 188 188 // check if it is a Packer, and if it is, check if it has a name and if there is something in it. 189 if(widget-> isOption <0)189 if(widget->optionType < GUI_NOTHING) 190 190 { 191 191 if(static_cast<Packer*>(widget)->getGroupName()) … … 200 200 } 201 201 } 202 // if(widget->isOption == 0) 203 // printf("%s\n",widget->title); 204 if(widget->isOption >= 1) 202 203 if(widget->optionType > GUI_NOTHING) 205 204 if (static_cast<Option*>(widget)->isSaveable()) 206 205 { … … 280 279 { 281 280 PRINT(5)("Located Option %s.\n", widget->title); 282 if(widget-> isOption >= 1)281 if(widget->optionType > GUI_NOTHING) 283 282 static_cast<Option*>(widget)->load(info->variableValue); 284 283 } … … 305 304 } 306 305 307 if(widget-> isOption < 0)306 if(widget->optionType < GUI_NOTHING) 308 307 { 309 308 if(static_cast<Packer*>(widget)->getGroupName() &&
Note: See TracChangeset
for help on using the changeset viewer.