Changeset 2588 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_exec.cc
- Timestamp:
- Oct 17, 2004, 5:18:58 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_exec.cc
r2584 r2588 28 28 #include <string> 29 29 30 /** 31 \brief Creates the Exec-Frame 32 \param orxonoxGUI ExecFrame needs to know where to get the Options from 33 */ 30 34 OrxonoxGuiExec::OrxonoxGuiExec (Window* orxonoxGUI) 31 35 { … … 54 58 } 55 59 60 /** 61 \brief Return the Frame 62 \return Returns the Exec-frame 63 */ 56 64 Frame* OrxonoxGuiExec::getFrame () 57 65 { … … 61 69 /* FILE HANDLING */ 62 70 71 /** 72 \brief Sets the location of the configuration File.\n 73 * The name will be parsed from ~/ to /home/[username] on unix and c:/Documents and Settings/username/Settings/ on Windows 74 \param filename the location of the configFile 75 */ 63 76 void OrxonoxGuiExec::setFilename (char* filename) 64 77 { … … 78 91 } 79 92 93 /** 94 \brief checks if a option should be saved. 95 \return 1 if it should 0 if not/ 96 */ 80 97 int OrxonoxGuiExec::shouldsave () 81 98 { … … 83 100 } 84 101 102 /** 103 \brief Saves the configuration-file to the Disk.\n 104 this Function only opens and closes the file, in between OrxonoxGuiExec::writeFileText (Widget* widget) will execute the real writing process. 105 \param widget from which Widget on should be saved. 106 */ 85 107 void OrxonoxGuiExec::writeToFile (Widget* widget) 86 108 { … … 91 113 } 92 114 115 /** 116 \brief Actually writes into the configuration file to the disk. 117 \param widget from which Widget on should be saved. 118 */ 93 119 void OrxonoxGuiExec::writeFileText (Widget* widget) 94 120 { … … 121 147 } 122 148 149 /** 150 \brief Reads in Configuration Data. 151 \param widget from which Widget on should be saved. 152 */ 123 153 void OrxonoxGuiExec::readFromFile (Widget* widget) 124 154 { … … 150 180 } 151 181 182 /** 183 \brief Maps Confugurations to the Options. 184 \param widget which widget downwards 185 \param variableName the name of the Variable that should be set up. 186 \param variableValue the Value of the Variable that should be set up 187 */ 152 188 void OrxonoxGuiExec::readFileText (Widget* widget, char* variableName, int variableValue) 153 189 { … … 170 206 } 171 207 172 208 /** 209 \brief Starts ORXONOX. (not really implemented yet, but the function is there.\n 210 This is a Signal and can be executed through Widget::signal_connect 211 \param widget the widget that executed the start command 212 \param data additional data 213 */ 173 214 gint startOrxonox (GtkWidget *widget, Widget* data) 174 215 { 175 /**176 * Starts Orxonox.177 */178 216 cout << "Starting Orxonox" <<endl; 179 217 }
Note: See TracChangeset
for help on using the changeset viewer.