Forums > MaxMSP

adding color to the background of your patch

October 17, 2006 | 3:26 pm

What is the best way to add color to the background of your patch?


October 17, 2006 | 3:36 pm

At 9:26 AM -0600 10/17/06, David wrote:
>What is the best way to add color to the background of your patch?

[panel]


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com


October 17, 2006 | 3:38 pm

[bgcolor 0 255 0]

On Oct 17, 2006, at 4:26 PM, David wrote:
>
> What is the best way to add color to the background of your patch?



kp*
October 17, 2006 | 3:50 pm

with [bgcolor]

On Oct 17, 2006, at 11:26 AM, David wrote:

>
> What is the best way to add color to the background of your patch?



f.e
October 17, 2006 | 4:02 pm

bgcolor

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|

David wrote:
> What is the best way to add color to the background of your patch?
>
>


October 17, 2006 | 4:19 pm

damn you guys are fast… i thought i had that one.

On Oct 17, 2006, at 4:38 PM, evan.raskob [lists] wrote:

> [bgcolor 0 255 0]
>
> On Oct 17, 2006, at 4:26 PM, David wrote:
>>
>> What is the best way to add color to the background of your patch?
>


October 17, 2006 | 5:14 pm

At 11:36 AM -0400 10/17/06, Dan Nigrin wrote:
>At 9:26 AM -0600 10/17/06, David wrote:
>>What is the best way to add color to the background of your patch?
>
>[panel]

Just following my own post – the reason I tend to use panel more than
bgcolor, as others have suggested, is that it doesn’t work when using
the patch when embedded in a bpatcher window…

Dan

Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com


October 22, 2006 | 4:54 am

Panels are great for this, but they definitely slow down the development process… when you are moving objects or making connections over then, the redraw slows stuff down considerably. So just put them in when you’re done. (Also trouble when trying to select stuff on top of the panel or move these objects.)

The bgcolor object is fine, but as was mentioned, doesn’t work inside a bpatcher window (not sure why? probably am missing something obvious there… as an instance of a parent patch, it can’t do its own bgcolor…?)

Panels are also great for showing what iteration is active or the user is currently viewing (say in a bpatcher) — color-codeable with the brgb message, user-defineable with a bit of tweaking and a color-swatch object. They are also great for showing/hiding a mess of controls — use scripting with thispatcher to "show / hide" a *named* panel, or use bringtofront and sendtoback. They can also readily show that something is "banging" or changing state, by switching colors. (Of course, standard epilepsy warnings apply….)

-CJ


October 22, 2006 | 8:29 am

On 22-oct.-06, at 06:54, Seejay James wrote:

> Panels are great for this, but they definitely slow down the
> development process… when you are moving objects or making
> connections over then, the redraw slows stuff down considerably. So
> just put them in when you’re done. (Also trouble when trying to select
> stuff on top of the panel or move these objects.)

Include the [panel] in the background, and lock the background.

p


Viewing 9 posts - 1 through 9 (of 9 total)