home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / demobook / Demobook < prev    next >
Encoding:
Text File  |  1994-08-02  |  13.3 KB  |  319 lines

  1. !!!! The following are the default SGI Style resource settings
  2. !!
  3.  
  4. !! the top layer of demobook is no longer gl
  5. !!  none of this has worked so far.
  6. !Demobook*DemobookTopForm.height:    446
  7. !Demobook*DemobookTopForm.width:    688
  8. demobook.geometry: 800x500+115+20
  9. Demobook*DemobookTopForm.glwidget.height:    300
  10. Demobook*DemobookTopForm.glwidget.width:    500
  11.  
  12. !! Added by Gretch: changes so Demobook 
  13. !! comes up a decent size for Entry systems:
  14. demobook.geometry:800x500+115+20
  15.  
  16. !! For Demobook Set focus to follow pointer
  17. Demobook*keyboardFocusPolicy:            pointer
  18.  
  19. !!
  20. !! Fonts
  21. !!
  22. !! all labels should be bold
  23. Demobook*XmLabel*fontList:            -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  24. Demobook*XmLabelGadget*fontList:          -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  25. Demobook*XmScale*fontList:             -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  26. Demobook*XmBulletinBoard*labelFontList:     -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  27. Demobook*optionMenu.XmLabelGadget*fontList:     -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  28.  
  29.  
  30. !! all buttons, toggles, and radio buttons should be plain
  31. Demobook*XmPushButton*fontList:             -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  32. Demobook*XmPushButtonGadget*fontList:             -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  33. Demobook*XmToggleButton*fontList:             -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  34. Demobook*XmToggleButtonGadget*fontList:         -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  35. Demobook*optionMenu*fontList:                 -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  36. Demobook*XmIconGadget*fontList:             -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  37. Demobook*XmArc*fontList:             -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1
  38. Demobook*XmBulletinBoard*buttonFontList:         -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  39.  
  40.  
  41. !! menuBar entries, panes, popups, and option menus should be oblique
  42. Demobook*XmCascadeButton*fontList:          -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  43. Demobook*XmCascadeButtonGadget*fontList:      -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  44. Demobook*menuBar*fontList:              -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  45. !! for entries in popup menus
  46. Demobook*XmMenuShell*XmPushButton*fontList:      -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  47. Demobook*XmMenuShell*XmLabelGadget*fontList:    -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  48. Demobook*XmMenuShell*XmPushButtonGadget*fontList:  -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  49. Demobook*XmMenuShell*XmCascadeButton*fontList:     -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  50. Demobook*XmMenuShell*XmCascadeButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  51. Demobook*XmMenuShell*XmToggleButton*fontList:     -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  52. Demobook*XmMenuShell*XmToggleButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  53. Demobook*optionPane*fontList:             -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  54.  
  55.  
  56. Demobook*XmList*fontList:                  -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  57.  
  58.  
  59. !!
  60. !! Text fonts 
  61. !!
  62. !Demobook*XmText.fontList:         -sgi-screen-medium-r-normal--16-160-72-72-m-80-iso8859-1
  63. !Demobook*XmTextField.fontList:         -sgi-screen-medium-r-normal--16-160-72-72-m-80-iso8859-1
  64. Demobook*XmText.fontList:         -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  65. Demobook*XmTextField.fontList:         -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  66.  
  67. !!
  68. !! Spacing stuff
  69. !!
  70.  
  71. !! buttons shouldn't look "cramped", i.e.
  72. !! (24 pixels across face from top to bottom and 8 in margin on face)
  73. Demobook*XmPushButton*marginHeight:         4
  74. Demobook*XmPushButton*marginWidth:         7
  75. !! option menu buttons shouldn't look "cramped" either 
  76. !! but need to be a bit smaller than regular buttons and the
  77. !! same as the menu bar
  78. Demobook*optionMenu*marginHeight:         0
  79. Demobook*optionMenu*marginTop:             5
  80. Demobook*optionMenu*marginBottom:         5
  81. Demobook*optionMenu*marginWidth:         0
  82. !! option menu panes are more like pulldown menus than buttons
  83. Demobook*optionPane*XmPushButton*marginHeight:    1
  84. Demobook*optionPane*XmPushButton*marginWidth:    1
  85. Demobook*optionPane*XmPushButton*marginLeft:    3
  86. Demobook*optionPane*XmPushButton*marginRight:    3
  87.  
  88.  
  89. !! move the text in lists slightly right to improve legibility
  90. Demobook*XmList*listMarginWidth:            3
  91.  
  92.  
  93. !! height of menuBar should be 22 pixels 
  94. Demobook*menuBar*marginHeight:         1
  95. Demobook*menuBar.marginHeight:         0
  96. Demobook*menuBar*marginLeft:          1
  97. Demobook*menuBar.spacing:          7
  98. Demobook*XmMenuShell*marginLeft:      3
  99. Demobook*XmMenuShell*marginRight:      4
  100. !! spacing between indicator and label should be only 6 in menus
  101. Demobook*XmMenuShell*XmToggleButtonGadget*spacing:          2
  102. Demobook*XmMenuShell*XmToggleButtonGadget*marginHeight:      0
  103. Demobook*XmMenuShell*XmToggleButtonGadget*indicatorSize:     10
  104.  
  105. Demobook*XmMenuShell*XmLabelGadget*marginHeight: 4
  106.  
  107. !! spacing between indicator and label should be 8 outside of menus
  108. Demobook*XmToggleButtonGadget*spacing:         4
  109. Demobook*XmToggleButton*spacing:         4
  110.  
  111. !! spacing between scrollbars and clients should be 2 pixels
  112. Demobook*XmScrolledWindow*spacing:         0
  113.  
  114. Demobook*XmScrollBar*width:             18
  115. Demobook*XmScrollBar*height:            18
  116.  
  117. !! in a perfect world, text fields would be the same size as buttons
  118. !! (28 pixels including shadow) but since lucidatypwriter14 is really
  119. !! only 13 pixels, our text fields will be 27 pixels high
  120. Demobook*XmText*marginHeight:    4
  121.  
  122. !!
  123. !! Color Mappings
  124. !!
  125.  
  126. Demobook*foreground:                 #000000
  127. Demobook*background:                 #c1c1c1
  128. Demobook*XmList*background:             #999999
  129. Demobook*VkList*background:             #999999
  130. Demobook*XmPushButton*background:         #adadad
  131. Demobook*XmToggleButton*background:         #adadad
  132. Demobook*menubar*background:             #adadad
  133. Demobook*XmMenuPane*background:             #adadad
  134. Demobook*XmText.background:             #c19797
  135. Demobook*XmTextField.background:         #c19797
  136. Demobook*readOnlyBackground:             #c1c1c1
  137. Demobook*troughColor:                  #848484
  138. Demobook*XmScrollBar*background:                #c1c1c1
  139. <<<<<<< Demobook.ad
  140. !! Added by Gretch:
  141. !!Demobook*XmToggleButton*background:        #adadad
  142. !!Demobook*menubar*background:            #adadad
  143. !!Demobook*XmMenuPane*background:            #adadad
  144. !!Demobook*XmCascadeButton*background:        #adadad
  145. =======
  146. Demobook*XmCascadeButton*background:          #adadad
  147. >>>>>>> 1.10
  148.  
  149.  
  150. !! color all dialogs, warnings, and errors the same
  151. Demobook*XmSelectionBox*background:         #c1c1c1
  152. Demobook*XmSelectionBox*XmText*background:     #c19797
  153. Demobook*XmMessageBox*background:         #c1c1c1
  154.  
  155. !! color all radio and toggle buttons when they are selected
  156. Demobook*fillOnSelect:                True
  157. Demobook*selectColor:                #ffff00
  158. Demobook*visibleWhenOff:            True
  159.  
  160. !! highlights for keyboard traversal
  161. Demobook*highlightColor:             #000000
  162. Demobook*XmText*highlightThickness:        1
  163. Demobook*XmTextField*highlightThickness:    1
  164. Demobook*XmPushButton*highlightThickness:    1
  165. Demobook*XmGraph*highlightThickness:        1
  166. !! no need for anything else to highlight itself
  167. Demobook*highlightThickness:            0
  168.  
  169.  
  170. Demobook*XmDrawingArea.background:        #90abb1
  171. Demobook*XmGraph*background:            #90abb1
  172.  
  173. !! covers the case where drawing area is smaller than the scrolled window
  174.  
  175. Demobook*graphSW*ScrolledWindowClipWindow.background:        #90abb1
  176.  
  177. !! outline when node or arc is selected
  178.  
  179. Demobook*XmGraph*highlightColor:        #ff0000
  180.  
  181. !! colors the arcs
  182.  
  183. Demobook*XmGraph*overviewColor:             #000000
  184. Demobook*overview.background:             #90abb1
  185.  
  186. !! from here down in new as of Feb 93
  187. !!  label strings
  188. !!
  189. !! generic
  190. Demobook*DoneButton.labelString:    Done
  191. Demobook*CancelButton.labelString:    Cancel
  192. Demobook*NextButton.labelString:    Next
  193. !! menu in main window
  194. Demobook*menubar*FilePane.labelString:    File
  195. Demobook*menubar*DemosPane.labelString:    Demos
  196. Demobook*menubar*BooksPane.labelString:    Books
  197. Demobook*menubar*HelpPane.labelString:    Help
  198. Demobook*menubar*OptionsPane.labelString:    Options
  199. Demobook*filepane*OpenButton.labelString:    Open...
  200. Demobook*filepane*AppendButton.labelString:    Append...
  201. Demobook*filepane*SaveButton.labelString:    Save
  202. Demobook*filepane*SaveAsButton.labelString:    Save As...
  203. Demobook*filepane*CreateTapeButton.labelString:    Create a Tape
  204. Demobook*filepane*QuitButton.labelString:    Quit
  205.  
  206. Demobook*saveaspane*BinaryButton.labelString:    Binary...
  207. Demobook*saveaspane*AsciiButton.labelString:    Ascii...
  208. Demobook*demospane*AddDemoButton.labelString:    Add Demo...
  209. Demobook*demospane*DeleteDemoButton.labelString:    Delete Demo
  210. Demobook*demospane*EditDemoButton.labelString:    Edit Demo Info...
  211. Demobook*bookspane*AddButton.labelString:    Add Book...
  212. Demobook*bookspane*DeleteButton.labelString:    Delete Book
  213. Demobook*bookspane*EditButton.labelString:    Edit Book Info...
  214. Demobook*optionspane*ShowButton.labelString:    Show All Demos
  215. Demobook*optionspane*CloseButton.labelString:    Close Book
  216. Demobook*optionspane*ZLeftButton.labelString:    Zoom Left
  217. Demobook*optionspane*ZRightButton.labelString:    Zoom Right
  218. Demobook*optionspane*ZOutButton.labelString:    Zoom Out
  219. Demobook*helppane*DemobookButton.labelString:    Demobook...
  220. Demobook*helppane*DemoButton.labelString:    Demo...
  221. Demobook*helppane*BookButton.labelString:    Book...
  222. Demobook*helppane*IndexButton.labelString:    Index...
  223.  
  224. !! Add Book window
  225. Demobook*AddBook*NameLabel.labelString:    Name:
  226. Demobook*AddBook*HelpFileLabel.labelString:    Help File:
  227. Demobook*AddBook*GroupExistKeywordLabel.labelString:    Existing Keywords:
  228. Demobook*AddBook*GroupNewKeywordLabel.labelString:    New Keywords:
  229. Demobook*AddBook*GroupKeywordLabel.labelString:    Keywords for this Group:
  230. Demobook*AddBook*GroupDeleteButton.labelString:    Delete 
  231.  
  232. !! Add Demo window
  233. <<<<<<< Demobook.ad
  234. Demobook*AddDemo*NameLabel.labelString:    Name:
  235. Demobook*AddDemo*CommandLabel.labelString:    Command:
  236. Demobook*AddDemo*AltCommandLabel.labelString:    Alternate Command:
  237. Demobook*AddDemo*WSiconLabel.labelString:    WorkSpace icon filename:
  238. Demobook*AddDemo*ImageiconLabel.labelString:    Image icon filename:
  239. Demobook*AddDemo*HelpFileLabel.labelString:    Showcase Help File:
  240. Demobook*AddDemo*ExistKeywordLabel.labelString:    Existing Keywords:
  241. Demobook*AddDemo*NewKeywordLabel.labelString:    New Keyword:
  242. Demobook*AddDemo*DemoKeywordLabel.labelString:    Keywords for this Demo:
  243. Demobook*AddDemo*DeleteKeywordButton.labelString:    Delete
  244. Demobook*AddDemo*ExeFileLabel.labelString:    Executable and Data Files:
  245. Demobook*AddDemo*DeleteFileButton.labelString:    Delete
  246. Demobook*AddDemo*EditButton.labelString:    Edit
  247.  
  248. !! Gretch added this: size kludge for Entry systems
  249. Demobook*AddDemo*scrolledWindow1.height:    125
  250. Demobook*AddDemo.height:            700
  251.  
  252. =======
  253. Demobook*AddDemo*NameLabel.labelString:   Name:
  254. Demobook*AddDemo*CommandLabel.labelString:        Command:
  255. Demobook*AddDemo*AltCommandLabel.labelString:     Alternate Command:
  256. Demobook*AddDemo*WSiconLabel.labelString: WorkSpace icon filename:
  257. Demobook*AddDemo*ImageiconLabel.labelString:      Image icon filename:
  258. Demobook*AddDemo*HelpFileLabel.labelString:       Showcase Help File:
  259. Demobook*AddDemo*ExistKeywordLabel.labelString:   Existing Keywords:
  260. Demobook*AddDemo*NewKeywordLabel.labelString:     New Keyword:
  261. Demobook*AddDemo*DemoKeywordLabel.labelString:    Keywords for this Demo:
  262. Demobook*AddDemo*DeleteKeywordButton.labelString: Delete
  263. Demobook*AddDemo*ExeFileLabel.labelString:        Executable and Data Files:
  264. Demobook*AddDemo*DeleteFileButton.labelString:    Delete
  265. Demobook*AddDemo*EditButton.labelString:  Edit
  266. Demobook*AddDemo*scrolledWindow1.height: 125
  267.  
  268. !! Size kludge for functioning correctly on Entry systems
  269. Demobook*AddDemo*scrolledWindow1.height: 125
  270. Demobook*AddDemo.height:        700
  271.  
  272. >>>>>>> 1.10
  273. !! Index window
  274. Demobook*IndexTopForm*IndexLabel.labelString:    Index
  275. <<<<<<< Demobook.ad
  276. Demobook*IndexTopForm*LegendLabel.labelString:    Legend: K-- Keyword  D -- Demo Name B-- Book Name
  277. =======
  278. Demobook*IndexTopForm*LegendLabel.labelString:    Legend: K -- Keyword D -- Demo Name B -- Book Name
  279. >>>>>>> 1.10
  280.  
  281. !! AskDupicon window
  282. Demobook*AskDupIconsshell.title:    Ask About Duplicate Icons
  283. Demobook*AskDupIconsshell*ResolveButton.labelString:    Resolve
  284. Demobook*AskDupIconsshell*IgnoreButton.labelString:    Ignore
  285.  
  286. !! DupIcon window
  287. Demobook*DupIconsshell.title:    Duplicate Icons
  288. Demobook*DupIconsshell*YesButton.labelString:    Yes
  289. Demobook*DupIconsshell*NoButton.labelString:    No
  290. Demobook*DupIconsshell*QuestionLabel.labelString:    Are these demos duplicates?
  291. Demobook*DupIconsshell*OriginalLabel.labelString:    Original
  292. Demobook*DupIconsshell*DuplicateLabel.labelString:    Duplicate
  293. Demobook*DupIconsshell*NameLabel.labelString:    Name:
  294. Demobook*DupIconsshell*CommandLabel.labelString:    Command:
  295. Demobook*DupIconsshell*AltCommandLabel.labelString:    Alt Command:
  296. Demobook*DupIconsshell*HelpFileLabel.labelString:    Help File:
  297. Demobook*DupIconsshell*KeywordsLabel.labelString:    Keywords:
  298. Demobook*DupIconsshell*FilesLabel.labelString:    Files:
  299. Demobook*DupIconsshell*GroupsLabel.labelString:    Groups:
  300.  
  301. !! Add Group Window
  302. Demobook*AddBook*ColorButton.labelString:       Book Color
  303. Demobook*AddBook*ColorButton.width:     120
  304. Demobook*AddBook*NameLabel.labelString: Name:
  305. Demobook*AddBook*HelpFileLabel.labelString:     Showcase Help File:
  306. Demobook*AddBook*GroupExistKeywordLabel.labelString:    Existing Keywords:
  307. Demobook*AddBook*GroupKeywordLabel.labelString: Keywords for this Book:
  308. Demobook*AddBook*GroupNewKeywordLabel.labelString:      New Keyword:
  309. Demobook*AddBook*GroupDeleteButton.labelString: Delete
  310.  
  311. !! Quit window
  312. Demobook*Quitshell*baseHeight:  150
  313. Demobook*Quitshell*baseWidth:   300
  314. Demobook*Quitshell*SaveQuitButton.labelString:  Save & Quit
  315. Demobook*Quitshell*SaveQuitButton.width:        120
  316. Demobook*Quitshell*QuitButton.labelString:      Quit
  317. Demobook*Quitshell*QuitLabel.labelString:       Save Changes to File?
  318.  
  319.