[vox-tech] xlib/gdk questions

2002-06-03 Thread Peter Jay Salzman
a few Xlib/Gdk questions... 1: colormaps when an xlib book talks about a colormap, is it talking about something which is global in scope? something that's shared by all Windows? is it determined by the graphics card? or something which exists for each Window on a display?

Re: [vox-tech] xlib/gdk questions

2002-06-03 Thread Mark K. Kim
On Mon, 3 Jun 2002, Peter Jay Salzman wrote: 1: colormaps when an xlib book talks about a colormap, is it talking about something which is global in scope? something that's shared by all Windows? is it determined by the graphics card? or something which exists for each

Re: [vox-tech] xlib/gdk questions

2002-06-03 Thread Peter Jay Salzman
hi mark, begin Mark K. Kim [EMAIL PROTECTED] On Mon, 3 Jun 2002, Peter Jay Salzman wrote: 1: colormaps when an xlib book talks about a colormap, is it talking about something which is global in scope? something that's shared by all Windows? is it determined by the

Re: [vox-tech] xlib/gdk questions

2002-06-03 Thread nbs
On Mon, Jun 03, 2002 at 01:24:31PM -0700, Peter Jay Salzman wrote: i've seen this happen before -- but i'm still not sure why it happens. can you explain just a little bit more why this happens? You've only got 256 colors on the 8-bit display. If program A wants 50 of them to be shades of

Re: [vox-tech] xlib/gdk questions

2002-06-03 Thread Peter Jay Salzman
begin nbs [EMAIL PROTECTED] On Mon, Jun 03, 2002 at 01:35:14PM -0700, Peter Jay Salzman wrote: i think this is the source of my confusion about global versus local colormaps. program A has a colormap of 256 colors. program B also has its own colormap of 256 colors. Yeah...