WDL-OL IBitmapControl overlay a IKnobMultiControl

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

I need to set an IBitmapControl to true, so to show my background, then i need to show the iKnobMultiControl, which is positioned as it is inside the background.

Code: Select all

//Set the background to the second image in IBitmap
GetGUI()->SetControlFromPlug(background , true);

//Show it, before it was hided
GetGUI()->GetControl(background )->Hide(false);

//Show the oscillator knob
GetGUI()->GetControl(oscillator_volume_index)->Hide(false);
The problem is that my IKnobMultiControl is always hided by the background, but i would the opposite, the IKnob should be placed over the IBitmap

Post

the "Z" order is determined by the order in which you "Attach" your controls to the Graphics object
if you attach knob A then knob B - knob B will be "over" A
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.libera.chat >>> #kvr

Post

Thanks a lot, it's working now

Post Reply

Return to “DSP and Plugin Development”