iceman_k
3rd April 2003 22:09 UTC
Small but useful(?) change to BgImage
I have made a small modification to BgImage so that it optionally displays the installer name in the top left corner of the image. The text color can also be set if desired.
I don't know if this is useful to anyone else, but I needed it for my installer.
The modified source is attached.
If it is considered useful to others, feel free to incorporate into the main source tree.
---
iceman_k
iceman_k
4th April 2003 15:36 UTC
Modified it to specify any text you like.
Usage:
BgImage::Init /NOUNLOAD [/FILLSCREEN ] path_to_bitmap [/TEXT "sometext"] [/TEXTCOLOR hexvalue]
BgImage::SetImage /NOUNLOAD [/FILLSCREEN ] path_to_bitmap [/TEXT "sometext"] [/TEXTCOLOR hexvalue]
The hex value is in RGB format without the leading "#", e.g., FFFFFF
---
Iceman_K
DOCa Cola
5th April 2003 11:59 UTC
nice
can you please compile it?
iceman_k
5th April 2003 15:25 UTC
Here is the compiled version.
The irritating 1 pixel border problem is still there.
---
Iceman_K
DOCa Cola
5th April 2003 15:49 UTC
Thx!
Originally posted by iceman_k
The irritating 1 pixel border problem is still there.
Yep, this problem is really annoying
DOCa Cola
iceman_k
6th April 2003 21:09 UTC
Removed libc dependency. Smaller dll.
---
Iceman_K
DOCa Cola
6th April 2003 21:12 UTC
what about putting this nice upgraded bgimage.dll in the cvs?
kichik
6th April 2003 21:22 UTC
BgImage is currently being worked on. This feature will be included too. Thank you for your patch.
DOCa Cola
6th April 2003 21:23 UTC
nice!