*** edogawa has quit IRC | 00:28 | |
*** ColaEuphoria has quit IRC | 02:47 | |
*** ColaEuphoria has joined #lv2 | 03:00 | |
*** falktx` has joined #lv2 | 04:19 | |
*** falktx has quit IRC | 04:23 | |
*** NickSB2 has quit IRC | 04:42 | |
*** NickSB has quit IRC | 05:06 | |
*** NickSB2 has joined #lv2 | 05:20 | |
*** deva has joined #lv2 | 07:59 | |
*** edogawa has joined #lv2 | 08:04 | |
*** aelc665 has joined #lv2 | 09:18 | |
*** deva has quit IRC | 09:48 | |
*** ventosus has joined #lv2 | 09:57 | |
*** falktx` has quit IRC | 10:07 | |
*** falktx has joined #lv2 | 11:27 | |
*** ricardocrudo has joined #lv2 | 12:45 | |
*** deva has joined #lv2 | 13:19 | |
*** rncbc has joined #lv2 | 13:20 | |
*** rncbc has joined #lv2 | 13:21 | |
*** rncbc has joined #lv2 | 13:21 | |
*** son0p has quit IRC | 14:23 | |
*** son0p has joined #lv2 | 14:24 | |
dsheeler | I was just looking at some lv2 docs in the ui section. There seems to be a bunch of toolkits represented there, gtk, Qt, etc., but nothing I could be sure applied to the Wx toolkit. Does one that exists work with Wx? | 15:25 |
---|---|---|
drobilla | AFAIK Wx is not a toolkit in the sense that it has a widget type | 15:26 |
drobilla | It compiles to various backends (like the ones you mentioned) depending on platform | 15:26 |
dsheeler | Aha. Ok. I'll look into that. I'm new to it, and I'm looking into porting freqtweak to lv2 plugins... its gui uses Wx. | 15:28 |
drobilla | Question there is whether Wx lets you get a pointer to the resulting "native" (probably Gtk2 in this case) widget | 15:34 |
dsheeler | When would I need to do that? | 15:39 |
dsheeler | I thought at the widget level, I would be safe using Wx abstractions... | 15:41 |
drobilla | You need to give the host the widget so it can actually use it | 15:42 |
dsheeler | Ahh | 15:42 |
dsheeler | I'm also new to doing custom guis in lv2... I probably need to look at an example before I grok it | 15:43 |
*** NickSB has joined #lv2 | 16:51 | |
*** NickSB has quit IRC | 17:30 | |
*** NickSB has joined #lv2 | 17:32 | |
*** ventosus has quit IRC | 17:57 | |
*** ricardocrudo has quit IRC | 18:11 | |
*** ventosus has joined #lv2 | 18:21 | |
*** trebmuh has quit IRC | 18:30 | |
deva | What should I do in order to get the ui:resize extension data callback? | 18:32 |
deva | According to the documentation the ui:resize feature shoudl result in both a feature and an extension data but I can only get it to work as a feature in the ui_instantiate callback | 18:34 |
drobilla | You are working on a host? | 18:45 |
drobilla | And no, it *may* be used as both. The feature being present (i.e. provided by the host) doesn't necessarily mean the extension data will be provided by the plugin | 18:47 |
deva | drobilla, It's a plugin, and the host I'm testing with is Ardour | 18:51 |
deva | As I understand it I need the extension in order to set a callback for when the window is being resized by the user? | 18:51 |
drobilla | deva: Then you (a plugin) don't "get" extension data by definition | 18:52 |
drobilla | deva: What are you trying to do? Provide a resize() method on your plugin? | 18:52 |
drobilla | (for the host to call) | 18:52 |
deva | exactly yes | 18:52 |
drobilla | So provide it? :) | 18:52 |
drobilla | Your plugin has an extension_data method (all LV2 plugins do) | 18:53 |
deva | but how?! | 18:53 |
drobilla | You need to return the appropriate thing when its called with ui:resize | 18:53 |
drobilla | (where by "ui:resize" I mean the actual full URI) | 18:53 |
deva | yes I have that one already, but it isn't called with the ui:resize uri | 18:53 |
deva | this is my ttl snip containing UI stuff: http://pastebin.com/Uc4K0FVL | 18:54 |
drobilla | deva: What toolkit? | 18:55 |
deva | Xlib | 18:55 |
deva | ... slowly migrating to pugl :-p | 18:55 |
deva | But it resembles pugl x11 a lot | 18:55 |
drobilla | deva: Do the usual X11 geometry events not arrive? | 18:56 |
drobilla | (they "should" for some value of "should", but I forget the specific circumstances of why the kludge that is ui:resize exists) | 18:57 |
deva | hmm.. I didn't think of that... But of course you are right, that should work | 18:57 |
drobilla | Yes. Ideally you can just implement things "normally" and they should work | 18:58 |
deva | and if the host needs to resize the window it will just resize the parent window directly I guess | 18:58 |
drobilla | ui:resize was made as a kludgey hammer at some point because we couldn't get it to work properly. But I think it works now. Maybe. :) | 18:58 |
drobilla | right | 18:58 |
drobilla | (and there is some suil magic here) | 18:59 |
deva | Yeah, I had to upgrade suil to get any resize stuff at all | 18:59 |
deva | but apparently it was really old the one I had | 18:59 |
deva | 0.6.2 I think | 18:59 |
*** deva has quit IRC | 19:51 | |
*** falktx has quit IRC | 20:09 | |
*** falktx has joined #lv2 | 20:12 | |
*** ricardocrudo has joined #lv2 | 20:35 | |
*** falktx has quit IRC | 21:24 | |
*** falktx has joined #lv2 | 21:26 | |
*** NickSB2_ has joined #lv2 | 21:41 | |
*** NickSB2 has quit IRC | 21:42 | |
*** NickSB2_ has quit IRC | 22:02 | |
*** NickSB2 has joined #lv2 | 22:03 | |
*** rncbc has quit IRC | 23:31 | |
*** ricardocrudo has quit IRC | 23:41 | |
*** ventosus has left #lv2 | 23:51 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!