Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2004, 3:58:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: label → this→title (now setTitle makes at least some sense)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui_exec.cc

    r3288 r3290  
    154154    }
    155155  //  if (widget->isOption == 0)
    156   //    printf ("%s\n",widget->label);
     156  //    printf ("%s\n",widget->title);
    157157  if (widget->isOption >= 1)
    158158    if  (static_cast<Option*>(widget)->isSaveable())
     
    160160        char Buffer[256];
    161161        char* space2under;
    162         strcpy (Buffer, static_cast<Option*>(widget)->label);
     162        strcpy (Buffer, static_cast<Option*>(widget)->title);
    163163        if (strchr (Buffer, '_'))
    164164          cout << "Warning Optionname" << Buffer << " is not Valid for Saving, because it includes an underscore" << endl;
     
    231231  if (widget->isOption >= 1 && widget->isOption <= 3)
    232232    {
    233       if (!strcmp (static_cast<Option*>(widget)->label, variableName))
     233      if (!strcmp (static_cast<Option*>(widget)->title, variableName))
    234234        static_cast<Option*>(widget)->value = atoi(variableValue);
    235235    }
    236236  else if (widget->isOption == 5)
    237237    {
    238        if (!strcmp (static_cast<Option*>(widget)->label, variableName))
     238       if (!strcmp (static_cast<Option*>(widget)->title, variableName))
    239239        static_cast<OptionLabel*>(widget)->setValue(variableValue);
    240240    }
Note: See TracChangeset for help on using the changeset viewer.