nanogui: how to set the CMAP fot frame buffer?


Previous by date: 25 Jun 1999 18:21:22 -0000 Re: nano-X 0.6, Alex Holden
Next by date: 25 Jun 1999 18:21:22 -0000 Re: nano-X 0.6, Greg Haerr
Previous in thread: 25 Jun 1999 18:21:22 -0000 Re: how to set the CMAP fot frame buffer?, Cheng Bor-wen
Next in thread:

Subject: RE: how to set the CMAP fot frame buffer?
From: Greg Haerr ####@####.####
Date: 25 Jun 1999 18:21:22 -0000
Message-Id: <01BEBF04.ACF8E640.greg@censoft.com>

On Thursday, June 24, 1999 5:43 PM, Cheng Bor-wen ####@####.#### wrote:
:  << File: ATT00010.txt; charset = big5 >> 

	The palette setting code works, so you've got more debugging
to do with your code.  Remember that a palette is a packed array of
three characters, r, g, b.

Microwindows is at ftp://microwindows.censoft.com/pub/microwindows

Greg




Hello Greg:

thanx for ur replying me so soon!

my code is just the same as yours! (the are both from bogl)
I've checked the value in CMAP before and after calling FBIOPUTCMAP,
and I am very sure that I have set different color map into system's frame
buffer succesfully,

after setting my color map successfully, I draw a rectangle with the same
color value,
but the rectangle shown on my screen is the same as the one shown before
setting color map,
why???
(I'm sure my system's fram buffer is FB_TYPE_PACKED_PIXELS and
FV_VISUAL_PSEUDOCOLOR)

would U please give me more information about microwindows?
I need to know if it has its own web site, where to download its code!

Chris


Previous by date: 25 Jun 1999 18:21:22 -0000 Re: nano-X 0.6, Alex Holden
Next by date: 25 Jun 1999 18:21:22 -0000 Re: nano-X 0.6, Greg Haerr
Previous in thread: 25 Jun 1999 18:21:22 -0000 Re: how to set the CMAP fot frame buffer?, Cheng Bor-wen
Next in thread:


Powered by ezmlm-browse 0.20.