Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/gui/orxonox_gui_exec.h @ 3165

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

orxonox/trunk/gui: compiling as not-GTK possibe, but it is not usable yet

File size: 1.0 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;
18  Box* execBox;
19  Button* start;
20  CheckButton* saveSettings;
21  Menu* verboseMode;
22  CheckButton* alwaysShow;
23  Button* quit;
24  char* configFile;
25  FILE* CONFIG_FILE;
26 public:
27  OrxonoxGuiExec (Window* orxonoxGUI);
28  ~OrxonoxGuiExec ();
29 
30  Widget* getWidget ();
31 
32  void setFilename (char* filename);
33  int shouldsave ();
34  void writeToFile (Widget* widget);
35  void writeFileText (Widget* widget, int depth);
36  void readFromFile (Widget* widget);
37  void readFileText (Widget* widget, char* variableName, char* variableValue, int depth);
38  Widget* locateGroup(Widget* widget, char* groupName, int depth);
39
40};
41#ifdef HAVE_GTK2
42  gint startOrxonox (GtkWidget *widget, Widget* data);
43#endif /* HAVE_GTK2 */
44#endif /* _ORXONOX_GUI_EXEC_H */
Note: See TracBrowser for help on using the repository browser.