Monday, 2016-06-06

*** ericRajuin has joined #lv202:00
*** trebmuh has quit IRC02:07
*** artfwo has quit IRC02:27
*** ericRajuin has quit IRC03:07
*** ericRajuin has joined #lv203:07
*** ericRajuin has quit IRC03:08
*** ericRajuin has joined #lv203:08
*** ericRajuin has quit IRC03:13
*** edogawa has joined #lv206:11
*** ensonic has joined #lv207:21
*** unclechu has joined #lv207:44
*** sigma6 has joined #lv207:53
*** ocbtec has joined #lv208:01
*** trebmuh has joined #lv210:38
*** rncbc_jolla has joined #lv211:35
*** unclechu has quit IRC12:39
*** unclechu has joined #lv212:50
*** rncbc_jolla has quit IRC13:00
*** deva has joined #lv214:06
*** artfwo has joined #lv214:46
*** trebmuh has quit IRC14:52
*** trebmuh has joined #lv214:54
*** edogawa has quit IRC14:55
*** edogawa has joined #lv215:46
*** sigma6 has quit IRC16:14
*** unclechu has quit IRC16:16
*** ensonic has quit IRC16:40
*** ricardocrudo has joined #lv216:55
*** ricardocrudo has quit IRC17:03
*** ricardocrudo has joined #lv217:04
*** ricardocrudo has quit IRC17:10
*** oofus has joined #lv217:18
*** rncbc has joined #lv217:41
*** ensonic has joined #lv217:51
*** edogawa has quit IRC18:44
*** artfwo has quit IRC18:55
*** artfwo has joined #lv219:08
*** ensonic has quit IRC19:11
*** deva has quit IRC19:44
*** deva has joined #lv219:44
*** deva has quit IRC20:02
*** ensonic has joined #lv220:13
*** ensonic has quit IRC20:24
*** falktx has joined #lv220:26
*** falktx_ has joined #lv220:29
*** falktx has quit IRC20:31
*** ocbtec has quit IRC20:34
*** edogawa has joined #lv221:12
*** edogawa has quit IRC22:09
*** oofus has quit IRC22:10
*** rncbc has quit IRC22:17
ssj71is such an else if tree necessary for such a thing? https://github.com/openAVproductions/openAV-Fabla2/blob/master/src/ui/fabla2_ui.cxx#L118422:33
ssj71seems like a fairly brutish design22:34
ssj71I'd think you'd want each widget to have its own associated callback22:35
rgareusssj71: you could use switch()  :)22:38
rgareusssj71: well, more seriously:  every widget should implement that callback22:38
ssj71but the pointers to the widgets will be determined at runtime22:38
rgareusand the top-level just have a virtual22:38
rgareusassuming C++22:38
rgareusin C you could use function pointers.  set them up when the widget is created.  just call the function that's pointed to22:39
rgareusI guess it's early prototying code from Harry.  just start somewhere22:39
ssj71thats what I'd think. Perhaps this is actually his method for widgets to interact?22:39
ssj71so each widget would have its callback to manipulate its data, but if you want dial 1 to turn dial 2 or something you'd do it here22:40
rgareusstill, looks rather odd to me22:41
rgareusone would normally  use signals / slot22:41
ssj71I suppose that could still be accomplished with a per-widget array of function pointers. just run through the list and send your CB data to all the functions22:41
rgareuswidget 1 emits a signal. all interested widgets subscribe to it.22:42
ssj71I'm trying to crack the AVTK code, but afaik fabla2 is the only example22:42
rgareusssj71: or just shoot harry an email22:42
ssj71yes thats the next step I guess22:42
ssj71I keep considering rolling my own C version of AVTK, but thats a lot of punishment for not much gain22:48
*** trebmuh has quit IRC22:58

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