Changeset 4026 in orxonox.OLD for orxonox/trunk/src/lib/gui/gui/orxonox_gui_exec.cc
- Timestamp:
- May 3, 2005, 10:16:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/orxonox_gui_exec.cc
r4024 r4026 26 26 #include "orxonox_gui_exec.h" 27 27 28 #include <iostream>29 28 #include <string> 30 29 … … 230 229 strcpy(Buffer, static_cast<Option*>(widget)->title); 231 230 if(strchr(Buffer, '_')) 232 cout << "Warning Optionname" << Buffer << " is not Valid for Saving, because it includes an underscore" << endl;231 PRINTF(2)("Optionname %s is not Valid for Saving, because it includes an underscore\n", Buffer); 233 232 while(space2under = strchr(Buffer, ' ')) 234 233 { … … 263 262 if((groupWidget = locateGroup(widget, Buffer, 1))==NULL) 264 263 { 265 cout << "!!There is no group called " << Buffer << " in this GUI.\n First best Widget will get the Infos assigned.\n Config-File will be updated in next Save\n";264 PRINTF(2)("!!There is no group called %s in this GUI.\n First best Widget will get the Infos assigned.\n Config-File will be updated in next Save\n", Buffer); 266 265 groupWidget = widget; 267 266 } 268 267 else 269 PRINT( 3)("Group %s located.\n", static_cast<Packer*>(groupWidget)->groupName);268 PRINT(5)("Group %s located.\n", static_cast<Packer*>(groupWidget)->groupName); 270 269 } 271 270 // option-setting // … … 300 299 if(widget->title && !strcmp(widget->title, info->variableName)) 301 300 { 302 PRINT( 3)("Located Option %s.\n", widget->title);301 PRINT(5)("Located Option %s.\n", widget->title); 303 302 if(widget->isOption >= 1) 304 303 static_cast<Option*>(widget)->load(info->variableValue);
Note: See TracChangeset
for help on using the changeset viewer.