Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

restrict PImage draw to a single ControlP5 Tab

$
0
0

Think I'm missing something basic here...

I have multiple controlP5 Tabs in a GUI, one tab has numerous Scrollable Lists, these scrollable lists are generated on the fly after the user first sets how many lists they want. When the user then chooses an item from a Scrollable List an Image is drawn depicting their choice.

This all works fine, But the image is drawn across ALL tabs, how can I restrict the images to just the relevant tab ? My function that draws & updates(triggered by the scrollable list being active) these images is in the main draw loop..... and maybe this is the problem ?

Cheers, mala


Viewing all articles
Browse latest Browse all 2896

Trending Articles