Two suggestions for improved Slider widget changed value han

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
staffel95
Just popping in
Just popping in
Posts: 7
Joined: Mon Feb 28, 2005 20:40

Two suggestions for improved Slider widget changed value han

Postby staffel95 » Wed Mar 23, 2005 18:57

Eddie/anyone,

Most UI libraries trigger the event for signaling change in the value of a slider widget upon a mouse release event, not a cointinuous stream of event as the current implementation provides.

So currently while moving the thumb of the slider with the mouse over the range of the slider you get a flood of events to your app. I'd modified the widget to add an event you can subscribe to to get only the final changed value, which I think is usefull for the app to know... It's a minor change but probably good to provide in the baseline?

Also I added the capability of setting a minimum value
for the slider widget also. It only had a MaxValue and
most UI libraries provides min and max...
Again quite simple but probably good to provide in the baseline...

Are you interested in the patch?

Thanks,
Staffel

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Two suggestions for improved Slider widget changed value

Postby CrazyEddie » Thu Mar 24, 2005 09:25

The thumb has a hot-tracked property; this should be exposed to the parent slider widget to make this optional (same for the scollbar).

I'll add it to the list for the C++ master version, though I do not know when it would get implemented in the C# port :?

CE


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests