[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
nxlib doesn't support monochrom LCD
From: Alan Chuang ####@####.#### Date: 25 May 2005 08:54:23 +0100 Message-Id: <f295c6330505250053206cf771@mail.gmail.com> Hi Greg and all: I am trying to use FLTK1.1.6 with nxlib-0.45 on my two mips platforms. The cross compliation was successful and I was able to draw a simple GUI on my color LCD platform (bpp=24). However, when I try to use the same problem on the system with monochrom LCD (bpp=1), the nxlib exits saying that it doesn't support bpp < 8. Has anyone been able to make nxlib work for mono display? I hate to use FLTK API for one platform and NANO-X API for another. I would like to use FLTK APIs for both. thanks, Alan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] nxlib doesn't support monochrom LCD
From: "Greg Haerr" ####@####.#### Date: 25 May 2005 22:17:50 +0100 Message-Id: <0aca01c5616f$1b11c260$0300a8c0@RDP> : However, when I try to use the same problem on the system with monochrom LCD (bpp=1), the nxlib exits saying that it doesn't support bpp < 8. Has anyone been able to make nxlib work for mono display? You'll need to grep through NXLIB, especially the XOpenDisplay() function, allow the 1bpp case. Your primary big problem will be if your application uses X bitmaps, I didn't write all the conversion code that X11 has (which is tons) to convert any possible bitmap format to any other before and after sending it to the X11/nano-X server. The other cases are likely easily handled by nano-X. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |