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 - controlWindow background
Page Index Toggle Pages: 1
controlP5 - controlWindow background (Read 429 times)
controlP5 - controlWindow background
Mar 18th, 2009, 4:56pm
 
Hllo Wink

How to set image background in control window ?

for example:
import controlP5.*;
ControlP5 controlP5;
ControlWindow controlWindow;
PImage img;
void setup() {
size(400,400);
img = loadImage("img.jpg");

controlP5 = new ControlP5(this);
controlP5.setAutoDraw(false);
   
controlWindow =  controlP5.addControlWindow("Ctrl",1,1,400,800);
// method setting img as  control window background ?
}

Thanks for help ;]
Page Index Toggle Pages: 1