Changeset 3166 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_gtk.cc
- Timestamp:
- Dec 13, 2004, 2:20:31 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_gtk.cc
r3165 r3166 178 178 void Widget::listOptions (Widget* widget) 179 179 { 180 if (widget->isOption >= 1) 181 cout << static_cast<Option*>(widget)->label <<" is : " << static_cast<Option*>(widget)->value <<endl; 180 if (widget->isOption < 0 && static_cast<Packer*>(widget)->groupName) 181 cout << "[" << static_cast<Packer*>(widget)->groupName << "]\n"; 182 if (widget->isOption >= 1 && widget->isOption <= 3) 183 cout << " " << static_cast<Option*>(widget)->label <<" is : " << static_cast<Option*>(widget)->value <<endl; 184 else if (widget->isOption == 5) 185 cout << " " << static_cast<Option*>(widget)->label <<" is : " << static_cast<OptionLabel*>(widget)->cValue <<endl; 182 186 } 183 187 … … 342 346 if (!isOpen) 343 347 { 344 printf ("showall\n");348 // printf ("showall\n"); 345 349 #ifdef HAVE_GTK2 346 350 gtk_widget_show_all (widget); … … 350 354 else 351 355 { 352 printf ("showone\n");356 // printf ("showone\n"); 353 357 #ifdef HAVE_GTK2 354 358 gtk_widget_show (widget); … … 665 669 strcpy(flagName, flagname); 666 670 defaultValue = defaultvalue; 667 cout << "Set Flagname of " << label << " to " << flagname << endl; 671 672 // cout << "Set Flagname of " << label << " to " << flagname << endl; 668 673 } 669 674 … … 686 691 strcpy(flagNameShort, flagnameshort); 687 692 defaultValue = defaultvalue; 688 cout << "Set Flagname of " << label << " to " << flagname << endl;693 // cout << "Set Flagname of " << label << " to " << flagname << endl; 689 694 } 690 695
Note: See TracChangeset
for help on using the changeset viewer.