Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8005 in orxonox.OLD for branches/gui


Ignore:
Timestamp:
May 31, 2006, 12:42:00 AM (19 years ago)
Author:
bensch
Message:

gui: more cool movements :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/story_entities/simple_game_menu.cc

    r8004 r8005  
    111111  }
    112112  box->setAbsCoor2D(50, 200);
     113
    113114  box->showAll();
     115
     116
     117  OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider();
     118  slider->connect(SIGNAL(slider, valueChanged), box, SLOT(Element2D, setAbsCoor2D));
     119  slider->setRange(100, 500);
     120  slider->setStep(50);
     121  slider->setValue(slider->min());
     122  slider->show();
     123  slider->setAbsCoor2D(100, 200);
     124
    114125  /////
    115126}
Note: See TracChangeset for help on using the changeset viewer.