> > > Hi Ian, > > The following code is something similar to what I am trying to do in my > > application: > > OK - the code looks fine... > > > I am trying to set the label color with labelcolor() function. While doing > > this the color of the text is pinkish instead of white. The same thing > > when I do with FLTK 1.1.7 appears white. The problem is with FLTK 1.3.0 > > Well... I tried your code on a couple of hosts, with both fltk-1.1.current = > and fltk-1.3-current and the results were fine in all cases. > > There must be something weird about the microwindows/nano-X environment. > > Note that one of the big "under the covers" changes in fltk-1.3 is that a l= > ot of the internal types were increased from 16-bit to 32-bit, and there we= > re related changes in the way the FL colour types are handled. > > I'd have to guess that whoever is maintaining the microwindows port, or the= > Nano-X stuff, had maybe tripped up over one of these internal changes in f= > ltk, though I can't begin to guess where... > > As it stands, I can't reproduce the failure... > > FWIW, it works OK under Xorg on a Raspberry-Pi...! > > > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > 14 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. > ******************************************************************** >
It appears that the framebuffer on my target supports only 16bpp. Is there a way to handle color in FLTK in 16 bits ? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

