What I want to do is have a slider with an Editbox attached. When you slide the slider it will change the value in the Editbox, and if you change the value in the Editbox it will update the slider.
I am quite enjoying the lookandfeel files and have already made a slider with a text component ( which was really easy and made me love CEGUI more ). Would it be possible to create this Edit box slider combo with the lookandfeel file as well?
Editbox with slider
Moderators: CEGUI MVP, CEGUI Team
-
- Quite a regular
- Posts: 74
- Joined: Mon Apr 28, 2008 23:21
- Location: Australia
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
You can certainly handle the parts that deal with the component widget creation and layout in the looknfeel, though I think you'll almost certainly need some supporting code to handle the value / slider position updates.
Basically, this would would involve an event subscription on the slider to update the editbox text, and a similar subscription on the editbox to update the slider position.
CE.
You can certainly handle the parts that deal with the component widget creation and layout in the looknfeel, though I think you'll almost certainly need some supporting code to handle the value / slider position updates.
Basically, this would would involve an event subscription on the slider to update the editbox text, and a similar subscription on the editbox to update the slider position.
CE.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 3 guests