Saving a file with a dialog box

dave "who can do? ratmandu!" ratcliffe dave at ratmandu.sgi.com
Tue Feb 6 02:39:17 AEST 1990


In article <Feb.4.15.19.22.1990.11760 at topaz.rutgers.edu> elkins at topaz.rutgers.edu (George Elkins) writes:

  ...stuff about a Mac dialog box programming call...

>How does one create such a dialog box with buttons and a text field in
>4Sight using the GL/DGL interface?

not sure this will really give you all you want, (no "buttons" in this
implementation--just a carriage return to signal "i'm done") but IF you 
have 3.2, run /usr/sbin/snapshot and check out the way i programmed the 
little "textport" window that comes up when you specify via the mouse 
that you wish to change the filename you want to save yer image out to.  
(see ~4Dgifts/iristools/imgtools/snapshot.c for the source).
a more rudimentary version of this "textport" derives from 
~4Dgifts/examples/grafix/prompt.c which has a main that simply invokes 
the psuedo-textport routine.
--

                                             daveus rattus   

                                   yer friendly neighborhood ratman

                              KOYAANISQATSI

   ko.yan.nis.qatsi (from the Hopi Language)  n.  1. crazy life.  2. life
     in turmoil.  3. life out of balnace.  4. life disintegrating.  
     5. a state of life that calls for another way of living.



More information about the Comp.sys.sgi mailing list