>
> > It appears that the framebuffer on my target supports only 16bpp. Is there
> > a way to handle color in FLTK in 16 bits ?
>
> Hmm, I don't know.
>
> Does calling:
>
>     Fl::visual(FL_RGB);
>
> At the start of your app, before you create any widgets or windows help? It=
>  used to but I'm not sure about fltk-1.3 in that regard...
>
>
>
>
>
>
>
>
> 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.
> ********************************************************************
>


Hi Ian,

Thanks for the suggestion. I tried calling FL::visual(FL_RGB)from 
fl_open_display(). It did not work.

Interestingly I found out one thing about nano-X. The nano-X it seems returns 
the color in the sequence "ABGR". In which sequence does FLTK handle the RGB 
color?
My debug logs in FLTK shows me that fltk calls XSetForeground() function for 
setting text color. It is called from Fl_Xlib_Graphics_Driver::color() 
function. Am I looking at the correct place? Is this the call to nano-X that 
will set the text color?

If not  then can you please tell me correct place where to look?

Thanks
jayaram

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to