Article View: comp.sys.atari.st
Article #36837form_dial() (was Re: Who have I clobbered? (GEM windows))
From: Robert allen Jung
Date: Wed, 01 Mar 1989 16:05
Date: Wed, 01 Mar 1989 16:05
27 lines
1745 bytes
1745 bytes
In article <7839@chinet.chi.il.us> saj@chinet.chi.il.us (Stephen Jacobs) writes:
>... I looked at my code, and the problem was that I
>ended the dialog handler with form_dial(FMD_FINISH, cx, cy, cw, ch, 0,
>0, 0, 0);. Apparently this only sends a redraw to a null rectangle
>rather than the one defined by cx cy cw ch.
Just to be totally trivial, the reason this occurs is because
form_dial(FMD_FINISH) has the format
form_dial (FMD_FINISH, small_x, small_y, small_w, small_h,
big_x, big_y, big_w, big_h)
where the small_ and big_ variables correspond to rectangles for growing
and shrinking box effects. Supposedly these are ignored by FMD_START and
FMD_FINISH, but from your experiences, they're not.
--R.J.
B-)
P.S. Ah, bugs in the documentation for C calls. What memories they bring...
=============================================================================
Disclaimer: This message was written with my authorization
# ## #
# ## # Mailing address: rjung@nunki.usc.edu
## ## ## (It's easier to just use the reply function, tho)
#### ## ####
Technical Details
Message-ID:
<2882@nunki.usc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!nunki.usc.edu!sal44.usc.edu!rjungReferences:
<7829@chinet.chi.il.us> <7839@chinet.chi.il.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!nunki.usc.edu!sal44.usc.edu!rjung From: rjung@sal44.usc.edu (Robert allen Jung) Newsgroups: comp.sys.atari.st Subject: form_dial() (was Re: Who have I clobbered? (GEM windows)) Keywords: GEM redraw rectangle Message-ID: <2882@nunki.usc.edu> Date: 1 Mar 89 16:05:54 GMT References: <7829@chinet.chi.il.us> <7839@chinet.chi.il.us> Sender: news@nunki.usc.edu Reply-To: rjung@sal44.usc.edu (Robert allen Jung) Organization: O-Mayer V BBS, Los Angeles, CA (213) 732-0229 Lines: 27