Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 23, 2004, 1:37:49 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/gui: added a cool picture to the side of the Gui, and included Image into the framework

File:
1 edited

Legend:

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

    r2018 r2024  
    3333  orxonoxGUI->connectSignal ("delete_event", orxonoxGUI->orxonox_gui_quit);
    3434 
    35   Box* windowBox = new Box ('v');
     35  Box* windowBox = new Box ('h');
     36
     37  Image* banner = new Image ("banner.xpm");
     38  windowBox->fill (banner);
     39  Box* optionBox = new Box ('v');
    3640 
    3741  Box* avBox = new Box ('h');
     
    4246  avBox->fill (audio->getFrame ());
    4347     
    44   windowBox->fill (avBox);
     48  optionBox->fill (avBox);
    4549   
    4650  exec = new OrxonoxGuiExec (orxonoxGUI);
    47   windowBox->fill (exec->getFrame ());
     51  optionBox->fill (exec->getFrame ());
    4852
    4953  flags = new OrxonoxGuiFlags (orxonoxGUI);
    50   windowBox->fill (flags->getFrame ());
     54
     55
     56  optionBox->fill (flags->getFrame ());
     57  windowBox->fill (optionBox);
    5158 
    5259  orxonoxGUI->fill (windowBox);
     
    314321      tmp->next = lowerWidget;
    315322    }
     323}
     324
     325/* IMAGE */
     326
     327Image::Image (char* imagename)
     328{
     329  is_option = 0;
     330  next = NULL;
     331  widget = gtk_image_new_from_file (imagename);
    316332}
    317333
Note: See TracChangeset for help on using the changeset viewer.