I've been looking around for some examples or source for custom
canvas controls, specifically knob or slider styles. And of course,
found very little.
There appears in the NUG list a lot of requests over the years for
these types of controls but very little offered in response to them.
For anyone designing anything from a controller (midi, volume,
mixers) to who knows what, these types of controls would be far
more graphically pleasing than the RB slider. And hopefully one
heck of a lot more versatile.
For example, a slider class could have hatch marks/numbers/bar
graph on left or right side (top or bottom for horizontal
controls), custom "thumbs", static fields linked to the control for
the display of the control current setting, a bypass mode so a
control could be set without generating a "change" event and so on.
Add in the usual min/max/current/step and the ability to handle
"center" as off (like a pan/balance control in audio), direction
left to right or bottom to top (or vice versa) and you'd have one
nicely rounded out control.
I put an example sample of a few controls on my server:
http://www.wabbitwanch.net/rb/controlSamples.jpg
Since controls like this don't appear to exist, I wonder if it's
because it's quite difficult to write the control, or the ROI would
be quite low so it's not worth the effort for a developer?
I don't think that I'd have the required ability to create a
control like this, but I'm sure that many do. Perhaps if others
joined in, we could entice someone to create a package of custom
canvas controls to sell at a reasonable cost.
If not, well there's always the RB "slider" ...shudder...:-)
Mel
Hey, I recognize the Behringer button and LED knob. I'm quite fond of
the knob with all the LEDs around it. But yeah, it certainly is going
to be a case of rolling your own controls. Years ago I used Director
for development and there were almost no built-in controls of any
kind (I agonized over building a popup menu until I found a plugin to
do it). So I'm used to building my own controls. I always get picky
about the aesthetics and functionality so I feel really the best way
is to make your own. I'd recommend (and maybe you already have) of
looking at software such as Reason and various VST plugins for ideas.
The tutorial Rob mentioned looks like a good place to figure out the
programming.
Greg
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>