home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 (1993) / nebula.bin / SourceCode / MiniExamples / PerformanceTuning / Winfo / Winfo.nib (.txt) < prev    next >
Encoding:
NeXT TypedStream Data  |  1991-10-18  |  10.4 KB  |  244 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [1084c]
  8. typedstream
  9.     HashTable
  10. Object
  11. WinApp
  12. HeaderClass
  13. %%%%i@@
  14. Application
  15. appnib
  16. WinInfo
  17. /usr/include/dpsclient/event.h
  18. genericobject_nib
  19. repContext
  20. repOnScreen
  21. showOutlinesButton
  22. repBox
  23. reportPanel
  24.     timeDelay
  25. repStart
  26. repAlpha
  27. repBackingStore
  28. start
  29. myFont
  30. repOffScreen
  31. showOffScreenButton
  32.     repColors
  33. repDepth
  34. highlightOpt
  35. repSize
  36. repTotalBackingStore
  37. repTotalScreen
  38. startStop:
  39. stop:
  40. showOutlines:
  41. showOffScreen:
  42. changeHighlight:
  43. FirstResponder
  44. firstnib
  45. checkSpelling:
  46. alignSelCenter:
  47.     unscript:
  48. pasteFont:
  49. runPageLayout:
  50. superscript:
  51. copyRuler:
  52.     copyFont:
  53. selectAll:
  54. pasteRuler:
  55. toggleRuler:
  56. showGuessPanel:
  57. printPSCode:
  58. alignSelLeft:
  59. paste:
  60. performClose:
  61. arrangeInFront:
  62. subscript:
  63. copy:
  64. alignSelRight:
  65. delete:
  66. orderFrontColorPanel:
  67. underline:
  68. performMiniaturize:
  69. [9417c]
  70. typedstream
  71.     HashTable
  72. Object
  73. NibData
  74. @@@@s
  75. Storage
  76. {*@@}
  77.     [58{*@@}]
  78. File's Owner
  79. CustomObject
  80. WinApp
  81. MainMenu
  82. MenuTemplate
  83. *@*@ccc
  84. Winfo
  85. Matrix
  86. Control
  87.     Responder
  88. @:@iiii
  89. MenuCell
  90. ButtonCell
  91. ActionCell
  92.     Helvetica
  93. Info Panel...
  94. Help...
  95. ff@@#::s
  96. submenuAction:
  97. Bitmap
  98.     menuArrow
  99. Paste
  100. Select All
  101. MenuItem
  102. Report Panel
  103. WindowTemplate
  104. iiii***@s@
  105. Window Info
  106. Panel
  107. FormCell
  108. Delay:
  109. Field:
  110. Button
  111. Start
  112. NXImage
  113. NXreturnSign
  114. Execute
  115. [12@]
  116.     TextField
  117. TextFieldCell
  118. Context:
  119. Size:
  120. Alpha:
  121. Colors:
  122. Depth:
  123. Backing Store:
  124. No Window Selected
  125. On-screen:
  126. Off-screen:
  127. Total:
  128. All Windows in Context
  129. Off-Screen Windows
  130. NXswitch
  131.     NXswitchH
  132. Window Contents
  133. Display
  134. Alpha
  135. Color
  136. Depth
  137.     Highlight
  138. Delay
  139. Field2
  140. Field    
  141. Field1
  142. Field3
  143. Field4
  144. Field5
  145. Field6
  146. Field7
  147. Field8
  148. Field9!
  149. Field10$
  150. Field11'
  151. Field120,
  152. Field143,
  153. Field156,
  154. Field169,
  155. Field17<,
  156. Field18?,
  157. Field19B,pE,
  158. WinInfoInstance
  159. WinInfo
  160. Info Panel
  161. Helvetica-Bold$
  162. by Paul S. Kleppner
  163. Version 0.4
  164. paulk@lotus.com
  165. ScrollView
  166. ClipView
  167. ciifffcfffs
  168. [3051c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  169. \margl40
  170. \margr40
  171. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ul0\fs28 \
  172. \fs36     Help on Winfo
  173. \fs28 \
  174. \b0\fs24 Winfo provides information about  NeXTStep window  memory usage.  It's useful for finding windows which unnecessarily allocate alpha or color planes and waste large amounts of memory.\
  175. \b\ul Start\
  176. \b0\ul0 \
  177. The Start button takes a snapshot of the screen.    The outlines of all windows are shown, and each one is labeled with its size in kb.   Depending on the setting of the highlight check boxes, Winfo will shade windows which have alpha setting,  or are using color, or  have a depth of greater than two bits.\
  178. Clicking on  any outlined window selects it.  Winfo draws a heavy black border around the selected window and all other windows in the same context.  In addition, it displays the following detailed  information about that window in the report panel:\
  179.   Number    the DPS window number\
  180.   Context    the DPS context number\
  181.   Size        the width and height of the window\
  182.   Alpha        whether an alpha channel is allocated\
  183.   Depth        number of planes allocated for gray/color\
  184.   Depth Limit    max depth the window is permitted\
  185.   Backing Store    bytes of backing store consumed by window\
  186. Winfo also displays information about all windows in the same context  (typically all windows of an application share the same context):\
  187.   On-screen    how many on-screen windows in context\
  188.   Off-screen    how many off-screen\
  189.   Total        total number of windows for context\
  190.   Backing Store    total bytes of backing store for context\
  191. The backing store calculations are made based on the window size, alpha, depth, and color, but do not take into account any additional window server overhead that may exist.\
  192. Command-clicking on a window sends it to back.\
  193. \b\ul Off-Screen Windows\
  194. \b0\ul0 The Off-Screen Windows button brings all off-screen windows on-screen, for the selected context.  The windows will remain on-screen until you click on a different context. \
  195. \b\ul Window Contents\
  196. \b0\ul0 \
  197. If you check the Window Contents box, the windows outlines are replaced by the window contents.  You can click or command-click on windows to bring them to front, or send them to back.\
  198. \b\ul Delay\
  199. \b0\ul0 \
  200. If you enter a value into the Delay field, Winfo will count down that many seconds after Start is pressed before taking the picture.  This is useful for obtaining information about panels which appear only while an application is active.  During the count down, you can activate another application.\
  201. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 \
  202. \b\ul Abount Winfo\
  203. \ul0 \
  204. \b0 Winfo was written during the development of Lotus Improv
  205. \fs16\up8 TM
  206. \fs24\up0 , to examine window memory usage in that product.  It's provided in the hopes that other NeXT developers may find it helpful.   It may be copied freely (please do!). Winfo is not a Lotus product, and is provided "as is", without warranty. 
  207. NXCursor
  208. NXibeam
  209. Scroller
  210. _doScroller:
  211. @@@ffs
  212. ScrollingText
  213. {i*@@@}
  214. [31{i*@@@}]
  215. copy:
  216. paste:
  217. selectAll:
  218. hide:
  219. terminate:
  220. startStop:
  221. makeKeyAndOrderFront:
  222. repContext
  223. repSize
  224. repAlpha
  225. repBackingStore
  226. repOffScreen
  227. repTotalScreen
  228. repTotalBackingStore
  229.     timeDelay
  230. repStart
  231. highlightOpt
  232. start
  233. changeHighlight:^
  234. performClick:
  235. reportPanel
  236. showOffScreenButton
  237. showOutlinesButton
  238. showOffScreen:N
  239. showOutlines:U
  240.     repColors
  241. repDepth
  242. repOnScreen
  243. repBox
  244.