Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk/gui: Now there is a possibility to start orxonox out of the gui.

File size: 783 bytes
Line 
1#ifndef _ORXONOX_GUI_EXEC_H
2#define _ORXONOX_GUI_EXEC_H
3
4#include "orxonox_gui.h"
5#include <stdio.h>
6using namespace std;
7
8class OrxonoxGuiExec
9{
10 private:
11  Frame* execFrame;
12  Box* execBox;
13  Button* start;
14  CheckButton* saveSettings;
15  Menu* verboseMode;
16  CheckButton* alwaysShow;
17  Button* quit;
18  char* configFile;
19  FILE* CONFIG_FILE;
20 public:
21  OrxonoxGuiExec (Window* orxonoxGUI);
22  ~OrxonoxGuiExec ();
23 
24  Frame* getFrame ();
25 
26  void setFilename (char* filename);
27  int shouldsave ();
28  void writeToFile (Widget* widget);
29  void writeFileText (Widget* widget);
30  void readFromFile (Widget* widget);
31  void readFileText (Widget* widget, char* variableName, int variableValue);
32
33};
34  gint startOrxonox (GtkWidget *widget, Widget* data);
35
36#endif /* _ORXONOX_GUI_EXEC_H */
Note: See TracBrowser for help on using the repository browser.