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
Small but useful(?) change to BgImage
9 posts
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
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
nice
can you please compile it?
can you please compile it?
Here is the compiled version.
The irritating 1 pixel border problem is still there.
---
Iceman_K
The irritating 1 pixel border problem is still there.
---
Iceman_K
Thx!
DOCa Cola
Originally posted by iceman_kYep, this problem is really annoying
The irritating 1 pixel border problem is still there.
DOCa Cola
Removed libc dependency. Smaller dll.
---
Iceman_K
---
Iceman_K
what about putting this nice upgraded bgimage.dll in the cvs?
BgImage is currently being worked on. This feature will be included too. Thank you for your patch.
nice!