Skinning question (Parent panes)

Official support for: u-he.com
RELATED
PRODUCTS

Post

Ploki wrote: Sun May 29, 2022 4:58 pm You’re attributing backgrounds to layerselector.
You should attribute background images to layers of a PANE, and then attach the layerselector to the pane.
Layerselector is just a “remote” for switching pane layers.

(Either via editor GUI or by “clientpane” property)


elaborating my previous comment:


FIRST: Pane that just serves to display background image: (CONTROLS section)

Code: Select all

CONTROL type='Pane' name='<background image pane>' bounds='0.00 0.00 1260.00 845.00' parent='Mother Pane' layerMask='3'
PROPERTY control='<background image pane>' name='colours' id='0' value='none'
PROPERTY control='<background image pane>' name='colours' id='1' value='none'
PROPERTY control='<background image pane>' name='colours' id='2' value='none'
PROPERTY control='<background image pane>' name='colours' id='3' value='none'
PROPERTY control='<background image pane>' name='graphics' id='0' value='backgroundimage1'
PROPERTY control='<background image pane>' name='layer' id='0' value='img1'
PROPERTY control='<background image pane>' name='layer' id='1' value='img2'
PROPERTY control='<background image pane>' name='graphics' id='1' value='backgroundimage2'
PROPERTY control='<background image pane>' name='layer' id='2' value='img3'
PROPERTY control='<background image pane>' name='graphics' id='2' value='backgroundimage3'
SECOND: LayerSelector for the aforementioned pane (Also in CONTROLS section)

Code: Select all

CONTROL type='LayerSelector' name='LayerSelector 386224' bounds='5.00 5.00 167.00 17.00' parent='<wherever pane layerselector is located-  can be different from the backgroudpane>' layerMask='1'
PROPERTY control='LayerSelector 386224' name='colours' id='0' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='1' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='2' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='3' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='4' value='none'
PROPERTY control='LayerSelector 386224' name='graphics' id='0' value='none'
PROPERTY control='LayerSelector 386224' name='graphics' id='1' value='none'
Third: line that attaches said LayerSelector to the background pane (PROPERTIES section)

Code: Select all

PROPERTY control='LayerSelector 386224' name='clientpane' id='0' value='<background image pane>'
Note that background image can be any pane whatsoever, you can make an additional pane to tyrell and position it right after the original background pane, so everything in the script remains identical and you can use the layerselector to just control the pane with only background attach to it:
this is easier than switching backgrounds of panes with stuff in it (i.e. knobs etc) because you don't need to define layer masks for every element.
The pane with the background and the layerselector that controls said pane can be a completely separate entity and don't need to be connected in ANY WAY hierarchical except via "clientpane" property attribute.
Image

Post

Thank you so much, Ploki, for your elaborate answer. :tu:

