Saturday, 2016-02-06

*** edogawa has quit IRC00:28
*** ColaEuphoria has quit IRC02:47
*** ColaEuphoria has joined #lv203:00
*** falktx` has joined #lv204:19
*** falktx has quit IRC04:23
*** NickSB2 has quit IRC04:42
*** NickSB has quit IRC05:06
*** NickSB2 has joined #lv205:20
*** deva has joined #lv207:59
*** edogawa has joined #lv208:04
*** aelc665 has joined #lv209:18
*** deva has quit IRC09:48
*** ventosus has joined #lv209:57
*** falktx` has quit IRC10:07
*** falktx has joined #lv211:27
*** ricardocrudo has joined #lv212:45
*** deva has joined #lv213:19
*** rncbc has joined #lv213:20
*** rncbc has joined #lv213:21
*** rncbc has joined #lv213:21
*** son0p has quit IRC14:23
*** son0p has joined #lv214:24
dsheelerI 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
drobillaAFAIK Wx is not a toolkit in the sense that it has a widget type15:26
drobillaIt compiles to various backends (like the ones you mentioned) depending on platform15:26
dsheelerAha.  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
drobillaQuestion there is whether Wx lets you get a pointer to the resulting "native" (probably Gtk2 in this case) widget15:34
dsheelerWhen would I need to do that?15:39
dsheelerI thought at the widget level, I would be safe using Wx abstractions...15:41
drobillaYou need to give the host the widget so it can actually use it15:42
dsheelerAhh15:42
dsheelerI'm also new to doing custom guis in lv2... I probably need to look at an example before I grok it15:43
*** NickSB has joined #lv216:51
*** NickSB has quit IRC17:30
*** NickSB has joined #lv217:32
*** ventosus has quit IRC17:57
*** ricardocrudo has quit IRC18:11
*** ventosus has joined #lv218:21
*** trebmuh has quit IRC18:30
devaWhat should I do in order to get the ui:resize extension data callback?18:32
devaAccording 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 callback18:34
drobillaYou are working on a host?18:45
drobillaAnd 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 plugin18:47
devadrobilla, It's a plugin, and the host I'm testing with is Ardour18:51
devaAs 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
drobilladeva: Then you (a plugin) don't "get" extension data by definition18:52
drobilladeva: What are you trying to do?  Provide a resize() method on your plugin?18:52
drobilla(for the host to call)18:52
devaexactly yes18:52
drobillaSo provide it? :)18:52
drobillaYour plugin has an extension_data method (all LV2 plugins do)18:53
devabut how?!18:53
drobillaYou need to return the appropriate thing when its called with ui:resize18:53
drobilla(where by "ui:resize" I mean the actual full URI)18:53
devayes I have that one already, but it isn't called with the ui:resize uri18:53
devathis is my ttl snip containing UI stuff: http://pastebin.com/Uc4K0FVL18:54
drobilladeva: What toolkit?18:55
devaXlib18:55
deva... slowly migrating to pugl :-p18:55
devaBut it resembles pugl x11 a lot18:55
drobilladeva: 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
devahmm.. I didn't think of that... But of course you are right, that should work18:57
drobillaYes.  Ideally you can just implement things "normally" and they should work18:58
devaand if the host needs to resize the window it will just resize the parent window directly I guess18:58
drobillaui: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
drobillaright18:58
drobilla(and there is some suil magic here)18:59
devaYeah, I had to upgrade suil to get any resize stuff at all18:59
devabut apparently it was really old the one I had18:59
deva0.6.2 I think18:59
*** deva has quit IRC19:51
*** falktx has quit IRC20:09
*** falktx has joined #lv220:12
*** ricardocrudo has joined #lv220:35
*** falktx has quit IRC21:24
*** falktx has joined #lv221:26
*** NickSB2_ has joined #lv221:41
*** NickSB2 has quit IRC21:42
*** NickSB2_ has quit IRC22:02
*** NickSB2 has joined #lv222:03
*** rncbc has quit IRC23:31
*** ricardocrudo has quit IRC23:41
*** ventosus has left #lv223:51

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!