Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!lll-winken!ames!sgi!shinobu!odin!ratmandu!dave From: dave@ratmandu.sgi.com (dave "who can do? ratmandu!" ratcliffe) Newsgroups: comp.sys.sgi Subject: Re: Saving a file with a dialog box Keywords: 4Sight gl, textports, snapshot, prompt.c Message-ID: <3569@odin.SGI.COM> Date: 5 Feb 90 15:39:17 GMT References: Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 27 In article elkins@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.