Re: XForms: flimage_from_pixmap

From: Steve Lamont (spl@ncmir.ucsd.edu)
Date: Thu Oct 19 2000 - 09:20:24 EDT

  • Next message: Alan McGuinness: "XForms: Browser question"

    # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :

    > fl_image=flimage_alloc()
    > fl_image->type=FL_IMAGE_RGB;
    > fl_image->w=pixmapWidth;
    > fl_image->h=pixmapHeight;
    > flimage_getmem(fl_image);
    > flimage_from_pixmap(fl_image,pixmapId); <---------- this function is
    > returning FALSE;
    >
    > what's wrong with this ?

    Probably nothing.

    flimage_from_pixmap() returns 0 if the function executed *correctly*
    and -1 if it fails.

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



    This archive was generated by hypermail 2b29 : Thu Oct 19 2000 - 10:10:22 EDT