Re: XForms: more on formbrowser and image form

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Thu May 11 2000 - 11:02:13 EDT

  • Next message: Charlie Campbell: "XForms: xforms:Clipboard"

    # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

    flimage_to_pixmap()/flimage_to_pixmap() has been made public
    in the library for awhile, but hasn't been generally released
    (some platform may have it, I know HP definitely). In any case,
    I think use a background pixmap is to scroll an image is
    a good idea, so is functions to obtain the x and y offsets
    in a formbrowser.

    --- Steve Lamont <spl@szechuan.ucsd.edu> wrote:
    > # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve
    > Lamont) :
    >
    > > I did it a few weeks ago. I had some problems with color
    > quantization
    > > while converting flimage type to pixmap type.
    > > I'm using a trick to make it easier. I first display the image in a
    > > window and then, i use XCopyArea to grab the displayed image.
    > > But it doesn't work with image bigger than the window canvas. ...
    >
    > I tried the same thing last night as a potential hack and had the
    > same
    > result -- the area outside the visible window is bogus.
    >
    > I think what we need to add to the flimage stuff is a
    > flimage_display_to_pixmap(). It shouldn't be too hard to implement.
    > I'll take a hack at it sometime in the next couple of days if major
    > crises don't intervene (ha! dream on, dreamer!).
    >
    > 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/
    >

    __________________________________________________
    Do You Yahoo!?
    Send instant messages & get email alerts with Yahoo! Messenger.
    http://im.yahoo.com/
    _________________________________________________
    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 May 11 2000 - 11:06:44 EDT