Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2004, 2:03:12 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: implemented update-functions: do nothing yet, will follow in next commit…

File:
1 edited

Legend:

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

    r3253 r3254  
    6262
    6363  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 */
    6573
    6674  updateWindowBox->fill (updateData);
     
    7179
    7280  // crating the button that opens the Update Options
     81#ifdef HAVE_GTK2
    7382  updateWindowButton = new Button ("update");
    74 #ifdef HAVE_GTK2
    7583  updateWindowButton->connectSignal("button_press_event", updateWindow, Window::windowOpen);
    7684  updateWindow->connectSignal("destroy", updateWindow, Window::windowClose);
    7785  updateWindow->connectSignal("delete_event", updateWindow, Window::windowClose);
    7886#endif /* HAVE_GTK2 */
    79  
     87
    8088
    8189}
     
    8593  return updateWindowButton;
    8694}
     95
     96
     97#ifdef HAVE_GTK2
     98gint OrxonoxGuiUpdate::updateDataFunc(GtkWidget* w, GdkEventKey* event, void* button)
     99{
     100
     101}
     102
     103
     104gint OrxonoxGuiUpdate::updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* button)
     105{
     106
     107}
     108
     109#endif /* HAVE_GTK2 */
Note: See TracChangeset for help on using the changeset viewer.