From: Dennis S. <sy...@yo...> - 2004-04-21 18:34:37
|
On Wed, 2004-04-21 at 19:34 +0300, Vitaly V. Bursov wrote: > patch againts scivi 0.2.0rc3 is here > http://xmms-scivi.sf.net/scivi-to-libvisual.patch.bz2 > > it's a hack and there are few lines of libvisual code. > > > like the idea of modelling our own event system to that off SDL ? > Well, can't say nothing bad about SDL's event system. > > One thing: what kind of events will be passed? You've already "grabbed" > some keyboard keys ('a' and 's' for example) what should be passed to > plugin if 'a' was pressed? plugin gets cleanup request now ;) > It looks logical to make plugin define a list (description) > of events it want to receive. > > List can be composed from event id predefined by libvisual for generic events > like prev/next preset, visualization mode, window resize, etc. or > plugin defined id's. In a last case plugin must supply description, > default binded key for keyboard events. Libvisual then will have > confugurable keyboard bindings which user can change as he/she likes. This might be an idea, however the a and s key are catches in the xmms plugin and not in libvisual, but i think it's a nice idea to have events like 'switch' and being able to bind this to an key. Good idea! > > For the rest my plan of abuse for the upcoming weeks looked good ? > AFAIR, yes. A huge TODO :) Yeah, with some luck i've got loads of time!, i saw at the project-m page that sdl-1.3, or better sdl cvs DOES support off screen render buffers for gl, you might want to check that out. We'll be looking in the whole gl issue after i'am done with the presented TODO list for the upcoming weeks. It's good to have an gl knowit onboard so this gets fixed good :) Cheers, Dennis |