Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6300 in orxonox.OLD for trunk/src


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

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

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_widget.cc

    r6295 r6300  
    2727 * standard constructor
    2828*/
    29 GLGuiWidget::GLGuiWidget ( ) : Element2D(NULL)
     29GLGuiWidget::GLGuiWidget ( )
    3030{
    3131  this->init();
  • 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.