Tuesday, 2015-02-17

*** falktx has quit IRC01:53
badosuHi, I am trying to create a lv2 plugin with many UIs, can someone help me?04:24
badosuI already made the ui but I don't know how to write the manifest04:24
drobillabadosu: You can just list several in the same way as one05:34
drobillabadosu: Unfortunately most hosts don't provide decent selection of several UIs at the moment (bit of a chicken & egg thing)05:35
badosudrobilla: my problem mainly is that I have to declare a new plugin to actually instantiate a different interface05:49
badosudrobilla: so the descriptor will mismatch the URI05:50
badosudrobilla: I don't know what to do, for now I'll just create the many different UI's and just change the binary path on the ttl05:51
badosuthen I'll see what I can do to reuse code without messing up with dynamic URI on the descripor05:51
drobillabadosu: Not sure what you mean.  That shouldn't be the case.  Static data somewhere?06:04
badosudrobilla: don't worry, I'll try to sort it out by myself for now06:40
*** edogawa has joined #lv207:41
*** ddom has joined #lv208:50
*** gianMOD has joined #lv209:43
*** ricardocrudo has joined #lv209:47
*** HarryHaaren has joined #lv210:01
*** rncbc has joined #lv210:35
badosuHas anybody seen an error like this when using ntk and fl_embed for a LV2 plugin?11:41
badosu-> X_CreateWindow: BadWindow (invalid Window parameter)11:41
*** gianMOD has quit IRC12:00
*** edogawa_ has joined #lv212:13
*** edogawa has quit IRC12:16
*** rncbc is now known as rncbc|AFK12:32
*** ricardocrudo has quit IRC12:37
*** gianMOD has joined #lv212:50
*** ricardocrudo has joined #lv212:52
*** gianMOD has quit IRC13:03
*** gianMOD has joined #lv213:03
*** ricardocrudo has quit IRC13:07
*** gianMOD has quit IRC13:08
*** gianMOD has joined #lv213:25
*** gianMOD has quit IRC13:27
*** gianMOD has joined #lv213:29
*** ricardocrudo has joined #lv213:31
*** gianMOD has quit IRC13:31
*** ricardocrudo has quit IRC13:36
*** HarryHaaren has quit IRC13:40
*** gianMOD has joined #lv213:56
*** gianMOD has quit IRC13:56
*** gianMOD has joined #lv213:57
*** gianMOD has quit IRC14:24
*** gianMOD has joined #lv214:25
*** gianMOD has quit IRC14:29
*** gianMOD has joined #lv214:34
*** gianMOD has quit IRC14:38
Anchakorbadosu: considered using falktx's https://github.com/falkTX/DPF ?14:39
*** gianMOD has joined #lv214:42
*** NickSB2 has quit IRC14:45
*** ricardocrudo has joined #lv214:58
*** gianMOD has quit IRC15:01
*** ricardocrudo has quit IRC15:05
*** ricardocrudo has joined #lv215:16
*** gianMOD has joined #lv215:17
*** ddom has quit IRC15:56
*** gianMOD has quit IRC16:17
*** gianMOD has joined #lv216:17
*** ricardocrudo has quit IRC16:21
*** gianMOD has quit IRC16:22
drobillabadosu: Passing junk for the parent parameter, I'd guess17:37
*** edogawa_ is now known as edogawa18:00
*** HarryHaaren has joined #lv218:59
*** bgola has joined #lv219:13
badosuI guess so, thanks, let me check out19:31
*** ricardocrudo has joined #lv219:31
badosuOh, I can't believe this, I had forgotten to replace GtkUI with X11UI19:34
*** gianMOD has joined #lv219:39
*** gianMOD has quit IRC19:41
HarryHaarenheh - interpreting a GtkWidget* as an X11 window ID would work though right? </sarcasm> :D19:43
*** gianMOD has joined #lv219:44
badosuThis is what I am doing: https://github.com/badosu/BadAmp19:57
badosuIt's a simple implementation of a lv2 plugin using different toolkits19:57
badosuNow I am going to try QT19:57
badosuHarryHaaren: I used a bit of your sinsynth experiment to learn how to use ntk19:58
drobillaHeh, I guess X gets some points for gracefully handling being passed a GtkWidget as a Window and not blowing up in your face19:58
HarryHaarenbadosu, oh sorry to hear you're using that code! Its not my neatest feat.. but that said - it works.19:59
badosuHarryHaaren: it works out for me, all I needed was to figure out how to embed ntk on lv220:00
HarryHaarenbadosu, i'm working on a PUGL (by LV2 man drobilla himself) and Cairo based widget toolkit - http://openavproductions.com/avtk/20:00
badosuHarryHaaren: i'd never discover by myself that I needed to implement resize and idle interfaces20:00
HarryHaarenfair enough - i was learning about embedding etc at the time.20:00
HarryHaarenbadosu, idle was a tricky one - but it solves a problem thats otherwise not possible to solve the "right" way20:01
HarryHaarenthere's also "show interface", which allows a widget toolkit to manage its own "window" - no need for embedding.20:01
badosuHarryHaaren: why not collaborate with ntk?20:01
badosuHarryHaaren: I was already a bit hesitant using ntk instead of fltk20:01
badosuHarryHaaren: The main reason being that fltk does no have fl_embed, I guess20:02
HarryHaarenNTK / FLTK is *almost* the same - NTK has Cairo being built in20:02
*** gianMOD has quit IRC20:02
badosuOh, so it's not a fltk fork20:02
HarryHaarenwell sure it is - but they're similar apart from how they use Cairo20:02
HarryHaarenand male ( the NTK dev) is a lot faster moving than the FLTK guys20:03
badosuno, I am talking about avtk :-)20:03
HarryHaarenthat said, NTK is not cross-platform right now20:03
HarryHaarenAVTK? Its totally its own thing - inspired by NTK though20:03
HarryHaareni'm hoping to talk about it at the LAC this year - lets see if it gets accepted.20:03
badosucool, gonna check it out later20:03
HarryHaarenthe benefit is totally cross-platform due to minimal dependencies and way lightweight runtime.20:04
HarryHaarencool.20:04
badosuhmm, gonna take a look at this show interface20:04
HarryHaarenCode isn't online yet (older version is - don't bother looking at AVTK code online now )20:04
* HarryHaaren goes for dinner, back laters20:04
badosuI should not rely on fl_embed20:04
badosudrobilla: yeah, it just shows some warnings20:05
*** gianMOD has joined #lv220:11
drobillaI don't know FLTK, but in general I've found it's far more reliable to create a window with its parent set initially rather than create a parentless window then try to change it later20:23
drobillaThis is why the parent is passed to the UI these days (otherwise the host could just do it)20:23
badosuyeah, I agree with this, reparenting is always a time bomb20:29
badosuand, of course, in this case cripples portability20:29
* HarryHaaren is back20:34
HarryHaarenyep PUGL is beatiful that way - and AVTK wraps this pretty OK, call  UI()  and get a standalone window, call UI( PuglNativeWindow parent );  and it auto-embeds20:35
HarryHaarenliterally the same UI code functions as plugin / standalone - including corner cases like dialog windows (which don't stall the main thread :)20:35
*** gianMOD has quit IRC21:08
*** gianMOD has joined #lv221:11
*** falktx has joined #lv221:13
*** gianMOD has quit IRC21:30
*** rncbc|AFK has quit IRC22:09
*** ricardocrudo has quit IRC22:37
*** edogawa has quit IRC23:14
*** HarryHaaren has quit IRC23:54

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