AW: [Insight-users] fltk image viewer

salah salah at gris . uni-tuebingen . de
Wed, 28 May 2003 15:17:02 +0200


Thanks Luis,

This is really strange. I use redraw !! It was
not the missing thing!! This effect I have described=20
occurs too when I resize the whole windows, for=20
example, when I maximize the whole UI.


Stephen,
Which list do you mean? the fltk list ?


Thanks,
Zein



-----Urspr=FCngliche Nachricht-----
Von: Luis Ibanez [mailto:luis . ibanez at kitware . com]
Gesendet: Dienstag, 27. Mai 2003 20:07
An: salah
Cc: ITK Users
Betreff: Re: [Insight-users] fltk image viewer


Hi Zein,


GLSliceView derives from Fl_Gl_Window.
a call to "redraw()" will invoke the "draw()"
method in the next GUI refreshment cycle.


Please ty calling "redraw()" just after you
display the image window.


    Luis


----------------
salah wrote:
> Hello,
>=20
> I have been using viewers that derive the GlSliceView class.
> I face always an uncomfortable effect:
> When the viewer window is shown for the first moment, it=20
> does NOT show the image, I can see only a blank widget!!!
> Only after I interact with this window (for example simply by
> clicking inside it), it display the image.=20
> How can make force my viewer to display the image as soon
> as it (the viewer) appears on the screen?? In other words,=20
> which method trigers this ? draw, redraw, ?????
>=20
> Thanks,
>=20
> Zein
>=20
>=20
> _______________________________________________
> Insight-users mailing list
>=20
> http://public . kitware . com/mailman/listinfo/insight-users
>=20