Re: XForms: 2 errors: fselector and image/canvas

T.C. Zhao (tc_zhao@yahoo.com)
Sat, 25 Dec 1999 09:08:12 -0800 (PST)

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

--- thorsten@flaz3.nt.fh-koeln.de wrote:
> # To subscribers of the xforms list from
> thorsten@flaz3.nt.fh-koeln.de :
>
> hy,
>
> now some bugs for x-mas ;-)
>
> 1. fl_show_fselector: using and holding arrow-down-key in file-window
> results in
> a. mooving the yellow-selector down (just as
> expected) but also
> b. suddenly selecting a file. (not so nice :-( ) !!!
> 'works' in fbrowse DEMO
Will look into it.
> 2. flimage/canvas: i use a canvas in the form for displaying images.
> once an image gets displayed, i change the color
> of some pixels
> (image->red[a][b] = 255). to get the changes displayed, i
> call image->display.
> ups! nothing happens :-((

Poor documentation on my part. You need to set image->modified = 1
so xforms will use the image instead of the buffered XImage.

> figured out, saving the image before calling
> image->display is the right routine
> to get the changes displayed!
> (<G> hmmm, what about using this one for displaying.....)
> o.k. the reason is that saving calls something like:
> CanvasIntercept Event(12,..,..),
> that image->display doesn't.
> ( i also tried: fl_redraw_object(canvas), flimage_display,
> fl_update_display, XFlush :-(()
>
> anny comments / workarounds / explanations ???!!!
> system env: i586-linux-glib2 & powerpc-linux-glib2, icewm, forms
> 0.89A
>
> thorsten
>
>
> _________________________________________________
> 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://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>
>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/