Home » Developing U++ » UppHub » DialSlider (curved slider ctrl)
DialSlider (curved slider ctrl) [message #15530] |
Mon, 28 April 2008 16:58  |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
I really only made this as an experiment to see how easy it was, so I thought I may as well post the results. It wasn't as easy as I'd hoped, the difficulty is mainly in creating the images and layering them correctly with an alpha mask.
It works quite well though (the frames are a bit too thick here, but look better when it's slightly smaller):

Works like a normal SliderCtrl (but with some features missing). Clicking once sets the bar to the correct position by working out the necessary angle.
(source and example in next post)
James
[Updated on: Mon, 28 April 2008 17:09] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Jul 05 19:24:20 CEST 2025
Total time taken to generate the page: 0.03676 seconds
|