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 & HelpPrograms › backgroundcolor of the presentation mode
Page Index Toggle Pages: 1
backgroundcolor of the presentation mode (Read 364 times)
backgroundcolor of the presentation mode
Sep 7th, 2008, 7:01pm
 
hi,

is there any way to set the backgroundcolor of the presentation mode?
it would look better to have it in the same color as the background in my applets, so it would be cool if i could set in the preferences or even in the sketch.
Re: backgroundcolor of the presentation mode
Reply #1 - Sep 8th, 2008, 8:46am
 
there are two ways to change it, either via declaring a main() method or editing your preferences.txt.

main() only works if you export your sketch as application. see here:
)]http://dev.processing.org/reference/core/javadoc/processing/core/PApplet.html#...

for changing the preferences, open Processing, choose "Preferences" from the menu, at the bottom of the window you'll find the path to your local preferences file. now close Processing, open that file in a plain text editor, edit the line "run.present.bgcolor=#666666" changing the color hex value. save the file, close it and start Processing, test.

F
Re: backgroundcolor of the presentation mode
Reply #2 - Sep 8th, 2008, 2:44pm
 
jep. thanks for your two answers.
ramin
Page Index Toggle Pages: 1