WmParseP.c 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /******************************<+>*************************************
  24. **********************************************************************
  25. **
  26. ** File: WmParseP.c
  27. **
  28. ** Project: HP/Motif Workspace Manager (dtwm)
  29. **
  30. ** Description:
  31. ** -----------
  32. ** This file contains the common strings used in parsing the
  33. ** dtwmrc file
  34. **
  35. **
  36. *********************************************************************
  37. **
  38. ** (c) Copyright 1987, 1988, 1989, 1990, 1991 HEWLETT-PACKARD COMPANY
  39. ** ALL RIGHTS RESERVED
  40. **
  41. **********************************************************************
  42. **********************************************************************
  43. **
  44. **
  45. **********************************************************************
  46. ******************************<+>*************************************/
  47. /*
  48. * Included Files:
  49. */
  50. /*
  51. * Panel keywords (2.x compatibility)
  52. */
  53. char _dtwmFpPanelOld[] = "frontpanel";
  54. char _dtwmFpRowOld[] = "row";
  55. char _dtwmFpDropEffects[] = "dropeffects";
  56. /*
  57. * Panel keywords (3.0 syntax)
  58. */
  59. char _dtwmFpPanel[] = "panel";
  60. char _dtwmFpBox[] = "box";
  61. char _dtwmFpCommand[] = "command";
  62. char _dtwmFpControl[] = "control";
  63. char _dtwmFpSwitch[] = "switch";
  64. char _dtwmFpAnimation[] = "animation";
  65. char _dtwmFpInclude[] = "include";
  66. /*
  67. * Panel, Box, Control common attribute keywords
  68. */
  69. char _dtwmFpaColorSet[] = "color_set";
  70. char _dtwmFpaBackgroundTile[] = "background_tile";
  71. char _dtwmFpaLayoutPolicy[] = "layout_policy";
  72. char _dtwmFpaOrientation[] = "orientation";
  73. char _dtwmFpaSubpanelDirection[] = "subpanel_direction";
  74. char _dtwmFpaNumberOfRows[] = "number_of_rows";
  75. char _dtwmFpaNumberOfColumns[] = "number_of_columns";
  76. char _dtwmFpaTitle[] = "title";
  77. /*
  78. * Control old reserved names and control types
  79. */
  80. char _dtwmFpnDtwmblank[] = "dtwmblank";
  81. char _dtwmFpnDtwmbox[] = "dtwmbox";
  82. char _dtwmFpnDtwmbusy[] = "dtwmbusy";
  83. char _dtwmFpnDtwmclock[] = "dtwmclock";
  84. char _dtwmFpnDtwmdate[] = "dtwmdate";
  85. char _dtwmFpnDtwmload[] = "dtload";
  86. char _dtwmFpnDtwmname[] = "dtwmname";
  87. char _dtwmFpnDtwmrib[] = "dtwmrib";
  88. char _dtwmFpnDtwmswitch[] = "dtwmswtch";
  89. char _dtwmFptClock[] = "clock";
  90. char _dtwmFptDate[] = "date";
  91. char _dtwmFptBlank[] = "blank";
  92. char _dtwmFptBusy[] = "busy";
  93. char _dtwmFptButton[] = "button";
  94. char _dtwmFptClient[] = "client";
  95. char _dtwmFptIconbox[] = "iconbox";
  96. char _dtwmFptMail[] = "mail";
  97. char _dtwmFptMonitorFile[] = "monitor_file";
  98. /*
  99. * Panel type keywords
  100. */
  101. char _dtwmFptFrontPanel[] = "front_panel";
  102. /*
  103. * Box type keywords
  104. */
  105. char _dtwmFptPrimary[] = "primary";
  106. char _dtwmFptSecondary[] = "secondary";
  107. char _dtwmFptSubpanel[] = "subpanel";
  108. char _dtwmFptRowColumn[] = "row_column";
  109. /*
  110. * Layout types
  111. */
  112. char _dtwmFptStandard[] = "standard";
  113. char _dtwmFptAsNeeded[] = "as_needed";
  114. /*
  115. * Orientation keywords
  116. */
  117. char _dtwmFptHorizontal[] = "horizontal";
  118. char _dtwmFptVertical[] = "vertical";
  119. /*
  120. * Subpanel Direction keywords
  121. */
  122. char _dtwmFptNorth[] = "north";
  123. char _dtwmFptSouth[] = "south";
  124. char _dtwmFptEast[] = "east";
  125. char _dtwmFptWest[] = "west";
  126. /*
  127. * Control-specific attribute keywords
  128. */
  129. char _dtwmFpaClientGeometry[] = "client_geometry";
  130. char _dtwmFpaClientName[] = "client_name";
  131. char _dtwmFpaContextMenu[] = "context_menu";
  132. char _dtwmFpaDropAction[] = "drop_action";
  133. char _dtwmFpaDropAnimation[] = "drop_animation";
  134. char _dtwmFpaPushAnimation[] = "push_animation";
  135. char _dtwmFpaAlternateImage[] = "alternate_image";
  136. char _dtwmFpaHelpString[] = "help_string";
  137. char _dtwmFpaHelpTopic[] = "help_topic";
  138. char _dtwmFpaImage[] = "image";
  139. char _dtwmFpaLabel[] = "label";
  140. char _dtwmFpaPushAction[] = "push_action";
  141. char _dtwmFpaPushRecall[] = "push_recall";
  142. char _dtwmFpaTrue[] = "true";
  143. char _dtwmFpaType[] = "type";
  144. char _dtwmFpaSubPanel[] = "subpanel";