Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtwm / WmParseP.c
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 librararies 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 #ifdef VERBOSE_REV_INFO
24 static char rcsid[] = "$XConsortium: WmParseP.c /main/3 1995/11/01 11:46:58 rswiston $";
25 #endif /* VERBOSE_REV_INFO */
26 /******************************<+>*************************************
27  **********************************************************************
28  **
29  **  File:        WmParseP.c
30  **
31  **  Project:     HP/Motif Workspace Manager (dtwm)
32  **
33  **  Description:
34  **  -----------
35  **  This file contains the common strings used in parsing the 
36  **  dtwmrc file
37  **
38  **
39  *********************************************************************
40  **
41  ** (c) Copyright 1987, 1988, 1989, 1990, 1991 HEWLETT-PACKARD COMPANY
42  ** ALL RIGHTS RESERVED
43  **
44  **********************************************************************
45  **********************************************************************
46  **
47  **
48  **********************************************************************
49  ******************************<+>*************************************/
50
51 /*
52  * Included Files:
53  */
54
55 /*
56  * Panel keywords (2.x compatibility)
57  */
58 char _dtwmFpPanelOld[]          = "frontpanel";
59 char _dtwmFpRowOld[]            = "row";
60
61 char _dtwmFpDropEffects[]       = "dropeffects";
62
63 /*
64  * Panel keywords (3.0 syntax)
65  */
66 char _dtwmFpPanel[]             = "panel";
67 char _dtwmFpBox[]               = "box";
68 char _dtwmFpCommand[]           = "command";
69 char _dtwmFpControl[]           = "control";
70 char _dtwmFpSwitch[]            = "switch";
71
72 char _dtwmFpAnimation[] = "animation";
73 char _dtwmFpInclude[]           = "include";
74
75 /*
76  * Panel, Box, Control common attribute keywords
77  */
78 char _dtwmFpaColorSet[] = "color_set";
79 char _dtwmFpaBackgroundTile[]   = "background_tile";
80 char _dtwmFpaLayoutPolicy[]     = "layout_policy";
81 char _dtwmFpaOrientation[]      = "orientation";
82 char _dtwmFpaSubpanelDirection[]        = "subpanel_direction";
83 char _dtwmFpaNumberOfRows[]     = "number_of_rows";
84 char _dtwmFpaNumberOfColumns[]  = "number_of_columns";
85 char _dtwmFpaTitle[]            = "title";
86
87 /*
88  * Control old reserved names and control types
89  */
90 char    _dtwmFpnDtwmblank[]             = "dtwmblank";
91 char    _dtwmFpnDtwmbox[]               = "dtwmbox";
92 char    _dtwmFpnDtwmbusy[]              = "dtwmbusy";
93 char    _dtwmFpnDtwmclock[]             = "dtwmclock";
94 char    _dtwmFpnDtwmdate[]              = "dtwmdate";
95 char    _dtwmFpnDtwmload[]              = "dtload";
96 char    _dtwmFpnDtwmname[]              = "dtwmname";
97 char    _dtwmFpnDtwmrib[]               = "dtwmrib";
98 char    _dtwmFpnDtwmswitch[]            = "dtwmswtch";
99
100 char    _dtwmFptClock[]         = "clock";
101 char    _dtwmFptDate[]                  = "date";
102 char    _dtwmFptBlank[]         = "blank";
103 char    _dtwmFptBusy[]                  = "busy";
104 char    _dtwmFptButton[]                = "button";
105 char    _dtwmFptClient[]                = "client";
106 char    _dtwmFptIconbox[]               = "iconbox";
107 char    _dtwmFptMail[]                  = "mail";
108 char    _dtwmFptMonitorFile[]           = "monitor_file";
109
110 /*
111  * Panel type keywords
112  */
113 char    _dtwmFptFrontPanel[]            = "front_panel";
114
115 /*
116  * Box type keywords
117  */
118 char    _dtwmFptPrimary[]               = "primary";
119 char    _dtwmFptSecondary[]             = "secondary";
120 char    _dtwmFptSubpanel[]              = "subpanel";
121 char    _dtwmFptRowColumn[]             = "row_column";
122
123 /* 
124  * Layout types
125  */
126 char    _dtwmFptStandard[]              = "standard";
127 char    _dtwmFptAsNeeded[]              = "as_needed";
128
129 /* 
130  * Orientation keywords
131  */
132 char    _dtwmFptHorizontal[]            = "horizontal";
133 char    _dtwmFptVertical[]              = "vertical";
134
135 /* 
136  * Subpanel Direction keywords
137  */
138 char    _dtwmFptNorth[]         = "north";
139 char    _dtwmFptSouth[]         = "south";
140 char    _dtwmFptEast[]                  = "east";
141 char    _dtwmFptWest[]                  = "west";
142
143 /* 
144  * Control-specific attribute keywords 
145  */
146 char    _dtwmFpaClientGeometry[]        = "client_geometry";
147 char    _dtwmFpaClientName[]            = "client_name";
148 char    _dtwmFpaContextMenu[]           = "context_menu";
149 char    _dtwmFpaDropAction[]            = "drop_action";
150 char    _dtwmFpaDropAnimation[] = "drop_animation";
151 char    _dtwmFpaPushAnimation[] = "push_animation";
152 char    _dtwmFpaAlternateImage[]        = "alternate_image";
153 char    _dtwmFpaHelpString[]            = "help_string";
154 char    _dtwmFpaHelpTopic[]             = "help_topic";
155 char    _dtwmFpaImage[]         = "image";
156 char    _dtwmFpaLabel[]         = "label";
157 char    _dtwmFpaPushAction[]            = "push_action";
158 char    _dtwmFpaPushRecall[]            = "push_recall";
159 char    _dtwmFpaTrue[]                  = "true";
160 char    _dtwmFpaType[]                  = "type";
161 char    _dtwmFpaSubPanel[]              = "subpanel";
162