Unfortunately, it did not work out. Again, clicking in the area I specified for the layer selection does not make a drop down menu appear. Nothing happens, although I strictly followed your instructions. :(

Here is what I did this time:

- in "CONTROLS":

CONTROL type='Pane' name='Pane 1000' bounds='28.00 3.00 1200.00 600.00' parent='root' layerMask='ffffffff'
PROPERTY control='Pane 1000' name='colours' id='0' value='none'
PROPERTY control='Pane 1000' name='colours' id='1' value='defaultBorder'
PROPERTY control='Pane 1000' name='colours' id='2' value='none'
PROPERTY control='Pane 1000' name='colours' id='3' value='none'
PROPERTY control='Pane 1000' name='graphics' id='0' value='TYRELLN6_V3'
PROPERTY control='Pane 1000' name='layer' id='0' value='Layer 1'

CONTROL type='Pane' name='Pane 2088' bounds='0.00 0.00 1200.00 600.00' parent='Pane 1000' layerMask='3'
PROPERTY control='Pane 2088' name='colours' id='0' value='none'
PROPERTY control='Pane 2088' name='colours' id='1' value='none'
PROPERTY control='Pane 2088' name='colours' id='2' value='none'
PROPERTY control='Pane 2088' name='colours' id='3' value='none'
PROPERTY control='Pane 2088' name='graphics' id='0' value='backgroundimage1'
PROPERTY control='Pane 2088' name='layer' id='0' value='img1'
PROPERTY control='Pane 2088' name='layer' id='1' value='img2'
PROPERTY control='Pane 2088' name='graphics' id='1' value='backgroundimage2'
PROPERTY control='Pane 2088' name='layer' id='2' value='img3'
PROPERTY control='Pane 2088' name='graphics' id='2' value='backgroundimage3'

CONTROL type='LayerSelector' name='LayerSelector 386224' bounds='89.00 541.00 31.00 31.00' parent='Pane 2088' layerMask='1'
PROPERTY control='LayerSelector 386224' name='colours' id='0' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='1' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='2' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='3' value='none'
PROPERTY control='LayerSelector 386224' name='colours' id='4' value='none'
PROPERTY control='LayerSelector 386224' name='graphics' id='0' value='none'
PROPERTY control='LayerSelector 386224' name='graphics' id='1' value='none'

CONTROL type='Pane' name='Pane 1747' bounds='3.00 4.00 1181.00 535.00' parent='Pane 2088' layerMask='1'
PROPERTY control='Pane 1747' name='colours' id='0' value='none'
PROPERTY control='Pane 1747' name='colours' id='1' value='defaultBorder'
PROPERTY control='Pane 1747' name='colours' id='2' value='none'
PROPERTY control='Pane 1747' name='colours' id='3' value='none'
PROPERTY control='Pane 1747' name='graphics' id='0' value='none'
PROPERTY control='Pane 1747' name='layer' id='0' value='Layer 1'

...


- in "Properties":
PROPERTY control='Pane 1000' name='BlendMode' id='0' value='normal'
PROPERTY control='Pane 1000' name='Radius' id='0' value='12.00'
PROPERTY control='Pane 2088' name='BlendMode' id='0' value='normal'
PROPERTY control='Pane 2088' name='Radius' id='0' value='12.00'
PROPERTY control='LayerSelector 386224' name='clientpane' id='0' value='Pane 2088'
PROPERTY control='Pane 1747' name='BlendMode' id='0' value='normal'
PROPERTY control='Pane 1747' name='Radius' id='0' value='12.00'
...


Any idea what the problem might be?

Post

there's no menu for the layerselector, it's just like a multi-button control - it has as many buttons as there are layers to control. try clicking about it left and right :D
in the case of podolski, i made a custom dropdown as another pane that's opened by another layer selector.
afaik there's no way to control layers via an actual menu
Image

Post

Ploki wrote: Sun May 29, 2022 10:59 pm there's no menu for the layerselector, it's just like a multi-button control - it has as many buttons as there are layers to control. try clicking about it left and right :D
in the case of podolski, i made a custom dropdown as another pane that's opened by another layer selector.
afaik there's no way to control layers via an actual menu
I have finally managed to make it work! :)
Thank you for your help and all the explanations. Honestly, I think I wouldn't have been able to figure out all these things myself. :tu:

Post

Yay!
Yeah skinning engine can be a bit overwhelming at first due to flexibility it offers, but the more I’m working with it the more i love it.
I do miss separate “hovering” gfx :)
Image

Post

Ploki wrote: Thu Jun 02, 2022 9:25 am Yay!
Yeah skinning engine can be a bit overwhelming at first due to flexibility it offers, but the more I’m working with it the more i love it.
I do miss separate “hovering” gfx :)
They slowly find their way in, as do custom cursors.

I always liked hover things, but with fondle slabs it seemed for a while they'd disappear. But now I think it's cool to put emphasis on the advantages of pointer based software instead of just submitting to touch stuff (which I have come to dislike due to the lack of tactile feedback).

Post

Nice, great to hear!
Yeah with mouse stuff hovering is really intuitive:)
Lol @fondle slabs
Image

Post Reply

Return to “u-he”