Line | |
---|
1 | /*! |
---|
2 | \file orxonox_gui_update.h |
---|
3 | \brief File that holds the class that creates the update-menu. |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _ORXONOX_GUI_UPDATE_H |
---|
7 | #define _ORXONOX_GUI_UPDATE_H |
---|
8 | |
---|
9 | #include "orxonox_gui.h" |
---|
10 | #include <stdio.h> |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | //! Class that creates the execute-Options. |
---|
14 | class OrxonoxGuiUpdate |
---|
15 | { |
---|
16 | private: |
---|
17 | Frame* updateFrame; //!< The Frame that holds the updateOptions. |
---|
18 | Box* updateBox; //!< The Box that holds the updateOptions. |
---|
19 | |
---|
20 | Button* updateWindowButton; //!< The Button that opens the update Window. |
---|
21 | Window* updateWindow; //!< A Window to update orxonox. |
---|
22 | Box* updateWindowBox; //!< A Box to hold the updateWindow-Optios. |
---|
23 | Button* updateData; //!< A Button to update the Data of orxonox. |
---|
24 | Button* updateSource; //!< A Button to update the Source of orxonox. \todo tricky |
---|
25 | #ifdef HAVE_GTK2 |
---|
26 | static gint updateDataFunc (GtkWidget* w, GdkEventKey* event, void* button); |
---|
27 | static gint updateSourceFunc (GtkWidget* w, GdkEventKey* event, void* button); |
---|
28 | #endif /* HAVE_GTK2 */ |
---|
29 | |
---|
30 | |
---|
31 | public: |
---|
32 | OrxonoxGuiUpdate (); |
---|
33 | ~OrxonoxGuiUpdate (); |
---|
34 | |
---|
35 | Widget* getWidget (); |
---|
36 | |
---|
37 | void updateWindowCreate (void); |
---|
38 | Button* updateWindowGetButton(void); |
---|
39 | |
---|
40 | }; |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | #endif /* _ORXONOX_GUI_UPDATE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.