XForms: Colormap.

From: Yann Guichoux (guichoux@shom.fr)
Date: Fri May 12 2000 - 08:44:04 EDT

  • Next message: Steve Lamont: "Re: XForms: Colormap."

    # To subscribers of the xforms list from Yann Guichoux <guichoux@shom.fr> :

    I've got a problem (yep, another one...) with color allocation.
    here is a piece of code i wrote :

    for (i=0;i<100;i++)


    for (i=0; i<100; i++)
            if (red!=rTest || green !=gTest || blue !=bTest)
                    fprintf(stderr,"bad Alloc !\n");

    my problem is that some colors are not well allocated by this way...and
    i don't know why..

    thanks for any help ...
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/

    This archive was generated by hypermail 2b29 : Fri May 12 2000 - 09:05:05 EDT