Changeset 3254 in orxonox.OLD for orxonox/branches/updater/src/gui
- Timestamp:
- Dec 23, 2004, 2:03:12 AM (20 years ago)
- Location:
- orxonox/branches/updater/src/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_gtk.h
r3244 r3254 10 10 #include <config.h> 11 11 #endif 12 13 #include "../debug.h" 12 14 13 15 #ifdef HAVE_GTK2 -
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3253 r3254 62 62 63 63 updateData = new Button ("update Orxonox::Data"); 64 updateSource = new Button ("update Orxonox::Source");; 64 65 #ifdef HAVE_GTK2 66 updateData->connectSignal("button_press_event", updateData, updateDataFunc); 67 #endif /* HAVE_GTK2 */ 68 69 updateSource = new Button ("update Orxonox::Source"); 70 #ifdef HAVE_GTK2 71 updateSource->connectSignal("button_press_event", updateData, updateSourceFunc); 72 #endif /* HAVE_GTK2 */ 65 73 66 74 updateWindowBox->fill (updateData); … … 71 79 72 80 // crating the button that opens the Update Options 81 #ifdef HAVE_GTK2 73 82 updateWindowButton = new Button ("update"); 74 #ifdef HAVE_GTK275 83 updateWindowButton->connectSignal("button_press_event", updateWindow, Window::windowOpen); 76 84 updateWindow->connectSignal("destroy", updateWindow, Window::windowClose); 77 85 updateWindow->connectSignal("delete_event", updateWindow, Window::windowClose); 78 86 #endif /* HAVE_GTK2 */ 79 87 80 88 81 89 } … … 85 93 return updateWindowButton; 86 94 } 95 96 97 #ifdef HAVE_GTK2 98 gint OrxonoxGuiUpdate::updateDataFunc(GtkWidget* w, GdkEventKey* event, void* button) 99 { 100 101 } 102 103 104 gint OrxonoxGuiUpdate::updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* button) 105 { 106 107 } 108 109 #endif /* HAVE_GTK2 */ -
orxonox/branches/updater/src/gui/orxonox_gui_update.h
r3253 r3254 24 24 Button* updateSource; //!< A Button to update the Source of orxonox. \todo tricky 25 25 26 static gint updateDataFunc (GtkWidget* w, GdkEventKey* event, void* button); 27 static gint updateSourceFunc (GtkWidget* w, GdkEventKey* event, void* button); 28 29 26 30 public: 27 31 OrxonoxGuiUpdate (); … … 36 40 37 41 42 38 43 #endif /* _ORXONOX_GUI_UPDATE_H */
Note: See TracChangeset
for help on using the changeset viewer.