Can I use a custom skin to fill the empty space in a knob?

Discuss Lemur and share techniques.
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Can I use a custom skin to fill the empty space in a knob?

Post by Traxus »

I would like to, if possible, increase the width of the area that a knob or encoder takes up. At the moment, the active area is a border on the inside of a circle defined by the height/width of the knob object as a whole, I'm basically looking for a way to increase the width of this border, as to lessen the area of dead space in the center of the knob:
platterDisplay.jpg
platterDisplay.jpg (61.96 KiB) Viewed 2766 times
I did some digging within the skin files, and noticed that the knob object is its own xml file rather than a set of .pngs...

Anyhow, is this something that could be accomplished with skinning? I have a sinking feeling it isn't, but I'd like to be sure, thanks.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Can I use a custom skin to fill the empty space in a kno

Post by Softcore »

I really think though the "dead space" is only visually a dead space...i.e. if you touch inside this space, you still control the knob...Or am I wrong?
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Can I use a custom skin to fill the empty space in a kno

Post by nick_liine »

Knob and RingArea are rendered programmatically, the other objects use bitmaps. In any case, we haven't built any way for user skin customization at the moment. Nice suggestion for the Knob though!
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: Can I use a custom skin to fill the empty space in a kno

Post by Traxus »

Softcore wrote:I really think though the "dead space" is only visually a dead space...i.e. if you touch inside this space, you still control the knob...Or am I wrong?
No, its definitely dead space, as I was able to mimic this desired look by adding a series of smaller encoders within the largest one and syncing them up with scripting.
nick_liine wrote:Knob and RingArea are rendered programmatically, the other objects use bitmaps. In any case, we haven't built any way for user skin customization at the moment. Nice suggestion for the Knob though!
That was my intuition but I wanted to be sure before I started hacking. Alternately, per my other thread you guys might want to consider making an all out platter element, although that wouldn't be nearly as much fun as it appears the capability already exists to create it.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Can I use a custom skin to fill the empty space in a kno

Post by Softcore »

Also, +1 on the ability to create custom skins - the first thing that came to mind, when skins were out was for example to combine different "looks" from different skins ('pixel" fader in a all around "classic skin" etc etc)
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Can I use a custom skin to fill the empty space in a kno

Post by Softcore »

@Traxus

Create a knob huge enough to cover half the screen of iPad.......touch inside the dead space! ;)
I understand of course why you would want the empty space filled (to resemble a platter for example) Im just saying in terms of control, its not dead space! ;)

And frankly, I prefer it that way (not being dead space) because it totally makes sense when you use a knob with "linear" (my fav, possibly on the contrary to how people use knobs with Lemur) mode!
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: Can I use a custom skin to fill the empty space in a kno

Post by Traxus »

Softcore wrote:@Traxus

Create a knob huge enough to cover half the screen of iPad.......touch inside the dead space! ;)
I understand of course why you would want the empty space filled (to resemble a platter for example) Im just saying in terms of control, its not dead space! ;)
You're right, I had it backwards the space OUTSIDE is dead. I had fooled myself because the encoders I had filled the center with were actually in front of their larger counterparts, so when I was coding to detect which had an active Z value, the smaller ones in the center would fire the signal if touched because they were a layer above...

This makes my life a bit easier...

**edit, actually, there is no dead space, oops.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Can I use a custom skin to fill the empty space in a kno

Post by Softcore »

Traxus wrote: This makes my life a bit easier...
yeah I think so too....if you "send to back" all the smaller internal knobs then whenever (and wherever) you touch only the huge one is affected....Then I think with a simple script that makes all "x"s equall you have your "platter".
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: Can I use a custom skin to fill the empty space in a kno

Post by Traxus »

Huge derp moment for me, and here I was getting all giddy about using the Z value to prevent two of them from being active at once...
Post Reply