Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Transparent splash screen
takeshimiya:
--- Quote from: afb on November 04, 2006, 01:56:36 am ---So the best is probably to turn it off for now, and perhaps try again later with wx 2.7.x ?
--- End quote ---
Yes, I actually turn it off now; for wx 2.7 CoreGraphics is enabled by default, and there's a chance that QuickDraw will be deprecated, so better we wait.
afb:
Here were the end results, when using SHAPED=1 (wxFRAME_SHAPED):
ALPHA=0 (i.e. using a white color)
ALPHA=1 (it doesn't work on wxMac)
I'll upload the patch with SHAPED=0, in case it starts to work later on...
--- Code: ---#if 0 // defined(__WXMAC__)
#define CBSPLASH_SHAPED 1
#define CBSPLASH_STYLE wxFRAME_SHAPED
#define CBSPLASH_ALPHA 0
#else
#define CBSPLASH_SHAPED 0
#define CBSPLASH_STYLE 0
#define CBSPLASH_ALPHA 1
#endif
--- End code ---
afb:
http://www.algonet.se/~afb/wx/codeblocks-shapedsplash.patch
thomas:
--- Quote from: afb on November 04, 2006, 03:07:04 am ---Here were the end results, when using SHAPED=1 (wxFRAME_SHAPED)
ALPHA=0 (i.e. using a white color)
--- End quote ---
Hey, that doesn't even look entirely bad! Different, yes... but not really bad. If one added a bit more border on the left and top-left to the image, it would look like it's actually intended to be that way (though I doubt it's worth the effort). What do you think, should I have a try?
Why don't you just commit it that way and leave it until they update wxMAC :)
afb:
--- Quote from: thomas on November 04, 2006, 04:45:18 am ---
--- Quote from: afb on November 04, 2006, 03:07:04 am ---Here were the end results, when using SHAPED=1 (wxFRAME_SHAPED)
ALPHA=0 (i.e. using a white color)
--- End quote ---
Hey, that doesn't even look entirely bad! Different, yes... but not really bad. If one added a bit more border on the left and top-left to the image, it would look like it's actually intended to be that way (though I doubt it's worth the effort). What do you think, should I have a try?
--- End quote ---
If it's not too much work and don't disturb the other platforms, then by all means do...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version