1. RE: crowded directory: bitmaps & resources
- Posted by jordah ferguson <jorfergie03 at yahoo.com> Apr 02, 2002
- 393 views
well, Jesus...i know exactly the same problem you are facing. my cirrus program had over 42 icons and 15 bitmaps. it is for this reason that i have decided to build a wrapper to David Cuny's resource kit. if you are using win32lib then you are in luck. I'm soon posting this wrapper that will enable you to place avi,wav,ico,bmp,gif that are fast and compatible with the win32lib version. I'm planning to add jpeg,mov...etc just tell me extras you would want me to add. i have been buried in API programming for the last month and a half thanx to euman. now i understand how things work , alittle bit. i'll release the win32lib wraPPER so very soon. API programmers, i'm also building a wrapper for U!!! this project came up to me recently and has greatly slowed my cirrus projecta and i hope it will benefit many6 programmers out there jordah JesusC wrote: > (I dont'k know why these aren't posted... trying again) > Hi everybody! > I'm currently updating my old Euphoria Win Thermometer to the new > standards, win32lib, eu 2.3 (and dlportio.dll to be able to use it under > > NT/2k). > Everything is working fine now, but I've ended with a lot of files in > the distribution, many of them small bitmap files that build up the > seven segment LED display on screen. > Previously, with the DOS version, I used the nice Resource building tool > > from David Cuny, but it was focused to the LoadBitmap DOS procedures, > and is not suitable for windows use. > Has someone else came up with some way of putting all the bitmaps in a > single file and selectively load them from windows (win32lib)?. > I suppose it's to be a common practice in game programming... > Also, I would'nt like to convert all the bitmaps to sequences, to avoid > cluttering too much the yet cluttered source... > Any alternatives?. > Regards, > JesusC. > > Does anybody know > >
2. RE: crowded directory: bitmaps & resources
- Posted by Bernie Ryan <xotron at localnet.com> Mar 28, 2002
- 393 views
JesusC wrote: > (I dont'k know why these aren't posted... trying again) > Hi everybody! > I'm currently updating my old Euphoria Win Thermometer to the new > standards, win32lib, eu 2.3 (and dlportio.dll to be able to use it under > > NT/2k). > Everything is working fine now, but I've ended with a lot of files in > the distribution, many of them small bitmap files that build up the > seven segment LED display on screen. > Previously, with the DOS version, I used the nice Resource building tool > > from David Cuny, but it was focused to the LoadBitmap DOS procedures, > and is not suitable for windows use. > Has someone else came up with some way of putting all the bitmaps in a > single file and selectively load them from windows (win32lib)?. > I suppose it's to be a common practice in game programming... > Also, I would'nt like to convert all the bitmaps to sequences, to avoid > cluttering too much the yet cluttered source... > Any alternatives?. > Regards, > JesusC. > > Does anybody know Jesus: There is a program that I wrote called win32eru that you can take take your window bitmap resource files (.res file) and automatically convert the compiled windows .res file to a euphoria include file. The program will do some simple compression if it can, to shrink the bitmap sequence, it also will write the code to display the bitmaps. There is a demo in the zip file that uses bitmaps on a toolbar and also displays a bitmap in the client area. http://www.rapideuphoria.com/win32eru.zip Also there is a window's library called w32engin.e which I wrote that allows a user to write window's programs if you prefer to write all your code using a more "C" style programming technique. This library also contains it own version of the eru utility. http://www.rapideuphoria.com/w32engin.zip Bernie