Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 11, 2004, 3:08:34 PM (21 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: typo, toDo and so on

File:
1 edited

Legend:

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

    r2740 r3147  
    125125{
    126126  int counter = 0;
    127   while (counter < depth && ((widget->is_option>0
     127  while (counter < depth && ((widget->isOption>0
    128128                              && (static_cast<Option*>(widget)->saveable) )
    129                              || (widget->is_option<0
     129                             || (widget->isOption<0
    130130                                 && strcmp (static_cast<Packer*>(widget)->getGroupName(), ""))))
    131131    {
     
    135135 
    136136  // check if it is a Packer, and if it is, check if it has a name and if there is something in it.
    137   if (widget->is_option <0)
     137  if (widget->isOption <0)
    138138    {
    139139      if (strcmp (static_cast<Packer*>(widget)->getGroupName(), ""))
     
    148148        }
    149149    }
    150   //  if (widget->is_option == 0)
     150  //  if (widget->isOption == 0)
    151151  //    printf ("%s\n",widget->label);
    152   if (widget->is_option >= 1)
     152  if (widget->isOption >= 1)
    153153    if  (static_cast<Option*>(widget)->saveable)
    154154      {
     
    219219void OrxonoxGuiExec::readFileText (Widget* widget, char* variableName, int variableValue, int depth)
    220220{
    221   if (widget->is_option >= 1)
     221  if (widget->isOption >= 1)
    222222    if (!strcmp (static_cast<Option*>(widget)->label, variableName))
    223223        static_cast<Option*>(widget)->value = variableValue;
    224224
    225   if (widget->is_option < 0)
     225  if (widget->isOption < 0)
    226226    {
    227227      readFileText (static_cast<Packer*>(widget)->down, variableName, variableValue, depth+1);
     
    246246    }
    247247
    248   if (widget->is_option < 0)
     248  if (widget->isOption < 0)
    249249    {
    250250      if (!strcmp(groupName, static_cast<Packer*>(widget)->getGroupName()))
Note: See TracChangeset for help on using the changeset viewer.