Changeset 3166 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui.cc
- Timestamp:
- Dec 13, 2004, 2:20:31 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui.cc
r3165 r3166 34 34 35 35 */ 36 36 37 #include "orxonox_gui.h" 37 38 #include "orxonox_gui_video.h" … … 105 106 exec->setFilename ("~/.orxonox.conf"); 106 107 exec->readFromFile (orxonoxGUI); 107 orxonoxGUI->walkThrough(orxonoxGUI->listOptions);108 // orxonoxGUI->walkThrough(orxonoxGUI->listOptions); 108 109 109 110 orxonoxGUI->showall (); … … 112 113 #ifdef HAVE_GTK2 113 114 mainloopGTK(); 114 #endif 115 #else /* HAVE_GTK2 */ 116 cout << " Listing all the Orxonox Options: \n"; 117 cout << " #############################\n"; 118 orxonoxGUI->walkThrough(orxonoxGUI->listOptions); 119 120 cout << "\nDo you want me to save the the above values now? [Yn] "; 121 char c = getchar(); 122 if ((c == 'y' || c == 'Y' || c== 10) && exec->shouldsave()) 123 exec->writeToFile (Window::mainWindow); 124 125 #endif /* HAVE_GTK2 */ 126 115 127 } 116 128
Note: See TracChangeset
for help on using the changeset viewer.