Re: Image not being retained [message #1929] |
Tue, 05 April 1994 02:57 |
knipp
Messages: 68 Registered: January 1993
|
Member |
|
|
In article 149243@yuma, dean@phobos.cira.colostate.edu () writes:
>
> I am able to create a WIDGET_DRAW too handle an image larger than the
> screen with scroll bars. The scoll bars work and the image is retained as
> I scoll around the image. However, when I add CURSOR to the PROCEDURE, the
> image is no longer retained as I scoll through the image.
>
> Can someone offer a solution o allow me to retain my image and scroll
> Can someone offer a solution to allow me to retain my image as I scoll
> through the image and allow CURSOR to work along with it?
>
> Kelly Dean
> CSU/CIRA
I do not know if this will help you:
1) Be sure to use RETAIN=2 when calling WIDGEt_DRAW()
2) I have got a similar problem:
when reading cursor-coordinates in a loop, p.e.
repeat begin
cursor, xc, yc, /wait, /devi
print, xc, yc
endrep until !mouse.button ne 4
Whle being in the loop I am NOT able to scroll, however
outside I am.
I have not overcome that problem yet.
Karl
____________________________________________________________ __________________
__ ____ __
/ // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922
/ // /_/ // / University of Hannover fax: +49 511 - 762 2483
/ // ____// / Institute for Photogrammetry
/ // / / / Nienburger Str.1
/_//_/ /_/ FRG 30167 Hannover 1 email: knipp@ipi.uni-hannover.de
|
|
|