RE: [AD] desktop resolution (2)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


At 10:33 25.04.2001 +0100, you wrote:
> It's just an idea, but I'd really like to see a method which
> could grab the desktop.

what do you mean by "grabbing the desktop" ?

I'd would be great if i could do:

BITMAP* screenshot = get_desktop_bitmap();

(after allegro_init() but before setting a new gfx mode).

This would allow you to do "desktop toy", or you could write screensavers
transforming the desktop, etc.

There's an example for windows (dibgrab.c) which allows to do something
like this using windows specific routines.

Regards,

Lenny



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/