Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2005, 10:16:08 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: gui: minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/gui/gui/orxonox_gui_exec.cc

    r4024 r4026  
    2626#include "orxonox_gui_exec.h"
    2727
    28 #include <iostream>
    2928#include <string>
    3029
     
    230229        strcpy(Buffer, static_cast<Option*>(widget)->title);
    231230        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);
    233232        while(space2under = strchr(Buffer, ' '))
    234233          {
     
    263262              if((groupWidget = locateGroup(widget, Buffer, 1))==NULL)
    264263                {
    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);
    266265                  groupWidget = widget;
    267266                }
    268267              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);
    270269            }
    271270          // option-setting //
     
    300299  if(widget->title && !strcmp(widget->title, info->variableName))
    301300    {
    302       PRINT(3)("Located Option %s.\n", widget->title);
     301      PRINT(5)("Located Option %s.\n", widget->title);
    303302      if(widget->isOption >= 1)
    304303          static_cast<Option*>(widget)->load(info->variableValue);
Note: See TracChangeset for help on using the changeset viewer.