Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
[oweals/cde.git] / cde / programs / dtwm / WmResNames.h
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 /* 
24  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
25  * ALL RIGHTS RESERVED 
26 */ 
27 /* 
28  * Motif Release 1.2
29 */ 
30 /*   $XConsortium: WmResNames.h /main/6 1996/06/11 16:00:36 rswiston $ */
31 /*
32  * (c) Copyright 1987, 1988, 1989, 1990, 1993 HEWLETT-PACKARD COMPANY */
33
34 /*
35  * Included Files:
36  */
37
38 /*
39  * Value definitions:
40  */
41
42
43 \f
44 /******************************<->*************************************
45  *
46  *  Window manager resource names ...
47  *
48  *
49  *  Description:
50  *  -----------
51  * 
52  ******************************<->***********************************/
53
54 /* mwm specific appearance and behavior resources: */
55
56 #ifdef WSM
57 #define WmNall                          "all"
58 #endif /* WSM */
59 #define WmNautoKeyFocus                 "autoKeyFocus"
60 #define WmNautoRaiseDelay               "autoRaiseDelay"
61 #ifdef WSM
62 #define WmNbackdropDirectories          "backdropDirectories"
63 #endif /* WSM */
64 #define WmNbitmapDirectory              "bitmapDirectory"
65 #ifdef MINIMAL_DT
66 #define WmNblinkOnExec                  "blinkOnExec"
67 #endif /* MINIMAL_DT */
68 #define WmNbuttonBindings               "buttonBindings"
69 #define WmNcleanText                    "cleanText"
70 #define WmNclientAutoPlace              "clientAutoPlace"
71 #define WmNcolormapFocusPolicy          "colormapFocusPolicy"
72 #define WmNconfigFile                   "configFile"
73 #ifdef WSM
74 #define WmNcppCommand                   "cppCommand"
75 #endif /* WSM */
76 #define WmNdeiconifyKeyFocus            "deiconifyKeyFocus"
77 #define WmNdoubleClickTime              "doubleClickTime"
78 #define WmNenableWarp                   "enableWarp"
79 #define WmNenforceKeyFocus              "enforceKeyFocus"
80 #define WmNfadeNormalIcon               "fadeNormalIcon"
81 #define WmNfeedbackGeometry             "feedbackGeometry"
82 #define WmNframeBorderWidth             "frameBorderWidth"
83 #ifdef WSM
84 #define WmNframeExternalShadowWidth     "frameExternalShadowWidth"
85 #endif /* WSM */
86 #define WmNfreezeOnConfig               "freezeOnConfig"
87 #ifdef WSM
88 #define WmNgeometry                     "geometry"
89 #endif /* WSM */
90 #define WmNiconAutoPlace                "iconAutoPlace"
91 #define WmNiconBoxGeometry              "iconBoxGeometry"
92 #define WmNiconBoxLayout                "iconBoxLayout"
93 #define WmNiconBoxName                  "iconBoxName"
94 #define WmNiconBoxSBDisplayPolicy       "iconBoxSBDisplayPolicy"
95 #define WmNiconBoxScheme                "iconBoxScheme"
96 #define WmNiconBoxTitle                 "iconBoxTitle"
97 #define WmNiconClick                    "iconClick"
98 #define WmNiconDecoration               "iconDecoration"
99 #ifdef WSM
100 #define WmNiconExternalShadowWidth      "iconExternalShadowWidth"
101 #endif /* WSM */
102 #define WmNiconImageMaximum             "iconImageMaximum"
103 #define WmNiconImageMinimum             "iconImageMinimum"
104 #define WmNiconPlacement                "iconPlacement"
105 #define WmNiconPlacementMargin          "iconPlacementMargin"
106 #ifdef WSM
107 #define WmNimage                        "image"
108 #define WmNimageBackground              "imageBackground"
109 #define WmNimageForeground              "imageForeground"
110 #endif /* WSM */
111 #define WmNinteractivePlacement         "interactivePlacement"
112 #define WmNkeyBindings                  "keyBindings"
113 #define WmNkeyboardFocusPolicy          "keyboardFocusPolicy"
114 #define WmNlimitResize                  "limitResize"
115 #define WmNlowerOnIconify               "lowerOnIconify"
116 #ifdef WSM
117 #define WmNmarqueeSelectGranularity     "marqueeSelectGranularity"
118 #endif /* WSM */
119 #define WmNmaximumMaximumSize           "maximumMaximumSize"
120 #define WmNmoveThreshold                "moveThreshold"
121 #define WmNmultiScreen                  "multiScreen"
122 #define WmNpassButtons                  "passButtons"
123 #define WmNpassSelectButton             "passSelectButton"
124 #define WmNpositionIsFrame              "positionIsFrame"
125 #define WmNpositionOnScreen             "positionOnScreen"
126 #define WmNquitTimeout                  "quitTimeout"
127 #define WmNraiseKeyFocus                "raiseKeyFocus"
128 #ifdef WSM
129 #define WmNrefreshByClearing            "refreshByClearing"
130 #endif
131 #define WmNresizeBorderWidth            "resizeBorderWidth"
132 #define WmNresizeCursors                "resizeCursors"
133 #if ((!defined(WSM)) || defined(MWM_QATS_PROTOCOL))
134 # define WmNrootMenu                    "rootMenu"
135 #endif /* !defined(WSM) || defined(MWM_QATS_PROTOCOL) */
136 #ifdef WSM
137 #define WmNrootButtonClick              "rootButtonClick"
138 #define WmNsecondariesOnTop             "secondariesOnTop"
139 #define WmNsessionVersion               "sessionVersion"
140 #endif /* WSM */
141 #ifndef WSM
142 #define WmNsessionClientDB              "sessionClientDB"
143 #endif /* ! WSM */
144 #define WmNshowFeedback                 "showFeedback"
145 #ifdef WSM
146 #define WmNshowNames                    "showNames"
147 #endif /* WSM */
148 #define WmNstartupKeyFocus              "startupKeyFocus"
149 #ifdef PANELIST
150 #define WmNsubpanelDecoration           "subpanelDecoration"
151 #define WmNsubpanelResources            "subpanelResources"
152 #endif /* PANELIST */
153 #define WmNsystemButtonClick            "wMenuButtonClick"
154 #define WmNsystemButtonClick2           "wMenuButtonClick2"
155 #define WmNtransientDecoration          "transientDecoration"
156 #define WmNtransientFunctions           "transientFunctions"
157 #ifdef PANELIST
158 #define WmNuseFrontPanel                "useFrontPanel"
159 #endif /* PANELIST */
160 #define WmNuseIconBox                   "useIconBox"
161 #ifdef WSM
162 #define WmNuseWindowOutline             "useWindowOutline"
163 #endif /* WSM */
164 #ifdef MINIMAL_DT
165 #define WmNdtLite                       "useDtLite"
166 #endif /* MINIMAL_DT */
167 #define WmNmoveOpaque                   "moveOpaque"
168 #define WmNframeStyle                   "frameStyle"
169
170 /* conponent appearance resources: */
171
172 #define WmNactiveBackground             "activeBackground"
173 #define WmNactiveBackgroundPixmap       "activeBackgroundPixmap"
174 #define WmNactiveBottomShadowColor      "activeBottomShadowColor"
175 #define WmNactiveBottomShadowPixmap     "activeBottomShadowPixmap"
176 #define WmNactiveForeground             "activeForeground"
177 #define WmNactiveTopShadowColor         "activeTopShadowColor"
178 #define WmNactiveTopShadowPixmap        "activeTopShadowPixmap"
179 #define WmNbackground                   "background"
180 #define WmNbackgroundPixmap             "backgroundPixmap"
181 #define WmNbottomShadowColor            "bottomShadowColor"
182 #define WmNbottomShadowPixmap           "bottomShadowPixmap"
183 #define WmNfont                         "font"
184 #define WmNforeground                   "foreground"
185 #define WmNsaveUnder                    "saveUnder"
186 #define WmNtopShadowColor               "topShadowColor"
187 #define WmNtopShadowPixmap              "topShadowPixmap"
188
189 /* mwm - client specific resources: */
190
191 #ifdef WSM
192 #define WmNabsentMapBehavior            "absentMapBehavior"
193 #endif /* WSM */
194 #define WmNclientDecoration             "clientDecoration"
195 #define WmNclientFunctions              "clientFunctions"
196 #define WmNfocusAutoRaise               "focusAutoRaise"
197 #ifdef WSM
198 #define WmNhelpResources                "helpResources"
199 #endif /* WSM */
200 #define WmNiconImage                    "iconImage"
201 #define WmNiconImageBackground          "iconImageBackground"
202 #define WmNiconImageBottomShadowColor   "iconImageBottomShadowColor"
203 #define WmNiconImageBottomShadowPixmap  "iconImageBottomShadowPixmap"
204 #define WmNiconImageForeground          "iconImageForeground"
205 #define WmNiconImageTopShadowColor      "iconImageTopShadowColor"
206 #define WmNiconImageTopShadowPixmap     "iconImageTopShadowPixmap"
207 #define WmNignoreWMSaveHints            "ignoreWMSaveHints"
208 #ifdef WSM
209 #define WmNinitialWorkspace             "initialWorkspace"
210 #endif /* WSM */
211 #define WmNmatteBackground              "matteBackground"
212 #define WmNmatteBottomShadowColor       "matteBottomShadowColor"
213 #define WmNmatteBottomShadowPixmap      "matteBottomShadowPixmap"
214 #define WmNmatteForeground              "matteForeground"
215 #define WmNmatteTopShadowColor          "matteTopShadowColor"
216 #define WmNmatteTopShadowPixmap         "matteTopShadowPixmap"
217 #define WmNmatteWidth                   "matteWidth"
218 #define WmNmaximumClientSize            "maximumClientSize"
219 #define WmNscreenList                   "screenList"
220 #define WmNscreens                      "screens"
221 #define WmNsystemMenu                   "windowMenu"
222 #define WmNuseClientIcon                "useClientIcon"
223 #define WmNusePPosition                 "usePPosition"
224 #ifdef WSM
225 #define WmNworkspaceList                "workspaceList"
226 #define WmNworkspaceCount               "workspaceCount"
227 #endif /* WSM */
228
229 /* window manager part resource names: */
230
231 #define WmNclient                       "client"
232 #define WmNfeedback                     "feedback"
233 #define WmNicon                         "icon"
234 #define WmNmenu                         "menu"
235 #define WmNtitle                        "title"
236 #define WmNdefaults                     "defaults"
237 #ifdef WSM
238 #define WmNbackdrop                     "backdrop"
239 #define WmNcolorSetId                   "colorSetId"
240 #define WmNfrontPanel                   "frontPanel"
241 #define WmNworkspaceController          "workspaceController"
242 #define WmNworkspacePresence            "workspacePresence"
243 #define WmNworkspaceSwitch              "workspaceSwitch"
244 #endif /* WSM */
245
246 /* window manager client resource names: */
247
248 #define WmNiconBox                      "iconbox"
249 #define WmNconfirmbox                   "confirmbox"
250 #ifdef WSM
251 #define WmNswitcher                     "switcher"
252 #endif /* WSM */
253
254
255 \f
256 /*************************************<->*************************************
257  *
258  *  Window manager resource classes ...
259  *
260  *
261  *  Description:
262  *  -----------
263  * 
264  *************************************<->***********************************/
265
266 /* mwm specific appearance and behavior resources: */
267
268 #define WmCAutoKeyFocus                 "AutoKeyFocus"
269 #define WmCAutoRaiseDelay               "AutoRaiseDelay"
270 #ifdef WSM
271 #define WmCBackdropDirectories          "BackdropDirectories"
272 #endif /* WSM */
273 #define WmCBitmapDirectory              "BitmapDirectory"
274 #ifdef MINIMAL_DT
275 #define WmCBlinkOnExec                  "BlinkOnExec"
276 #endif /* MINIMAL_DT */
277 #define WmCButtonBindings               "ButtonBindings"
278 #define WmCCleanText                    "CleanText"
279 #define WmCClientAutoPlace              "ClientAutoPlace"
280 #define WmCColormapFocusPolicy          "ColormapFocusPolicy"
281 #define WmCConfigFile                   "ConfigFile"
282 #ifdef WSM
283 #define WmCCppCommand                   "CppCommand"
284 #endif /* WSM */
285 #define WmCDeiconifyKeyFocus            "DeiconifyKeyFocus"
286 #define WmCDoubleClickTime              "DoubleClickTime"
287 #define WmCEnableWarp                   "EnableWarp"
288 #define WmCEnforceKeyFocus              "EnforceKeyFocus"
289 #define WmCFadeNormalIcon               "FadeNormalIcon"
290 #define WmCFeedbackGeometry             "FeedbackGeometry"
291 #define WmCFrameBorderWidth             "FrameBorderWidth"
292 #ifdef WSM
293 #define WmCFrameExternalShadowWidth     "FrameExternalShadowWidth"
294 #endif /* WSM */
295 #define WmCFreezeOnConfig               "FreezeOnConfig"
296 #ifdef WSM
297 #define WmCGeometry                     "Geometry"
298 #endif /* WSM */
299 #define WmCIconAutoPlace                "IconAutoPlace"
300 #define WmCIconBoxGeometry              "IconBoxGeometry"
301 #define WmCIconBoxLayout                "IconBoxLayout"
302 #define WmCIconBoxName                  "IconBoxName"
303 #define WmCIconBoxSBDisplayPolicy       "IconBoxSBDisplayPolicy"
304 #define WmCIconBoxScheme                "IconBoxScheme"
305 #define WmCIconBoxTitle                 "IconBoxTitle"
306 #define WmCIconClick                    "IconClick"
307 #define WmCIconDecoration               "IconDecoration"
308 #ifdef WSM
309 #define WmCIconExternalShadowWidth      "IconExternalShadowWidth"
310 #endif /* WSM */
311 #define WmCIconImageMaximum             "IconImageMaximum"
312 #define WmCIconImageMinimum             "IconImageMinimum"
313 #define WmCIconPlacement                "IconPlacement"
314 #define WmCIconPlacementMargin          "IconPlacementMargin"
315 #ifdef WSM
316 #define WmCImage                        "Image"
317 #define WmCImageBackground              "ImageBackground"
318 #define WmCImageForeground              "ImageForeground"
319 #endif /* WSM */
320 #define WmCInteractivePlacement         "InteractivePlacement"
321 #define WmCKeyBindings                  "KeyBindings"
322 #define WmCKeyboardFocusPolicy          "KeyboardFocusPolicy"
323 #define WmCLimitResize                  "LimitResize"
324 #define WmCLowerOnIconify               "LowerOnIconify"
325 #ifdef WSM
326 #define WmCMarqueeSelectGranularity     "MarqueeSelectGranularity"
327 #endif /* WSM */
328 #define WmCMaximumMaximumSize           "MaximumMaximumSize"
329 #define WmCMoveThreshold                "MoveThreshold"
330 #define WmCMultiScreen                  "MultiScreen"
331 #define WmCPassButtons                  "PassButtons"
332 #define WmCPassSelectButton             "PassSelectButton"
333 #define WmCPositionIsFrame              "PositionIsFrame"
334 #define WmCPositionOnScreen             "PositionOnScreen"
335 #define WmCQuitTimeout                  "QuitTimeout"
336 #define WmCRaiseKeyFocus                "RaiseKeyFocus"
337 #ifdef WSM
338 #define WmCRefreshByClearing            "RefreshByClearing"
339 #endif
340 #define WmCResizeBorderWidth            "ResizeBorderWidth"
341 #define WmCResizeCursors                "ResizeCursors"
342 #if ((!defined(WSM)) || defined(MWM_QATS_PROTOCOL))
343 # define WmCRootMenu                    "RootMenu"
344 #endif /* !defined(WSM) || defined(MWM_QATS_PROTOCOL) */
345 #ifdef WSM
346 #define WmCRootButtonClick              "RootButtonClick"
347 #define WmCSecondariesOnTop             "SecondariesOnTop"
348 #define WmCSessionVersion               "SessionVersion"
349 #endif /* WSM */
350 #ifndef WSM
351 #define WmCSessionClientDB              "SessionClientDB"
352 #endif /* ! WSM */
353 #define WmCScreenList                   "ScreenList"
354 #define WmCScreens                      "Screens"
355 #define WmCShowFeedback                 "ShowFeedback"
356 #ifdef WSM
357 #define WmCShowNames                    "ShowNames"
358 #endif /* WSM */
359 #define WmCStartupKeyFocus              "StartupKeyFocus"
360 #ifdef PANELIST
361 #define WmCSubpanelDecoration           "SubpanelDecoration"
362 #define WmCSubpanelResources            "SubpanelResources"
363 #endif /* PANELIST */
364 #define WmCSystemButtonClick            "WMenuButtonClick"
365 #define WmCSystemButtonClick2           "WMenuButtonClick2"
366 #define WmCTransientDecoration          "TransientDecoration"
367 #define WmCTransientFunctions           "TransientFunctions"
368 #ifdef PANELIST
369 #define WmCUseFrontPanel                "UseFrontPanel"
370 #endif /* PANELIST */
371 #define WmCUseIconBox                   "UseIconBox"
372 #ifdef WSM
373 #define WmCUseWindowOutline             "UseWindowOutline"
374 #endif /* WSM */
375 #ifdef MINIMAL_DT
376 #define WmCDtLite                       "UseDtLite"
377 #endif /* MINIMAL_DT */
378 #define WmCMoveOpaque                   "MoveOpaque"
379 #define WmCFrameStyle                   "FrameStyle"
380 #ifdef WSM
381 #define WmCWorkspaceList                "WorkspaceList"
382 #define WmCWorkspaceCount               "WorkspaceCount"
383 #endif /* WSM */
384
385 /* component appearance resources: */
386
387 #define WmCActiveBackground             "ActiveBackground"
388 #define WmCActiveBackgroundPixmap       "ActiveBackgroundPixmap"
389 #define WmCActiveBottomShadowColor      "ActiveBottomShadowColor"
390 #define WmCActiveBottomShadowPixmap     "ActiveBottomShadowPixmap"
391 #define WmCActiveForeground             "ActiveForeground"
392 #define WmCActiveTopShadowColor         "ActiveTopShadowColor"
393 #define WmCActiveTopShadowPixmap        "ActiveTopShadowPixmap"
394 #define WmCBackground                   "Background"
395 #define WmCBackgroundPixmap             "BackgroundPixmap"
396 #define WmCBottomShadowColor            "BottomShadowColor"
397 #define WmCBottomShadowPixmap           "BottomShadowPixmap"
398 #define WmCFont                         "Font"
399 #define WmCForeground                   "Foreground"
400 #define WmCSaveUnder                    "SaveUnder"
401 #define WmCTopShadowColor               "TopShadowColor"
402 #define WmCTopShadowPixmap              "TopShadowPixmap"
403
404 /* mwm - client specific resources: */
405
406 #ifdef WSM
407 #define WmCAbsentMapBehavior            "AbsentMapBehavior"
408 #endif /* WSM */
409 #define WmCClientDecoration             "ClientDecoration"
410 #define WmCClientFunctions              "ClientFunctions"
411 #define WmCFocusAutoRaise               "FocusAutoRaise"
412 #ifdef WSM
413 #define WmCHelpResources                "HelpResources"
414 #endif /* WSM */
415 #define WmCIconImage                    "IconImage"
416 #define WmCIconImageBackground          "IconImageBackground"
417 #define WmCIconImageBottomShadowColor   "IconImageBottomShadowColor"
418 #define WmCIconImageBottomShadowPixmap  "IconImageBottomShadowPixmap"
419 #define WmCIconImageForeground          "IconImageForeground"
420 #define WmCIconImageTopShadowColor      "IconImageTopShadowColor"
421 #define WmCIconImageTopShadowPixmap     "IconImageTopShadowPixmap"
422 #define WmCIgnoreWMSaveHints            "IgnoreWMSaveHints"
423 #ifdef WSM
424 #define WmCInitialWorkspace             "InitialWorkspace"
425 #endif /* WSM */
426 #define WmCMatteBackground              "MatteBackground"
427 #define WmCMatteBottomShadowColor       "MatteBottomShadowColor"
428 #define WmCMatteBottomShadowPixmap      "MatteBottomShadowPixmap"
429 #define WmCMatteForeground              "MatteForeground"
430 #define WmCMatteTopShadowColor          "MatteTopShadowColor"
431 #define WmCMatteTopShadowPixmap         "MatteTopShadowPixmap"
432 #define WmCMatteWidth                   "MatteWidth"
433 #define WmCMaximumClientSize            "MaximumClientSize"
434 #define WmCSystemMenu                   "WindowMenu"
435 #define WmCUseClientIcon                "UseClientIcon"
436 #define WmCUsePPosition                 "UsePPosition"
437
438 /* window manager part resource names: */
439
440 #define WmCClient                       "Client"
441 #define WmCFeedback                     "Feedback"
442 #define WmCIcon                         "Icon"
443 #define WmCMenu                         "Menu"
444 #define WmCTitle                        "Title"
445 #define WmCDefaults                     "Defaults"
446 #ifdef WSM
447 #define WmCBackdrop                     "Backdrop"
448 #define WmCColorSetId                   "ColorSetId"
449 #define WmCFrontPanel                   "FrontPanel"
450 #define WmCWorkspaceController          "WorkspaceController"
451 #define WmCWorkspacePresence            "WorkspacePresence"
452 #define WmCWorkspaceSwitch              "WorkspaceSwitch"
453 #endif /* WSM */
454
455 /* window manager client resource names: */
456
457 #define WmCIconBox                      "Iconbox"
458 #define WmCConfirmbox                   "Confirmbox"
459 #ifdef WSM
460 #define WmCSwitcher                     "Switcher"
461 #endif /* WSM */
462
463
464 \f
465 /*************************************<->*************************************
466  *
467  *  Window manager resource converter names ...
468  *
469  *
470  *  Description:
471  *  -----------
472  * 
473  *************************************<->***********************************/
474
475 #ifdef WSM
476 #define WmRAbsentMapBehavior            "WmAMBehavior"
477 #endif /* WSM */
478 #define WmRCFocusPolicy                 "WmCFocus"
479 #define WmRClientDecor                  "WmCDecor"
480 #define WmRClientFunction               "WmCFunc"
481 #define WmRFrameStyle                   "WmFrameStyle"
482 #define WmRIconBoxLayout                "WmIBLayout"
483 #define WmRIconDecor                    "WmIDecor"
484 #define WmRIconPlacement                "WmIPlace"
485 #define WmRKFocusPolicy                 "WmKFocus"
486 #define WmRSize                         "WmSize"
487 #define WmRShowFeedback                 "WmShowFeedback"
488 #define WmRUsePPosition                 "WmUsePPosition"
489
490
491 \f
492 /*************************************<->*************************************
493  *
494  *  Window manager resource set definitions and default resource values ...
495  *
496  *
497  *  Description:
498  *  -----------
499  * 
500  *************************************<->***********************************/
501
502
503
504 \f
505 /*************************************<->*************************************
506  *
507  *  Mwm resource description file definitions ...
508  *
509  *
510  *  Description:
511  *  -----------
512  * 
513  *************************************<->***********************************/
514
515 /* Configuration resource types: */
516
517 #define CRS_BUTTON              (1L << 0)
518 #define CRS_KEY                 (1L << 1)
519 #define CRS_MENU                (1L << 2)
520 #define CRS_ACCEL               (1L << 3)
521 #define CRS_ANY                 (CRS_BUTTON | CRS_KEY | CRS_MENU | CRS_ACCEL)
522
523 #ifdef PANELIST
524 #define WmNhelpDirectory                     "helpDirectory"
525
526 #define WmCHelpDirectory                     "HelpDirectory"
527 #endif /* PANELIST */
528 #ifdef WSM
529 /**************************    eof  ************************/
530 #endif /* WSM */