gsds@tahoma.UUCP (K.C.Babb) (02/21/90)
I'm having a problem with an application using GMR2D (2.1) in current-bitmap mode (have also tried direct mode and that doesn't help); I create a bunch of viewports, a metafile, an environ- ment file, and a bunch of segments with various drawing commands, but I can't get the segments to show up in the viewports until I push and pop the window from the keyboard. I've tried using pad_$pop_push_window (I think that's the name--the manual is someplace else right now), and have set the viewport refresh states to partial, and tried gm_$display_segment_part (yes, I know what my segment bounds are, and they're okay), gm_$viewport_ refresh, even gpr_$set_auto_refresh, and a host of other methods to try to force these things to display. No luck. What am I doing wrong? I'm not a newcomer to GMR, but I'm not exactly any kind of expert either. I've called Apollo but have had little luck getting them to call me back. All I need is some insight from someone who knows GMR2D and its quirks quite well, and can advise me about what kinds of things can suppress viewport refreshing. There are lots of other things going on in this application (GPR BLT's to copy parts of the screen and such, input event enables, etc.)-- could one or more of these be interfering with the viewport operations? Yes, I'm sure I release the display after I acquire it. Yes, I have internal status code checks all over the place, but apparently all I'm getting back is status_$ok (including from the display-segment and viewport- refresh calls). Once I do they keyboard-initiated push and pop, things seem to work more or less okay; it's just starting up that the problem occurs. Is there some order dependency of viewport/ file/segment creation that I should know about? AARRRGH! Thanks so much in advance for any help anyone can offer me. Oh, yes; we're still under 9.7. KCB -- (standard--or otherwise--disclaimer not worth the bother) Singh/Masden/Babb/Chen Voice: (206) 237-2564 B.C.A. Flt. Sys. Lab, BF31B UUCP: ..!uunet!bcstec!tahoma!gsds P.O. Box 3707, M/S 66-22, Seattle, WA 98124