Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6300 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Dec 26, 2005, 4:45:09 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: show some widgets… man this is cool…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6295 r6300  
    135135  this->mouseDir = this->getAbsDir();
    136136
    137 /*   GLGuiButton* button = new GLGuiPushButton();
     137  GLGuiButton* button = new GLGuiPushButton();
    138138   button->show();
    139139   button->setLabel("orxonox");
    140    button->setBindNode(this);*/
    141 //    GLGuiBar* bar = new GLGuiBar();
    142 //    bar->show();
    143 //    bar->setValue(7.0);
    144 //    bar->setMaximum(10);
    145 //    bar->setSize2D( 20, 100);
    146 //    bar->setAbsCoor2D( 10, 200);
    147 //
     140   button->setBindNode(this);
     141    GLGuiBar* bar = new GLGuiBar();
     142    bar->show();
     143    bar->setValue(7.0);
     144    bar->setMaximum(10);
     145    bar->setSize2D( 20, 100);
     146    bar->setAbsCoor2D( 10, 200);
     147
    148148  //add events to the eventlist
    149149  registerEvent(SDLK_w);
Note: See TracChangeset for help on using the changeset viewer.