Changeset 4139 in orxonox.OLD for orxonox/branches/md2_loader/src/lib/gui/gui/gui_flags.cc
- Timestamp:
- May 10, 2005, 10:39:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/gui/gui/gui_flags.cc
r4063 r4139 38 38 this->flagsBox->fill(flagsLabel); 39 39 this->shortFlags = new CheckButton("shortFlags"); 40 this->shortFlags->setDefaultValue(0); 40 41 this->flagsBox->fill(shortFlags); 41 42 … … 76 77 { 77 78 FlagInfo* info =(FlagInfo*)flagInfo; 78 if(widget-> isOption >= 1)79 if(widget->optionType > GUI_NOTHING) 79 80 if (static_cast<Option*>(widget)->value != static_cast<Option*>(widget)->defaultValue ) 80 81 { … … 90 91 } 91 92 92 if(static_cast<Option*>(widget)-> isOption == 2)93 if(static_cast<Option*>(widget)->optionType > GUI_BOOL) 93 94 { 94 95 info->flagsLabel->appendText("=");
Note: See TracChangeset
for help on using the changeset viewer.