User forums > Nightly builds

The 22 January 2006 build is out.

<< < (2/2)

thomas:

--- Quote from: boaz on January 23, 2006, 02:28:42 pm ---ATL toolbars have the same problems on Win2k with 24 bit color depth. If you use 32 bit its OK. I think 16 bit is OK too, only 24 bit (And win2k)
--- End quote ---
We are using 32 bits (24 bit colour / 8 bit alpha).
A 24 bpp image does not contain any alpha information (at least not in any standard format). Are you referring to 8 bit paletted with one transparent colour? This is indeed what works fine on Windows 2000. The downside of 8 bit paletted transparency is that it looks crap :(

boaz:
Sorry I was not clear.
I mean the Windows device settings of your VGA, when using 32bit DIB(s) (Image-Lists in ATL). The same code, (32bit DIB(s)), looks black if the Display Device is set to 24 bit. Are we using Image-lists?

Free Life
Boaz

artoj:
I guess the different sized menu items is known bug?

You can see it clearly in View -> Toolbars & View -> Manager. The height diff between these two is almost double. It's probably a wxWidgets issue.

280Z28:
thomas, since you know the background color of the settings box, you can make all of them non-transparent. :) Keep the original files of course because it might change in the future, but the ones released can be solid colors. :) It'll save space in the dist, too.

takeshi miya:

--- Quote from: 280Z28 on January 23, 2006, 03:27:44 pm ---thomas, since you know the background color of the settings box, you can make all of them non-transparent. :) Keep the original files of course because it might change in the future, but the ones released can be solid colors. :) It'll save space in the dist, too.

--- End quote ---

No, here's why:

--- Quote from: Takeshi Miya on January 23, 2006, 01:24:33 pm ---
--- Quote from: thomas on January 23, 2006, 12:57:43 pm ---we can remove transparency alltogether and blend the icons against the background colour.

--- End quote ---
Hardcoding (blending) to white colour will look ok on Windows 2000, but they will look really horrible in other systems that haves the background colour of the ListBook different. For example, in the (future) wxMac port of C::B. They will look even worse than in w2k.
So neither options are great. Icons with alpha is not easy...

I think that the alpha-icon-problem-on-windows-2000 should be solved from the wxWidgets side this way: When loading a png, it should always dither the alpha channel to the background colour. That means converting icons 32->24 bits in real time (on systems that doesn't support alpha icons, that is).

--- End quote ---

Navigation

[0] Message Index

[*] Previous page

Go to full version