Dustin Norlander | 22 Oct 20:52
Picon
Gravatar

cairo integration

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 <at> 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

Dustin Norlander | 22 Oct 21:14
Picon
Gravatar

request for comments: Theme Engine

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

Simon Persson | 25 Oct 14:29
Picon

Re: request for comments: Theme Engine

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.


Gmane