1. drawBitmap() in Win32Lib

Hello again,

My next problem is just a bells 'n whistles issue.

What I am trying to do is create an image within a window that graphically
describes some variable.  You could think of it as a meter like you'd see on
a stereo-equalizer, or whatever.  Currently, I'm defining 41 very-small
bitmaps using loadBitmapFromFile(), and then putting all the handles into
a sequence.  This way I can say:

   drawBitmap(WINDOW, sequence_of_handles[variable_to_represent], x, y)

It is fast, and works just fine, but I don't like having 41 little bitmaps
in a directory just taking up space.  Is there a way to store all the
bitmap information to sequences, or something like the 'Resource Binder' in
the archive that will work with drawBitmap()? I'd be perfectly happy to
have a 250K include file which just stores the binary data for all those
bitmaps as opposed to a bunch of tiny little 5K images.

Thank you once again,
Brian
bjackson at 2fargon.hypermart.net

new topic     » topic index » view message » categorize

2. Re: drawBitmap() in Win32Lib

Wouldn't it be easier to just draw a generic bitmap control.

and then adding the parts that change on each control ??

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

Search



Quick Links

User menu

Not signed in.

Misc Menu