Slider problems

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Slider problems

Postby Levia » Sat Jun 03, 2006 08:08

Hey,

I have a slider and I want to use it to change stuff on the fly, so I figured I do this:

Code: Select all

CEGUI::Slider * slider;

slider = (CEGUI::Slider*)CEGUI::WindowManager::getSingleton().getWindow("Map/SpeedSlider");
slider->subscribeEvent(CEGUI::Slider::EventValueChanged, Bind1(&core::onValSlider, this));

That would register a function for a event, but it doesnt execute the function when the value actually is changed. Also tried with EventThumbTrackStarted but that didnt work either. Im using (I think) and older version of CEGUI, with yake and ogre. With the yake version (.4) you can probably find the CEGUI version.

Anyway, have I left something out? (I made the window via a .layout file)

Return to “Help”

Who is online

Users browsing this forum: No registered users and 4 guests