Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2615 was 2615, checked in by bensch, 20 years ago

orxonox/trunk/gui: export to file now nicer. (danger heavy if-expression)

File size: 944 bytes
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, int variableValue);
38
39};
40  gint startOrxonox (GtkWidget *widget, Widget* data);
41
42#endif /* _ORXONOX_GUI_EXEC_H */
Note: See TracBrowser for help on using the repository browser.