Re: XForms: fl_image & pixmap

From: Yann Guichoux (guichoux@shom.fr)
Date: Fri Mar 03 2000 - 11:06:34 EST

  • Next message: Steve Lamont: "Re: XForms: fl_image & pixmap"

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

    Steve Lamont wrote:
    >
    > # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
    >
    > > 1 - I would like to display an fl_image in a pixmap, What 's the best
    > > way to do this ?
    >
    > I assume you mean a Pixmap object. Use fl_create_from_pixmapdata() to
    > convert the FL_IMAGE data into a Pixmap and then feed that Pixmap to
    > the object with fl_set_pixmap_pixmap().
    >

    another question about convertion from FL_IMAGE to Pixmap using
    fl_create_from_pixmapdata()...

    The second argument of fl_create_from_pixmapdata() is a char ** . How
    can i convert the FL_IMAGE data in char ** ?

    sorry for this stupid question...but i'm not very familiar with image
    formats....

    YG
    _________________________________________________
    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 : Fri Mar 03 2000 - 11:12:27 EST