XlationSvc: remove a "'" added in previous spelling commit that causes warnings
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / bitmaps.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 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 /* $XConsortium: bitmaps.h /main/3 1995/10/26 15:32:50 rswiston $ */
24 /*
25  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
26  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
27  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
28  * (c) Copyright 1993, 1994 Novell, Inc.                                *
29  */
30 #ifdef REV_INFO
31 #ifndef lint
32 static char SCCSID[] = "OSF/Motif: %W% %E%":
33 #endif /* lint */
34 #endif /* REV_INFO */
35 /******************************************************************************
36 *******************************************************************************
37 *
38 *  (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
39 *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY
40 *  ALL RIGHTS RESERVED
41 *  
42 *       THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED
43 *  AND COPIED ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND
44 *  WITH THE INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR
45 *  ANY OTHER COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE
46 *  AVAILABLE TO ANY OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF THE
47 *  SOFTWARE IS HEREBY TRANSFERRED.
48 *  
49 *       THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT
50 *  NOTICE AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY OPEN SOFTWARE
51 *  FOUNDATION, INC. OR ITS THIRD PARTY SUPPLIERS  
52 *  
53 *       OPEN SOFTWARE FOUNDATION, INC. AND ITS THIRD PARTY SUPPLIERS,
54 *  ASSUME NO RESPONSIBILITY FOR THE USE OR INABILITY TO USE ANY OF ITS
55 *  SOFTWARE .   OSF SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
56 *  KIND, AND OSF EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING
57 *  BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
58 *  FITNESS FOR A PARTICULAR PURPOSE.
59 *  
60 *  Notice:  Notwithstanding any other lease or license that may pertain to,
61 *  or accompany the delivery of, this computer software, the rights of the
62 *  Government regarding its use, reproduction and disclosure are as set
63 *  forth in Section 52.227-19 of the FARS Computer Software-Restricted
64 *  Rights clause.
65 *  
66 *  (c) Copyright 1989, 1990, 1991, 1992 Open Software Foundation, Inc.  Unpublished - all
67 *  rights reserved under the Copyright laws of the United States.
68 *  
69 *  RESTRICTED RIGHTS NOTICE:  Use, duplication, or disclosure by the
70 *  Government is subject to the restrictions as set forth in subparagraph
71 *  (c)(1)(ii) of the Rights in Technical Data and Computer Software clause
72 *  at DFARS 52.227-7013.
73 *  
74 *  Open Software Foundation, Inc.
75 *  11 Cambridge Center
76 *  Cambridge, MA   02142
77 *  (617)621-8700
78 *  
79 *  RESTRICTED RIGHTS LEGEND:  This computer software is submitted with
80 *  "restricted rights."  Use, duplication or disclosure is subject to the
81 *  restrictions as set forth in NASA FAR SUP 18-52.227-79 (April 1985)
82 *  "Commercial Computer Software- Restricted Rights (April 1985)."  Open
83 *  Software Foundation, Inc., 11 Cambridge Center, Cambridge, MA  02142.  If
84 *  the contract contains the Clause at 18-52.227-74 "Rights in Data General"
85 *  then the "Alternate III" clause applies.
86 *  
87 *  (c) Copyright 1989, 1990, 1991, 1992 Open Software Foundation, Inc.
88 *  ALL RIGHTS RESERVED 
89 *  
90 *  
91 * Open Software Foundation is a trademark of The Open Software Foundation, Inc.
92 * OSF is a trademark of Open Software Foundation, Inc.
93 * OSF/Motif is a trademark of Open Software Foundation, Inc.
94 * Motif is a trademark of Open Software Foundation, Inc.
95 * DEC is a registered trademark of Digital Equipment Corporation
96 * DIGITAL is a registered trademark of Digital Equipment Corporation
97 * X Window System is a trademark of the Massachusetts Institute of Technology
98 *
99 *******************************************************************************
100 ******************************************************************************/
101 /*************************************<+>*************************************
102  *****************************************************************************
103  **
104  **   File:        bitmaps.h
105  **
106  **   Description: This file contains a set of predefines bitmaps
107  **                which are used by the image caching functions.
108  **
109  ****************************************************************************
110  ************************************<+>*************************************/
111
112 #ifndef _Xmbitmaps_h
113 #define _Xmbitmaps_h
114
115 #ifdef __cplusplus
116 extern "C" {
117 #endif
118
119 static unsigned char bitmaps [20][32] =
120 {
121    {  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /*  Solid Background  */
122       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
123       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
124       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00  },
125
126    {  0x88, 0x88, 0x22, 0x22, 0x88, 0x88, 0x22, 0x22,   /*  25 percent  */
127       0x88, 0x88, 0x22, 0x22, 0x88, 0x88, 0x22, 0x22,
128       0x88, 0x88, 0x22, 0x22, 0x88, 0x88, 0x22, 0x22,
129       0x88, 0x88, 0x22, 0x22, 0x88, 0x88, 0x22, 0x22  },
130
131    {  0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0xAA, 0xAA,   /*  50 percent  */
132       0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0xAA, 0xAA,
133       0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0xAA, 0xAA,
134       0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0xAA, 0xAA  },
135
136    {  0x55, 0x55, 0xFF, 0xFF, 0xAA, 0xAA, 0xFF, 0xFF,   /*  75 percent  */
137       0x55, 0x55, 0xFF, 0xFF, 0xAA, 0xAA, 0xFF, 0xFF,
138       0x55, 0x55, 0xFF, 0xFF, 0xAA, 0xAA, 0xFF, 0xFF,
139       0x55, 0x55, 0xFF, 0xFF, 0xAA, 0xAA, 0xFF, 0xFF  },
140
141    {  0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,   /*  Vertical  */
142       0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,
143       0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,
144       0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55  },
145
146    {  0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00,   /*  Horizontal  */ 
147       0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 
148       0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 
149       0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00  },
150
151    {  0x77, 0x77, 0xbb, 0xbb, 0xdd, 0xdd, 0xee, 0xee,   /*  Slant Left  */
152       0x77, 0x77, 0xbb, 0xbb, 0xdd, 0xdd, 0xee, 0xee, 
153       0x77, 0x77, 0xbb, 0xbb, 0xdd, 0xdd, 0xee, 0xee, 
154       0x77, 0x77, 0xbb, 0xbb, 0xdd, 0xdd, 0xee, 0xee  },
155
156    {  0xee, 0xee, 0xdd, 0xdd, 0xbb, 0xbb, 0x77, 0x77,   /*  Slant Right  */
157       0xee, 0xee, 0xdd, 0xdd, 0xbb, 0xbb, 0x77, 0x77, 
158       0xee, 0xee, 0xdd, 0xdd, 0xbb, 0xbb, 0x77, 0x77, 
159       0xee, 0xee, 0xdd, 0xdd, 0xbb, 0xbb, 0x77, 0x77  },
160
161    {                                            
162      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*  Default Cascade  */ 
163      0x00, 0x03, 0x00, 0x06, 0x00, 0x0c, 0x00, 0x18,  
164      0xff, 0x3f, 0x00, 0x18, 0x00, 0x0c, 0x00, 0x06,  
165      0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00   },
166
167    {
168       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /* Default CheckMark */
169       0x00, 0x00, 0x00, 0x60, 0x00, 0x30, 0x00, 0x18, 
170       0x00, 0x0c, 0x08, 0x06, 0x18, 0x03, 0xb0, 0x01, 
171       0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00  }, 
172    {                                            
173      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /*  Default menu dash */ 
174      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  
175      0xff, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  
176      0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00   },
177 };
178
179
180 static char * bitmap_name_set[] =
181 {
182    "background",
183    "25_foreground",
184    "50_foreground",
185    "75_foreground",
186    "vertical",
187    "horizontal",
188    "slant_right",
189    "slant_left",
190    "menu_cascade",
191    "menu_checkmark",
192    "menu_dash"
193 };
194
195 #ifdef __cplusplus
196 }  /* Close scope of 'extern "C"' declaration which encloses file. */
197 #endif
198
199 #endif /* _Xmbitmaps_h */
200 /* DON'T ADD STUFF AFTER THIS #endif */