Re: Challenge for EUPHORIA Programmers

new topic     » goto parent     » topic index » view thread      » older message » newer message

C. K. Lester wrote:

> I was wondering and considered this:
>
> Is EUPHORIA "powerful" enough for running the
> "Flying Windows" screensaver?

Yes, all you're doing is blitting a graphic onto the screen. You can call
the Win32 function StretchBlt() to automatically resize the source bitmap
onto the destination. If you use a monochrome bitmap, just change the
background color of the destination before blitting it, and it'll
automatically draw it in that color for you.

-- David Cuny

NB: The actual implementation is trivial enough that I'll leave it as an
exercise for the reader.  I have an elegant solution, but it's a bit to
large to fit into the margin...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu