home *** CD-ROM | disk | FTP | other *** search
/ Freeware for SPARC / sparcapps.tar / me / Apps / Graphics / ViewGif2.app / ViewGif2.nib (.txt) < prev   
NeXT TypedStream Data  |  1994-06-07  |  10KB  |  186 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [718c]
  8. typedstream
  9.     HashTable
  10. Object
  11. Controller
  12. HeaderClass
  13. %%%%i@@
  14. genericobject_nib
  15. activateMenu
  16. printRequest:
  17. showQueue:
  18. pageLayout:
  19. saveToTiff:
  20. showSlideshow:
  21. showDecoder:
  22. openRequest:
  23. FirstResponder
  24. firstnib
  25. checkSpelling:
  26. alignSelCenter:
  27.     unscript:
  28. pasteFont:
  29. runPageLayout:
  30. superscript:
  31. copyRuler:
  32.     copyFont:
  33. selectAll:
  34. pasteRuler:
  35. toggleRuler:
  36. showGuessPanel:
  37. alignSelLeft:
  38. paste:
  39. performClose:
  40. arrangeInFront:
  41. subscript:
  42. copy:
  43. alignSelRight:
  44. delete:
  45. orderFrontColorPanel:
  46. underline:
  47. performMiniaturize:
  48. [9172c]
  49. typedstream
  50.     HashTable
  51. Object
  52. Bitmap
  53. ViewGifApp
  54. iii00
  55. [576c]
  56. NibData
  57. @@@@s
  58. Storage
  59. {*@@}
  60.     [35{*@@}]
  61. File's Owner
  62. CustomObject
  63. Application
  64.     InfoPanel
  65. WindowTemplate
  66. iiii***@s@
  67. Panel
  68.     Responder
  69.     TextField
  70. Control
  71. TextFieldCell
  72. ActionCell
  73. ViewGif2
  74. Helvetica-Bold
  75. Button
  76. ButtonCell
  77.     Helvetica
  78. Version 1.0 March 1990
  79. GIF Image File Decoder
  80. lGIF and "Graphics Interchange Format" are trademarks (tm) of CompuServe, Incorporated, an H&R Block Company.
  81. YThis program is in the Public Domian
  82. No claims are made to it's usefulness or correctness
  83. Wby Carl F. Sutter
  84. sutter@ozone.usc.edu (NeXT mail)
  85. SUTTER@USCVM (BITNET)
  86. (213) 743-3826
  87. PUpdated for compatability with 2.1 Operating System
  88.  August 1991 by Don Yacktman
  89. Button1
  90. Field1
  91. Field
  92. Field3
  93. Field4
  94. Field5
  95. Field6
  96. Field2
  97. MainMenu
  98. MenuTemplate
  99. *@*@ccc
  100. Matrix
  101. @:@iiii
  102. [11@]
  103. MenuCell
  104. Info...
  105. Window
  106. Open...
  107. Save To TIFF...
  108. Page Layout...
  109. Miniaturize
  110. Close
  111. ff@@#::s
  112. submenuAction:
  113.     menuArrow
  114. Print...
  115. Paste
  116. Select All
  117. Queue...
  118. Decoder...
  119. Slide Show...
  120. Activate
  121. Help...
  122. ControllerInstance
  123. Controller
  124.     HelpPanel
  125. Help for ViewGif2
  126. ScrollView
  127. ClipView
  128. ciifffcfffs
  129. [3813c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  130. \margl40
  131. \margr40
  132. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ul0\fs24 Overview:
  133. \b0 \
  134. ViewGif2 is a program to decode images compressed with the CompuServe GIF format.  The second purpose of this program is to help programers in the NeXT environment.  This program and its source code are in the public domain.  No claims are made to its usefulness or correctness.\
  135. This program demonstrates making multiple windows, using IB modules to break up a program, handling an activate menu, splitting up long processes to allow other event handling, scrolling views, imaging data into bitmaps, and much more!  The intention is to provide good example code, rather than cryptic and fast code.  \
  136. \b General Use:
  137. \b0   Once the program is started,  choose the  "Open..." command in the "Window" menu to open a .gif file.  The file will be decoded and  imaged into a new scrolling window.    Muliple files can be decoded into their own windows.  You can also double-click a .gif file in the Workspace Manager to open and decode that file.  The "Queue" panel shows files waiting to be decoded.  The "Decoder" Panel shows the current decoding status.  The "SlideShow" panel flips through the windows named in the "Activate" menu.\
  138. Menus:\
  139. \b0\i Info... 
  140. \i0 - Brings up a panel showing author information.  This program is intended as a simple demo for new programmers, cut and paste to your heart's content.  No claims are made to the quality or usefulness of this code - use at your own risk.\
  141. Window...
  142. \i0  - This submenu lets you open a GIF file, and save the currently selected image window to a TIFF file.  The page layout for printing can also be adjusted, and the main window can be minaturized or closed (the standard buttons on the windows also allow this).\
  143. \i Print... 
  144. \i0 - Prints the main window (the one with the black title bar).\
  145. \i Edit 
  146. \i0 - Allows you to cut, copy, and paste text from various text fields in this program's panels.\
  147. \i Queue... 
  148. \i0 - Shows the Queue panel.  The Queue panel lists the files yet to be decoded (if any are pending).  While decoding is occurring, the queue can be re-arranged by selecting the appropriate buttons on the panel.  A group of files can be selected and moved or deleted.  The top file on the list is the next one to be decoded.  When the decoding of the top file begins, it is removed from the list.  The decoding of the next file can be paused indefinately by pressing the pause button.  Decoding can be resumed by pressing the pause button again.\
  149. \i Decoder 
  150. \i0 - Brings up the  "Decoding Status" panel.  This panel shows the status of the image decoding process.  After the file is decoded, it is imaged to match the number of colors available on the display.  The imaging process may take a few minutes for large images, and slows the machine down considerably.\
  151. \i Slide Show 
  152. \i0 - Brings up the  "Activate Menu Slide Show" panel.  This panel allows the windows to be shown in order at a given pace.  The windows (one for each decoded file) are listed in the "Activate" menu.  The slide show loops around to the first window after the last is brought to the front.\
  153. \i Activate 
  154. \i0 - Lists the decoded files.  Each file is decoded into it's own window, so this menu is also a list of the windows.  Clicking on a desired image name will bring it's window to the top of the screen.  The Slide Show panel just simulates clicking down this list.\
  155. \i Help 
  156. \i0 - Brings up this panel.\
  157. \i Hide 
  158. \i0 - Hides the program, but leaves it running.  The program icon will remain on the screen.  All other windows associated with this program will be hidden.\
  159. \i Quit 
  160. \i0 - Quits the program, and frees any memory it is using.\
  161. NXCursor
  162. NXImage
  163. NXibeam
  164. Scroller
  165. _doScroller:
  166. @@@ffsP
  167. ScrollingTextC=
  168. {i*@@@}
  169. [18{i*@@@}]
  170. hide: 
  171. terminate:"
  172. makeKeyAndOrderFront:
  173. copy:
  174. paste:
  175. selectAll:
  176. showQueue:
  177. delegate
  178. performClose:
  179. performMiniaturize:
  180. openRequest:
  181. showDecoder:
  182. printRequest:
  183. saveToTiff:
  184. pageLayout:
  185. showSlideshow:
  186.