Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3153 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui_gtk.cc


Ignore:
Timestamp:
Dec 11, 2004, 6:09:26 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: more modular.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/gui/orxonox_gui_gtk.cc

    r3152 r3153  
    352352}
    353353
     354/**
     355   \brief opens up a window (not topmost Window).
     356   this is the Signal that does it. !!SIGNALS ARE STATIC!!
     357   \param widget the widget that did it!
     358   \param event the event that did it!
     359   \param window the Window that should be opened
     360*/
     361gint Window::windowOpen (GtkWidget *widget, GdkEvent* event, void* window)
     362{
     363  static_cast<Window*>(window)->open();
     364}
     365
     366/**
     367   \brief closes a window (not topmost Window).
     368   this is the Signal that does it. !!SIGNALS ARE STATIC!!
     369   \param widget the widget that did it!
     370   \param event the event that did it!
     371   \param window the Window that should be closed
     372*/
     373gint Window::windowClose (GtkWidget *widget, GdkEvent* event, void* window)
     374{
     375  static_cast<Window*>(window)->close();
     376 
     377}
    354378/**
    355379 * Quits the orxonox_GUI.
Note: See TracChangeset for help on using the changeset viewer.