1. Win32Lib Graphics Demo

I've been adding features to Win32Lib - specifically, much better graphic
support.

I've sent in a demo to Robert that shows off some of the new features:

  - New class (Pixmap) supports off-screen bitmaps
  - Wrappers on BitBlt
  - Bitmaps with transparency (sprites)

As usual, feedback is appreciated. I'm curious how well/poorly the demo runs
on other people's machines. I haven't had a chance to run it under NT yet,
so I don't even know if it works on that platform.

I hope to release the library in a couple days.

Thanks!

-- David Cuny

new topic     » topic index » view message » categorize

2. Re: Win32Lib Graphics Demo

David, it runs great on my system...wish I could control the little guy
though...makes me want to blast something!!!
Monty



>I've been adding features to Win32Lib - specifically, much better graphic
>support.
>As usual, feedback is appreciated. I'm curious how well/poorly the demo
runs
>on other people's machines

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32Lib Graphics Demo

MB King wrote:

> Is there a limit to how big these "pixmaps" can be?

I borrowed the pixmaps from a demo in "Developing Linux Applications"; I
didn't realize how small they would be, and I'm to lazy to make them larger.

I have tried dragging pixmaps of about 70x90 around on the screen with no
problem, though. Performance will degrade as more pixmaps are placed on the
screen - I just don't know how quickly. There are a number of things I can
do to make the code more efficient, such as saving the mask instead of
rebuilding it each time. But I'm still in debug mode - optimizations come
later.

There are a number bugs remaining in the code. Greg and Pete ran into
problems with handles being passes as integers, and elsewhere a test in the
code breaks when handles return large values - they look negative. Handling
of fonts also had some bugs. That's why I posted the code as a demo, instead
of a full Win32Lib release.

I'll try to post an update of current fixes later today.

> something like the old spinning tank demo be done with it?

I haven't actually seen the tank demo, but I don't see why not. That's what
this library is supposed to be used for.

Thanks!

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu