> I have a question of set fltk color. > > I use color(0x0) to set background color to black, but it display white > to me, and if I use color(0x01010100), the display is black, so why > 0x00000000 is not black in fltk? > > my fltk version is 2.0, and my system's color bit 32bpp.
As you have been advised before, fltk-2 is deprecated, so support is likely to be "fragmented" - you would do better converting to the supported fltk-1.3 branch, I think. What version of fltk-2 are you using? What target platform? Is it WIN32? IIRC, WIN32 has some odd behaviours handling RGBA values if the A is 0, so that might be what's happening, I guess. Other than that, not sure, you would need to post a minimal compileable example that exhibited the failure so that we could consider what might be happening... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

