Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3165 in orxonox.OLD for orxonox/trunk/gui/orxonox_gui.cc


Ignore:
Timestamp:
Dec 13, 2004, 2:17:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: compiling as not-GTK possibe, but it is not usable yet

File:
1 edited

Legend:

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

    r3164 r3165  
    3434
    3535*/
    36 
    37 #include <gtk/gtkmain.h>
    38 
    3936#include "orxonox_gui.h"
    4037#include "orxonox_gui_video.h"
     
    6663OrxonoxGui::OrxonoxGui (int argc, char *argv[])
    6764{
    68  
     65#ifdef HAVE_GTK2
    6966  initGTK(argc, argv);
    70 
     67#endif
    7168  orxonoxGUI = new Window( "Grafical OrxOnoX loader, "PACKAGE_VERSION);
     69#ifdef HAVE_GTK2
    7270  orxonoxGUI->connectSignal ("destroy", orxonoxGUI->orxonox_gui_quit);
    7371  orxonoxGUI->connectSignal ("delete_event", orxonoxGUI->orxonox_gui_quit);
     72#endif /* HAVE_GTK2 */
    7473 
    7574  Box* windowBox = new Box ('h');
     
    111110
    112111 
     112#ifdef HAVE_GTK2
    113113  mainloopGTK();
     114#endif
    114115}
    115116
Note: See TracChangeset for help on using the changeset viewer.