dtcm: Resolve CID 87408
[oweals/cde.git] / cde / programs / dtcm / dtcm / fallback.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 **
25 **  fallbacks.h
26 **
27 **  static char sccsid[] = "@(#)misc.h 1.12 94/02/17 Copyr 1991 Sun Microsystems, Inc.";
28 **
29 **  $TOG: fallback.h /main/4 1998/08/10 15:45:25 mgreess $
30 **
31 **  RESTRICTED CONFIDENTIAL INFORMATION:
32 **
33 **  The information in this document is subject to special
34 **  restrictions in a confidential disclosure agreement between
35 **  HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
36 **  document outside HP, IBM, Sun, USL, SCO, or Univel without
37 **  Sun's specific written approval.  This document and all copies
38 **  and derivative works thereof must be returned or destroyed at
39 **  Sun's request.
40 **
41 **  Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
42 **
43 *******************************************************************************/
44
45 /*                                                                      *
46  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
47  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
48  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
49  * (c) Copyright 1993, 1994 Novell, Inc.                                *
50  */
51
52 #ifndef _FALLBACKS_H
53 #define _FALLBACKS_H
54
55 #include <X11/Intrinsic.h>
56
57 /*
58  * Table of fallback resources.
59  *
60  * This is specified in the <fallback_resources> argument to XtAppInitialize
61  * (calendarA.c), and tells Xt some basic resources to use if it can't load
62  * an app-defaults file.
63  */
64
65 String  fallback_resources[] = {
66 /* Mnemonics for Menu Items */
67 /* Menu Bar */
68         "Dtcm*menuBar.file.mnemonic:                    F",
69         "Dtcm*menuBar.edit.mnemonic:                    E",
70         "Dtcm*menuBar.view.mnemonic:                    V",
71         "Dtcm*menuBar.browse.mnemonic:                  B",
72         "Dtcm*menuBar.help.mnemonic:                    H",
73 /* File menu */
74         "Dtcm*fileMenu.printCurrent.mnemonic:           C",
75         "Dtcm*fileMenu.print.mnemonic:                  P",
76         "Dtcm*fileMenu.options.mnemonic:                O",
77         "Dtcm*fileMenu.exit.mnemonic:                   x",
78 /* Edit menu */
79         "Dtcm*editMenu.appt.mnemonic:                   A",
80         "Dtcm*editMenu.toDo.mnemonic:                   T",
81 /* View menu */
82         "Dtcm*viewMenu.day.mnemonic:                    D",
83         "Dtcm*viewMenu.week.mnemonic:                   W",
84         "Dtcm*viewMenu.month.mnemonic:                  M",
85         "Dtcm*viewMenu.year.mnemonic:                   Y",
86         "Dtcm*viewMenu.apptList.mnemonic:               A",
87         "Dtcm*viewMenu.toDoList.mnemonic:               T",
88         "Dtcm*viewMenu.find.mnemonic:                   F",
89         "Dtcm*viewMenu.goTo.mnemonic:                   G",
90         "Dtcm*viewMenu.timeZone.mnemonic:               Z",
91 /* Browse menu */
92         "Dtcm*browseMenu.showOther.mnemonic:            O",
93         "Dtcm*browseMenu.compare.mnemonic:              C",
94         "Dtcm*browseMenu.editMenu.mnemonic:             M",
95 /* Help menu */
96         "Dtcm*helpMenu.overview.mnemonic:               O",
97         "Dtcm*helpMenu.tasks.mnemonic:                  T",
98         "Dtcm*helpMenu.reference.mnemonic:              R",
99         "Dtcm*helpMenu.onItem.mnemonic:                 I",
100         "Dtcm*helpMenu.using.mnemonic:                  U",
101         "Dtcm*helpMenu.about.mnemonic:                  A",
102 /* Accelerators for selected commands */
103         "Dtcm*day.accelerator:                          Ctrl<Key>D",
104         "Dtcm*week.accelerator:                         Ctrl<Key>W",
105         "Dtcm*month.accelerator:                        Ctrl<Key>M",
106         "Dtcm*year.accelerator:                         Ctrl<Key>Y",
107         "Dtcm*options.accelerator:                      Ctrl<Key>I",
108         "Dtcm*appt.accelerator:                         Ctrl<Key>A",
109         "Dtcm*toDo.accelerator:                         Ctrl<Key>T",
110         "Dtcm*find.accelerator:                         Ctrl<Key>F",
111         "Dtcm*print.accelerator:                        Ctrl<Key>P",
112         "Dtcm*exit.accelerator:                         Alt<Key>F4",
113         "Dtcm*onItem.accelerator:                       <Key>F1",
114 /* Accelerator Text for above */
115         "Dtcm*day.acceleratorText:                      Ctrl+D",
116         "Dtcm*week.acceleratorText:                     Ctrl+W",
117         "Dtcm*month.acceleratorText:                    Ctrl+M",
118         "Dtcm*year.acceleratorText:                     Ctrl+Y",
119         "Dtcm*options.acceleratorText:                  Ctrl+I",
120         "Dtcm*appt.acceleratorText:                     Ctrl+A",
121         "Dtcm*toDo.acceleratorText:                     Ctrl+T",
122         "Dtcm*find.acceleratorText:                     Ctrl+F",
123         "Dtcm*print.acceleratorText:                    Ctrl+P",
124         "Dtcm*exit.acceleratorText:                     Alt+F4",
125         "Dtcm*onItem.acceleratorText:                   F1",
126 /* Tear-offs */
127         "Dtcm*fileMenu.tearOffModel: tear_off_disabled",
128         "Dtcm*editMenu.tearOffModel: tear_off_disabled",
129         "Dtcm*viewMenu.tearOffModel: tear_off_disabled",
130         "Dtcm*browseMenu.tearOffModel: tear_off_disabled",
131         "Dtcm*helpMenu.tearOffModel: tear_off_disabled",
132 /* Programmable date formats */
133         "Dtcm*XmMonthPanel.titleFormat: %B %Y",
134         "Dtcm*yearForm.XmMonthPanel.titleFormat: %B",
135 /* Miscellaneous */
136         "Dtcm*XmMonthPanel*fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:",
137         "Dtcm*canvas*XmPushButton.fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:",
138         "Dtcm*labelForm*fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:",
139         "Dtcm*XmMonthPanel.activeHeader: True",
140         "Dtcm*XmMonthPanel*recomputeSize: False",
141         "Dtcm*lastMonth.activeDays: True",
142         "Dtcm*thisMonth.activeDays: True",
143         "Dtcm*nextMonth.activeDays: True",
144         "Dtcm.iconFont:  -dt-application-bold-r-normal-sans-*-180-*-*-p-*-*-*:",
145         "Dtcm.applicationFontFamily: application",
146         NULL
147 };
148
149 #endif