nanogui: Problem regarding image displaying


Previous by date: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Darren Legge
Next by date: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Greg Haerr
Previous in thread: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Darren Legge
Next in thread: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Greg Haerr

Subject: RE: [nanogui] Problem regarding image displaying
From: "Martin Kajdas" ####@####.####
Date: 9 Oct 2006 16:57:46 +0100
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC2291576@mkmail.MKPROD.COM>

I had this problem and fixed it and gave Greg the patch.
It was a simple fix but I would need to search for it.
I do not think it is included in the CVS.
Martin

-----Original Message-----
From: Darren Legge ####@####.####
Sent: Monday, October 09, 2006 8:22 AM
To: ####@####.####
Subject: Re: [nanogui] Problem regarding image displaying


I have a similar problem. I am using FLTK1.1.7 and it's working well
except that white shows as black. I am using a arm (intel xscale) based
design with a linux frame buffer running 16 bits per pixel
(MWPF_TRUECOLOR565).
The FLTK application shows correctly when compiled and run on suse linux
(ie X windows directly - no microwindows) and even MS windows, so I
think I have to look at nano-X somwhere.
I have tried the latest microwindows and nxlib from CVS today but it
behaves the same.
I have tried changeing wp->background = WHITE in GsInitialize. This
shows a white screen as you would expect, but the white bits (pictures
or any box coloured white) in the FLTK program still show as black.
I would appreciate any hints on how to fix this as apart from that I am
very happy with the results I have so far.
On another note, the mirror of this list on linuxhacker.org seems to not
have updated since wednesday...
Thanks, Darren.

>>> "Greg Haerr" ####@####.#### 07/10/06 23:40 >>>
: The jpg images are displayed with a few portions of the image being
: replaced by the background color.

Make sure you're using the CVS version, previous versions
had issues with WHITE not being drawn, because nano-X
thought it was the transparent color.

What bpp is your hardware, and what bpp are
the png and bmp images?

Regards,

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.#### 
For additional commands, e-mail: ####@####.#### 


------------------------------------------------------------------------
-------------------


***** REDUCE WASTE! PLEASE DO NOT PRINT THIS EMAIL UNLESS ABSOLUTELY
NECESSARY *****

This Email is intended only for the person(s) to whom it is addressed
and may contain confidential information. If you have received this
Email in error, please notify the sender and destroy any copies.

The content of this Email may not represent the views of Energy
Technology and Control Ltd.

This Email has been scanned for viruses by Sophos Antivirus and is
believed to be virus-free. 

Energy Technology and Control Ltd
25 North Street
Lewes
East Sussex
BN7 2PE
UK

Tel: +44 1273 480667

Email: ####@####.####

####@####.####

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


Previous by date: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Darren Legge
Next by date: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Greg Haerr
Previous in thread: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Darren Legge
Next in thread: 9 Oct 2006 16:57:46 +0100 Re: Problem regarding image displaying, Greg Haerr


Powered by ezmlm-browse 0.20.