[LV2] LV2UI_Resize as extension_data

hermann meyer brummer- at web.de
Sun Aug 31 21:37:33 PDT 2014


Am 16.08.2014 06:53, schrieb Spencer Jackson:
> Hello all:
>
> I'm trying to implement an FLTK (NTK really) GUI and the only trouble 
> is that it doesn't resize with the window. I think I finally 
> understand how its supposed to go:
> If the extension data function is called with the uri for 
> LV2UI__resize then I pass back the LV2UI_Resize struct. The trouble is 
> the first member is whatever opaque data I wish to use when the 
> function pointed to by the second member is called. What I really need 
> when the resize_ui function is called is the instance of the GUI 
> object created in the instantiate function. So I need to somehow 
> assign  the LV2UI_Handle to the LV2UI_Feature_Handle. But I don't have 
> access to it. How is this feature supposed to work as plugin 
> extension_data?
>
> I'll be the first to admit I'm not the best programmer, so I'm hoping 
> there is some obvious solution that I don't see. The code can be found 
> at http://sourceforge.net/p/infamousplugins/code/ci/gui/tree/src/Stuck/
>
> Thanks,
> _spencer
>

Hi

I use the signal_expose_event() to get_geometry() and reorder/repaint 
the widgets to the new geometry.


More information about the Devel mailing list