Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!rex!uflorida!gatech!rutgers!modus!simm!polluce!morgaine From: morgaine@polluce.sublink.org (Nadia Pitacco) Newsgroups: comp.windows.x Subject: Re: Xview: gcm_initialize_colors(), What is it? Message-ID: <495@polluce.sublink.org> Date: 22 Apr 91 14:36:39 GMT References: <3088@sparko.gwu.edu> Organization: Informatica Sistemi - Milan, Italy Lines: 23 in article <3088@sparko.gwu.edu>, darken@seas.gwu.edu (Rudolph Darken) says: > > I've got some sample Xview code which has the function > gcm_initialize_colors(canvas, "black", "white") in it. > What does this do? It is part of a library of functions that, according to my manuals, are distributed with the OpenWindows Developer's Guide 1.1 product. They are distributed as is, with no technical support from Sun. The function gcm_initialize_colors() has the following syntax: void gcm_initialize_colors (window, bg_color, fg_color) and sets up the standard GUIDE colormap for "window" and all inherited items of that window. I don't know if SUN has included it in it's OpenWindows 2.0 environment ---------------------------------------------------- | Informatica Sistemi S.p.A | ////////////// | via Mercantesse, 3 | // I.S. // | 20021 Baranzate MI (Italy) | ////////////// | | | E-Mail : morgaine@polluce.SUBLINK.ORG | ----------------------------------------------------