dtdpfile.sgm 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <!-- $XConsortium: dtdpfile.sgm /main/6 1996/09/08 20:17:29 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <RefEntry Id="CDEMX.MAN79.rsml.1">
  10. <RefMeta>
  11. <RefEntryTitle>dtdpfile</RefEntryTitle>
  12. <ManVolNum>special file</ManVolNum>
  13. </RefMeta>
  14. <RefNameDiv>
  15. <RefName><Filename>dtdpfile</Filename></RefName>
  16. <RefPurpose>format and location of desktop palette files
  17. </RefPurpose>
  18. </RefNameDiv>
  19. <!-- CDE Common Source Format, Version 1.0.0-->
  20. <!-- *************************************************************************-->
  21. <!-- ** (c) Copyright 1993, 1994 Hewlett-Packard Company-->
  22. <!-- ** (c) Copyright 1993, 1994 International Business Machines Corp.-->
  23. <!-- ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.-->
  24. <!-- ** (c) Copyright 1993, 1994 Novell, Inc.-->
  25. <!-- *************************************************************************-->
  26. <RefSynopsisDiv>
  27. <Synopsis>#<Emphasis>color 1 background RBG data
  28. #</Emphasis><Emphasis>color 2 background RBG data
  29. #</Emphasis><Emphasis>color 3 background RBG data
  30. #</Emphasis><Emphasis>color 4 background RBG data
  31. #</Emphasis><Emphasis>color 5 background RBG data
  32. #</Emphasis><Emphasis>color 6 background RBG data
  33. #</Emphasis><Emphasis>color 7 background RBG data
  34. #</Emphasis><Emphasis>color 7 background RBG data</Emphasis></Synopsis>
  35. </RefSynopsisDiv>
  36. <RefSect1>
  37. <Title>DESCRIPTION</Title>
  38. <Para>A palette is a color scheme used to color a CDE
  39. workspace and the CDE components.
  40. </Para>
  41. <Para>A <Literal>palette</Literal> file provides the set of eight background colors that
  42. make up a color palette.
  43. </Para>
  44. <Para>A variety of palettes are provided with the CDE.
  45. As part of the default palette set there are several palettes designed
  46. specifically to work well on monochrome and gray scale displays.
  47. </Para>
  48. <Para>The <Emphasis>Style Manager</Emphasis> is the desktop graphical user interface tool
  49. which is used to add, delete, or modify a color palette.
  50. The end user should never need to act on the palette file directly.
  51. </Para>
  52. <Para>All palette files have a <Filename>.dp</Filename> suffix.
  53. The file contents are the
  54. eight colors of the palette, specified as RGB values in hexadecimal.
  55. </Para>
  56. <Para>The palette files provided with the system are located in the directory
  57. <Filename>/usr/dt/palettes/C</Filename>.
  58. </Para>
  59. <Para>User specific palette files are located in <SystemItem Class="EnvironVar">HOME</SystemItem><Filename>/.dt/palettes</Filename>.
  60. </Para>
  61. <Para>The <Emphasis>Style Manager</Emphasis> resource <Literal>paletteDirectories</Literal> can be used
  62. to specify additional directories where palettes are located.
  63. </Para>
  64. <Para>When a user creates a new palette, it is located in <SystemItem Class="EnvironVar">HOME</SystemItem><Filename>/.dt/palettes</Filename>.
  65. System palettes that the user has modified are also located in this directory.
  66. When a user deletes a palette, that palette is placed in the
  67. <SystemItem Class="EnvironVar">HOME</SystemItem><Filename>/.dt/palettes</Filename> directory with a <Literal>~</Literal> prefix.
  68. If it was a user
  69. specified palette, the original file is removed.
  70. System palettes are never
  71. removed.
  72. If the user has a <Literal>~</Literal> copy of a system palette, that palette
  73. will not appear in the list of available palettes in the <Emphasis>Style Manager</Emphasis>.
  74. </Para>
  75. </RefSect1>
  76. <RefSect1>
  77. <Title>RETURN VALUE</Title>
  78. <Para>None.
  79. </Para>
  80. </RefSect1>
  81. <RefSect1>
  82. <Title>EXAMPLES</Title>
  83. <Para>The following is an example of a palette file named <Literal>Julie.dp</Literal>:
  84. </Para>
  85. <InformalExample Remap="indent">
  86. <ProgramListing>#a200e500c600
  87. #3ffc93008d77
  88. #2d2d4e4e7600
  89. #78008900a500
  90. #63ea7e189500
  91. #3ec670ec8a00
  92. #3d157d008400
  93. #61006d098e00
  94. </ProgramListing>
  95. </InformalExample>
  96. </RefSect1>
  97. <RefSect1>
  98. <Title>APPLICATION USAGE</Title>
  99. <Para>None.
  100. </Para>
  101. </RefSect1>
  102. <RefSect1>
  103. <Title>SEE ALSO</Title>
  104. <Para>&cdeman.dtsession;, &cdeman.dtstyle;.
  105. </Para>
  106. </RefSect1>
  107. </RefEntry>
  108. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->