Changeset 3257 in orxonox.OLD for orxonox/branches/updater
- Timestamp:
- Dec 23, 2004, 2:16:01 AM (20 years ago)
- Location:
- orxonox/branches/updater/src/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3255 r3257 57 57 void OrxonoxGuiUpdate::updateWindowCreate (void) 58 58 { 59 updateWindow = new Window ("dampfen::update"); 59 updateWindow = new Window ("dampfen::update"); 60 Window::addWindow(updateWindow); 60 61 61 62 updateWindowBox = new Box ('v'); … … 66 67 updateData->connectSignal("button_press_event", updateData, updateDataFunc); 67 68 #endif /* HAVE_GTK2 */ 69 updateWindowBox->fill (updateData); 68 70 69 71 updateSource = new Button ("update orxonox::Source"); … … 71 73 updateSource->connectSignal("button_press_event", updateData, updateSourceFunc); 72 74 #endif /* HAVE_GTK2 */ 73 74 updateWindowBox->fill (updateData);75 75 updateWindowBox->fill (updateSource); 76 77 // the close-Button of the Update Window. 78 updateWindowClose = new Button ("close"); 79 #ifdef HAVE_GTK2 80 updateWindowClose->connectSignal("button_press_event", updateWindow, Window::windowClose); 81 #endif /* HAVE_GTK2 */ 82 updateWindowBox->fill(updateWindowClose); 76 83 77 84 updateWindow->fill (updateWindowBox); -
orxonox/branches/updater/src/gui/orxonox_gui_update.h
r3256 r3257 23 23 Button* updateData; //!< A Button to update the Data of orxonox. 24 24 Button* updateSource; //!< A Button to update the Source of orxonox. \todo tricky 25 Button* updateWindowClose; //!< A Button to Close the update Window 26 25 27 #ifdef HAVE_GTK2 26 28 static gint updateDataFunc (GtkWidget* w, GdkEventKey* event, void* button);
Note: See TracChangeset
for help on using the changeset viewer.