1. drawBitmap() in Win32Lib
- Posted by Brian Jackson <bjackson at 2FARGON.HYPERMART.NET> May 11, 1999
- 397 views
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
2. Re: drawBitmap() in Win32Lib
- Posted by Bernie Ryan <bwryan at PCOM.NET> May 11, 1999
- 401 views
Wouldn't it be easier to just draw a generic bitmap control. and then adding the parts that change on each control ??