Re: XForms: Problems resizing form containing a gl_canvas

From: Nicolas Castagne (Nicolas.Castagne@imag.fr)
Date: Thu Mar 07 2002 - 07:13:53 EST


# To subscribers of the xforms list from Nicolas Castagne <Nicolas.Castagne@imag.fr> :

Just a few words.
I've had many problems with resizing canvas. Solved by upgrading to the
last version of the library and by freezing forms before resizing.
Wish it could help !
NiKo

--------------------------------------------------------------------
Nicolas Castagne

Doctorant ICA - ACROE
        Laboratoire Informatique et Creation Artistique
        Association pour la Creation et la Recherche
                sur les Outils d'Expression
INPG, 46 av Felix Viallet
38 000 Grenoble, France

tel : (33) 4 76 57 46 60

ATER ENSIMAG
--------------------------------------------------------------------

On Wed, 6 Mar 2002, David Scriven wrote:

> # To subscribers of the xforms list from David Scriven <davidwriter@yahoo.com> :
>
> Yes, and it doesn't help.
>
> I've tried using fl_winresize instead of
> fl_set_form_size - same effect. Note that
> I said that a reduction of size from 3x
> to 2x draws half the picture (top half
> in bottom half of window) - this is why I
> think it is a geometry problem.
>
> I've also tried forcing the canvas to resize
> to the same size as the form with
> fl_set_object_geometry - this is disasterous
> because nothing shows (except a black screen) on
> resizing and eventually the program will crash with
> an error in X_ConfigureWindow with a value of failed
> request being zero.
>
> As I wrote before the sizes reported by
> fl_get_wingeometry and fl_get_object_geometry are not
> the same. It seems that an internal table is being
> messed up. Is there a way to resize things directly
> that XForms won't object to?
>
> --- spl@ncmir.ucsd.edu wrote:
> > # To subscribers of the xforms list from
> > spl@ncmir.ucsd.edu :
> >
> > Are you handling the ConfigureNotify event? If you
> > aren't what may be
> > happening is that the image isn't getting redrawn.
> >
> > 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/
> >
>
>
> ______________________________________________________________________
> Find, Connect, Date! http://personals.yahoo.ca
> _________________________________________________
> 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/
>
>

_________________________________________________
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 : Wed May 01 2002 - 13:54:15 EDT