Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/updater/src/gui/orxonox_gui_exec.h @ 3254

Last change on this file since 3254 was 3187, checked in by bensch, 19 years ago

orxonox/trunk/gui: doxygen-tags… it's very much.

File size: 1.6 KB
Line 
1/*!
2  \file orxonox_gui_exec.h
3  \brief File that holds the class that creates the execute-Options.
4*/
5
6#ifndef _ORXONOX_GUI_EXEC_H
7#define _ORXONOX_GUI_EXEC_H
8
9#include "orxonox_gui.h"
10#include <stdio.h>
11using namespace std;
12
13//! Class that creates the execute-Options.
14class OrxonoxGuiExec
15{
16 private:
17  Frame* execFrame;            //!< The Frame that holds the ExecutionOptions.
18  Box* execBox;                //!< The Box that holds the ExecutionOptions.
19  Button* start;               //!< The start Button of orxonox.
20  CheckButton* saveSettings;   //!< A CheckBox for if the Options should be saved.
21  Menu* verboseMode;           //!< A Menu for setting the verbose-Mode. \todo setting up a verbose-class.
22  CheckButton* alwaysShow;     //!< A CheckButton, for if orxonox should start with or without gui.
23  Button* quit;                //!< A Button to quit the Gui without starting orxonox.
24  char* configFile;            //!< The name of the .orxonox.conf(ig)-file.
25  FILE* CONFIG_FILE;           //!< Filehandler for reading and writing.
26
27 public:
28  OrxonoxGuiExec (Window* orxonoxGUI);
29  ~OrxonoxGuiExec ();
30 
31  Widget* getWidget ();
32 
33  void setFilename (char* filename);
34  int shouldsave ();
35  void writeToFile (Widget* widget);
36  void writeFileText (Widget* widget, int depth);
37  void readFromFile (Widget* widget);
38  void readFileText (Widget* widget, char* variableName, char* variableValue, int depth);
39  Widget* locateGroup(Widget* widget, char* groupName, int depth);
40
41};
42#ifdef HAVE_GTK2
43  gint startOrxonox (GtkWidget *widget, Widget* data);
44#endif /* HAVE_GTK2 */
45#endif /* _ORXONOX_GUI_EXEC_H */
Note: See TracBrowser for help on using the repository browser.