|
Last change
on this file since 3144 was
2058,
checked in by chris, 21 years ago
|
|
orxonox/branches/chris: Trunk remerged into my branch started on SDL reconfiguration
|
|
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> |
|---|
| 6 | using namespace std; |
|---|
| 7 | |
|---|
| 8 | class 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.