Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2605 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_exec.cc


Ignore:
Timestamp:
Oct 19, 2004, 10:39:44 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: generalized: destructor, added label to class Widget, down is now a method of Packer, isOpen added for Windows

File:
1 edited

Legend:

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

    r2595 r2605  
    124124        char Buffer[256];
    125125        char* space2under;
    126         sprintf (Buffer, "%s", static_cast<Option*>(widget)->option_name);
     126        sprintf (Buffer, "%s", static_cast<Option*>(widget)->label);
    127127        if (strchr (Buffer, '_'))
    128128          cout << "Warning Optionname" << Buffer << " is not Valid for Saving, because it includes an underscore" << endl;
     
    189189{
    190190  if (widget->is_option >= 1)
    191     if (!strcmp (static_cast<Option*>(widget)->option_name, variableName))
     191    if (!strcmp (static_cast<Option*>(widget)->label, variableName))
    192192        static_cast<Option*>(widget)->value = variableValue;
    193193
Note: See TracChangeset for help on using the changeset viewer.