General

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

Started by Traxus on .

Sign in or create an account to join the conversation.

12 posts

Topic starter
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

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.
Subject: Re: Can I use a custom skin to fill the empty space in a kno
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!
Subject: Re: Can I use a custom skin to fill the empty space in a kno
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.
Subject: Re: Can I use a custom skin to fill the empty space in a kno
@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!
Subject: Re: Can I use a custom skin to fill the empty space in a kno
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.
Subject: Re: Can I use a custom skin to fill the empty space in a kno
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...
Subject: Re: Can I use a custom skin to fill the empty space in a kno
Right, part of it was I had initially laid out the encoder stack in v3, and they had to be on top of one another as to accommodate for the lack of transparency, and I didn't see the updated change log when v4 came out (I'm not sure the significance of it would have occurred to me anyway as I had already begun thinking about how to sync them all).