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
Two suggestions for improved Slider widget changed value han
Moderators: CEGUI MVP, CEGUI Team
- 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
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
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
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 19 guests
