From dustinn at gmail.com Sat Oct 22 19:52:53 2005 From: dustinn at gmail.com (Dustin Norlander) Date: Sat Oct 22 19:53:14 2005 Subject: [Y-devel] cairo integration Message-ID: <25a36d280510221152m355dda02xad4f018953a2b843@mail.gmail.com> I have been working on integrating cairo drawing into Y. I have cairo drawing now, and I added it as a dependancy to the build script (cairo version >= 1.0). you guys can check it out by: $ tla register-archive http://www.dustinnorlander.com/arch/ $ tla get dustinn@gmail.com--2005/Y--dustin I haven't bothered changing all the drawing yet, so it looks pretty childish, heh.. I want to start in on the theme engine, so I'll just update the drawing routines as i go. For now the cairo_t is a member of the Painter struct. And I have just made the PixelBuffer and the cairo image buffer share the same memory.. I think I will end up doing away with the PixelBuffer stuff in faver of using cairo Buffers (The Y Buffer arrangement will remain the same just that the PixelBuffer implementation will go away). http://www.dustinnorlander.com/Y/ywiki/index.php?title=Recent_Changes -Dustin From dustinn at gmail.com Sat Oct 22 20:14:09 2005 From: dustinn at gmail.com (Dustin Norlander) Date: Sat Oct 22 20:14:16 2005 Subject: [Y-devel] request for comments: Theme Engine Message-ID: <25a36d280510221214k78e0c8f6s176d70bf7e0c81ce@mail.gmail.com> Like I said in the previous email I am starting work on the theme engine. I have some ideas on how to proceed. But I wanted to see if anyone out there has specific ideas on they think it should work. Along with cleaning up the current interface, I am planning on adding theme support for transitions.. So the theme would handle animation of state transistions (like you want your buttons to bounce up and down when pressed or windows to spine closed, or other such silly effects. ) So, if there are specific things you think the theme engine should have/do/ speak now.. -Dustin From simper-2 at student.ltu.se Tue Oct 25 13:29:35 2005 From: simper-2 at student.ltu.se (Simon Persson) Date: Tue Oct 25 13:29:48 2005 Subject: [Y-devel] request for comments: Theme Engine In-Reply-To: <25a36d280510221214k78e0c8f6s176d70bf7e0c81ce@mail.gmail.com> References: <25a36d280510221214k78e0c8f6s176d70bf7e0c81ce@mail.gmail.com> Message-ID: <200510251429.36181.simper-2@student.ltu.se> On Saturday 22 October 2005 21.14, Dustin Norlander wrote: > So, if there are specific things you think the theme engine should > have/do/ speak now.. > > -Dustin I'm thinking of starting to experiment with having theme modules written in s-lang. For that a way for the interpreter to add hooks would be needed. This will probably not be a problem at all but if it would now at least you know of my plans. I should probably spend some more time reading the code and know what the planned changes are before making any specific suggestions. Roughly what are the ideas you have? Cheers, Simon.