We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › controlP5 Range Controller vertical
Page Index Toggle Pages: 1
controlP5 Range Controller vertical? (Read 1204 times)
controlP5 Range Controller vertical?
Oct 22nd, 2009, 8:43am
 
Hi everybody,

somehow i can't use the range controller vertical. as soon as i tell him to be higher than wide, i doesn't work anymore. is there a possibility to rotate the controller?

cheers
Re: controlP5 Range Controller vertical?
Reply #1 - Jan 19th, 2010, 6:17am
 
is there already an sollution for this? any idea how to use the range controller vertical?
it doesn't work as it does for the 'slider':

Code:
void setup() {
size(400,400);
frameRate(25);
controlP5 = new ControlP5(this);
controlP5.addSlider("slider1",100,200,100,80,250,14,100).setId(3);
controlP5.addSlider("slider2",100,200, 100,150,336,100,14).setId(3);

controlP5.addRange("rangeController",0,255,128,150,80,120,14,100); //the last to int mean: a controller with 14px width and 100px height
controlP5.addRange("rangeController",0,255,60,190,150,206,100,14); //and here other way round: 14px height and 100 width
}


this leads to a working vertical slider - however, the range controller doesn't, as you can see in the picture below...

...

Anybody got an idea?

Thanks
Re: controlP5 Range Controller vertical?
Reply #2 - Jan 19th, 2010, 7:11am
 
not possible at the moment, havnt implemented vertical range sliders yet, sorry.
Re: controlP5 Range Controller vertical?
Reply #3 - Jan 19th, 2010, 7:35am
 
allright, good to know. may be you can tell us, if you found some time to implement that. anyway, thanks for the library, it's really cool!

cheers
Page Index Toggle Pages: 1