- Timestamp:
- Oct 22, 2004, 12:28:17 PM (20 years ago)
- Location:
- orxonox/trunk/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_exec.cc
r2615 r2625 139 139 fprintf (CONFIG_FILE, "[%s]\n", static_cast<Packer*>(widget)->getGroupName()); 140 140 writeFileText (static_cast<Packer*>(widget)->down, depth+1); 141 fprintf(CONFIG_FILE, "\n"); 141 142 } 142 143 else … … 210 211 static_cast<Option*>(widget)->value = variableValue; 211 212 212 switch (widget->is_option) 213 { 214 case -1: 215 readFileText (static_cast<Container*>(widget)->down, variableName, variableValue); 216 break; 217 case -2: 218 readFileText (static_cast<Box*>(widget)->down, variableName, variableValue); 219 break; 213 if (widget->is_option < 0) 214 { 215 216 readFileText (static_cast<Packer*>(widget)->down, variableName, variableValue); 220 217 } 221 218 -
orxonox/trunk/gui/orxonox_gui_keys.cc
r2613 r2625 33 33 { 34 34 keysFrame = new Frame ("Keyboard-Options:"); 35 keysFrame->setGroupName("Keyboard"); 35 36 keysBox = new Box ('v'); 36 37 player1 = new Player("player1"); -
orxonox/trunk/gui/orxonox_gui_keys.h
r2613 r2625 23 23 Button* openButton; 24 24 Window* window; 25 25 26 public: 26 27 Player(char* player);
Note: See TracChangeset
for help on using the changeset viewer.