RE: crowded directory: bitmaps & resources

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu