Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3297 in orxonox.OLD


Ignore:
Timestamp:
Dec 26, 2004, 11:24:41 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: now works for non-gtk-mode too.

Location:
orxonox/branches/updater/src/gui
Files:
3 edited

Legend:

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

    r3296 r3297  
    118118  mainloopGTK();
    119119#else /* HAVE_GTK2 */
    120   PRINTF(0)(" Listing all the Orxonox Options: \n");
    121   PRINTF(0)("  #############################\n");
     120  PRINT(0)(" Listing all the Orxonox Options: \n");
     121  PRINT(0)("  #############################\n");
    122122  orxonoxGUI->walkThrough(orxonoxGUI->listOptions, 0);
    123123
    124   PRINTF(0)("\nDo you want me to save the the above values now? [Yn] ");
     124  PRINT(0)("\nDo you want me to save the the above values now? [Yn] ");
    125125  char c = getchar();
    126126  if ((c == 'y' || c == 'Y' || c== 10) && exec->shouldsave())
  • orxonox/branches/updater/src/gui/orxonox_gui_exec.cc

    r3296 r3297  
    298298   \param data additional data
    299299*/
    300 gint OrxonoxGuiExec::startOrxonox (GtkWidget *widget, Widget* data)
     300int OrxonoxGuiExec::startOrxonox (GtkWidget* widget, Widget* data)
    301301{
    302302  cout << "Starting Orxonox" <<endl;
    303303}
     304#else /* HAVE_GTK2 */
     305/**
     306   \brief Starts ORXONOX. (not really implemented yet, but the function is there.\n
     307   This is a Signal and can be executed through Widget::signal_connect
     308   \param widget the widget that executed the start command
     309   \param data additional data
     310*/
     311int OrxonoxGuiExec::startOrxonox (void* widget, Widget* data)
     312{
     313  cout << "Starting Orxonox" <<endl;
     314}
     315
    304316#endif /* HAVE_GTK2 */
  • orxonox/branches/updater/src/gui/orxonox_gui_exec.h

    r3296 r3297  
    4848
    4949#ifdef HAVE_GTK2
    50   static gint startOrxonox (GtkWidget *widget, Widget* data);
     50  static int startOrxonox (GtkWidget *widget, Widget* data);
     51#else /* HAVE_GTK2 */
     52  static int startOrxonox (void* widget, Widget* data);
    5153#endif /* HAVE_GTK2 */
    5254};
Note: See TracChangeset for help on using the changeset viewer.