Changeset 3253 in orxonox.OLD for orxonox/branches/updater/src/gui/orxonox_gui_update.cc
- Timestamp:
- Dec 23, 2004, 1:30:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_update.cc
r3251 r3253 37 37 OrxonoxGuiUpdate::OrxonoxGuiUpdate () 38 38 { 39 updateFrame = new Frame ("Update-Options:"); 40 updateBox = new Box ('v'); 41 42 updateButton = new Button ("update"); 43 updateBox->fill(updateButton); 39 this->updateFrame = new Frame ("Update-Options:"); 40 this->updateBox = new Box ('v'); 41 this->updateWindowCreate (); 44 42 45 updateFrame->fill(updateBox); 43 this->updateBox->fill(this->updateWindowGetButton()); 44 45 this->updateFrame->fill(this->updateBox); 46 46 } 47 47 … … 54 54 return updateFrame; 55 55 } 56 57 void OrxonoxGuiUpdate::updateWindowCreate (void) 58 { 59 updateWindow = new Window ("dampfen::update"); 60 61 updateWindowBox = new Box ('v'); 62 63 updateData = new Button ("update Orxonox::Data"); 64 updateSource = new Button ("update Orxonox::Source");; 65 66 updateWindowBox->fill (updateData); 67 updateWindowBox->fill (updateSource); 68 69 updateWindow->fill (updateWindowBox); 70 71 72 // crating the button that opens the Update Options 73 updateWindowButton = new Button ("update"); 74 #ifdef HAVE_GTK2 75 updateWindowButton->connectSignal("button_press_event", updateWindow, Window::windowOpen); 76 updateWindow->connectSignal("destroy", updateWindow, Window::windowClose); 77 updateWindow->connectSignal("delete_event", updateWindow, Window::windowClose); 78 #endif /* HAVE_GTK2 */ 79 80 81 } 82 83 Button* OrxonoxGuiUpdate::updateWindowGetButton(void) 84 { 85 return updateWindowButton; 86 }
Note: See TracChangeset
for help on using the changeset viewer.