/*! \file orxonox_gui_update.h \brief File that holds the class that creates the update-menu. */ #ifndef _ORXONOX_GUI_UPDATE_H #define _ORXONOX_GUI_UPDATE_H #include "orxonox_gui.h" #include using namespace std; //! Class that creates the execute-Options. class OrxonoxGuiUpdate { private: Frame* updateFrame; //!< The Frame that holds the updateOptions. Box* updateBox; //!< The Box that holds the updateOptions. Button* updateWindowButton; //!< The Button that opens the update Window. Window* updateWindow; //!< A Window to update orxonox. Box* updateWindowBox; //!< A Box to hold the updateWindow-Optios. Button* updateData; //!< A Button to update the Data of orxonox. Button* updateSource; //!< A Button to update the Source of orxonox. \todo tricky static gint updateDataFunc (GtkWidget* w, GdkEventKey* event, void* button); static gint updateSourceFunc (GtkWidget* w, GdkEventKey* event, void* button); public: OrxonoxGuiUpdate (); ~OrxonoxGuiUpdate (); Widget* getWidget (); void updateWindowCreate (void); Button* updateWindowGetButton(void); }; #endif /* _ORXONOX_GUI_UPDATE_H */