Mike Emmel wrote:
> As many of you know I'm working on porting the metacity wm to
> gtk/directfb and making it a wm.

Let us know if there's something to see :)

> Is there a good small sprite library for dfb if so I think we should
> integrate it and the cursor would just become a slightly specialized
> sprite ? Unique for example is almost a sprite library for its borders
> but is there something else ?

Well, just for the cursor I wouldn't use a sprite library :)

You can use StReT (Stack Region Tree) from UniQuE not only for borders,
but for every rectangular (non)transparent object on the screen. It
handles recursing, clipping and so on. If you pass in a rectangle to
update, it will give you all the pieces that you need to blit together
without doing too much, i.e. it discards areas below opaque objects.

Currently there are three main classes: background, window, cursor.

> Next I plan to add a  wm_start_desktop function thats called after dfb
> is fully initialized to
> allow running advanced  desktop stuff.

Why not have a dedicated application that does the stuff
from wm_start_desktop after initializing DirectFB?

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to