Re: color pallete

John Prinos (t47851@perf2.dehavilland.ca)
Fri, 7 Mar 1997 20:32:52 -0500

To subscribers of the xforms list from "John Prinos" <t47851@perf2.dehavilland.ca> :

On Feb 27, 4:34pm, Frank Stefani wrote:
> Subject: Re: color pallete
> To subscribers of the xforms list from Frank Stefani
<EAD-Frank.Stefani@t-online.de> :
>
> John Prinos wrote:
> > Is there some way in which I can keep my application from 'switching
colors'
> > each time the mouse passes over it?
>
> I had the same problem with Linux and Gimp. It disappeared when
> I used an Xserver with more than 8 bits color depth. The accelerated
> Xservers (S3, W32, ...) don't support it. Use the standard SVGA
> server (XF86_SVGA) and start it with
>
> startx -- -bpp 16
>
> (8, 16, 24, 32 are possible). Maybe, you will have to run
> "xf86config" again. And take care that some modes and screens
> are generated for at least 16 bpp.
>
> Hope this helps,
> Frank.
>
> BTW: I heard that the next release of X (XFree86) will support
> more color depths and an accelarator is built in! Should be out
> soon...
> --
>-- End of excerpt from Frank Stefani

The answer to this is in A.2 of Appendix A. just set the visual designation to
FL_DefaultVisual using fl_set_defaults and the FL_IOPT structure.

J0hn

-- 
 
*       *     **    *****   *     ***   ***
*       *    *  *       *   *    *   * *   *
*       *     **        *   *   *     *     *
 *******    ******   ****   *   *     *     *
  *   *       **        *   *   *     *     *
   * *       *  *       *        *   * *   *
    *        *  *   *****   *     ***   ***

John Prinos Performance Engineering Bombardier DeHavilland (416) 375-3574 <jprinos@dehavilland.ca>

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/