Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8007 in orxonox.OLD for branches/gui/src/story_entities


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

gui: new Element2D functionality

File:
1 edited

Legend:

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

    r8005 r8007  
    116116
    117117  OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider();
    118   slider->connect(SIGNAL(slider, valueChanged), box, SLOT(Element2D, setAbsCoor2D));
     118  slider->connect(SIGNAL(slider, valueChanged), box, SLOT(Element2D, setRelCoorX2D));
    119119  slider->setRange(100, 500);
    120120  slider->setStep(50);
    121121  slider->setValue(slider->min());
    122122  slider->show();
    123   slider->setAbsCoor2D(100, 200);
     123  slider->setAbsCoor2D(100, 00);
    124124
    125125  /////
Note: See TracChangeset for help on using the changeset viewer.