Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2004, 2:16:01 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches/updater: included close button in the updater Window, and added updateWindow to the WindowList.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui_update.cc

    r3255 r3257  
    5757void OrxonoxGuiUpdate::updateWindowCreate (void)
    5858{
    59   updateWindow = new Window ("dampfen::update");
     59  updateWindow = new Window ("dampfen::update");   
     60  Window::addWindow(updateWindow);
    6061 
    6162  updateWindowBox = new Box ('v');
     
    6667  updateData->connectSignal("button_press_event", updateData, updateDataFunc);
    6768#endif /* HAVE_GTK2 */
     69  updateWindowBox->fill (updateData);
    6870
    6971  updateSource = new Button ("update orxonox::Source");
     
    7173  updateSource->connectSignal("button_press_event", updateData, updateSourceFunc);
    7274#endif /* HAVE_GTK2 */
    73 
    74   updateWindowBox->fill (updateData);
    7575  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);
    7683
    7784  updateWindow->fill (updateWindowBox);
Note: See TracChangeset for help on using the changeset viewer.