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.
Page Index Toggle Pages: 1
args to main (Read 671 times)
args to main
Apr 18th, 2006, 1:57pm
 
the --location=x,y seems to be having no effect! What  am I doing wrong. All the others work fine (platform OSX 10.4.5)

Code:

static public void main(String args[]) {
PApplet.main(new String[] { "--present", "--location=0,0", "--bgcolor=#ffffff", "--present-stop-color=#ffffff", "trajectories" });
}


Re: args to main
Reply #1 - Apr 18th, 2006, 1:59pm
 
location is ignored in present mode since the window is taking over the whole screen.
Re: args to main
Reply #2 - Apr 18th, 2006, 2:03pm
 
Lightning response!

No way round it then, I guess, other than to offset drawing within sketch?
Re: args to main
Reply #3 - Apr 18th, 2006, 2:23pm
 
yeah, quick responses when i'm checking my morning email Wink

i suppose i should change the location field to make sense even with present mode.. location is there so that the editor can control the location of the window, but was left in since others might find it useful.. so it hadn't occurrred to me that it would also be useful with present mode.
Re: args to main
Reply #4 - Apr 18th, 2006, 2:33pm
 
It would certainly up the performance of my sketch considerably by not having to maintain a much larger canvas.
Page Index Toggle Pages: 1