/[ascend]/trunk/tcltk98/generic/interface/AscBitmaps.c
ViewVC logotype

Contents of /trunk/tcltk98/generic/interface/AscBitmaps.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17 - (show annotations) (download) (as text)
Tue Dec 7 17:37:58 2004 UTC (17 years, 8 months ago) by aw0a
File MIME type: text/x-csrc
File size: 14699 byte(s)
moved interface directory one level deeper in tree
1 /*
2 * AscBitmaps.c
3 * by Kirk Abbott and Ben Allan
4 * Created: 1/94
5 * Version: $Revision: 1.7 $
6 * Version control file: $RCSfile: AscBitmaps.c,v $
7 * Date last modified: $Date: 1998/04/25 18:14:13 $
8 * Last modified by: $Author: ballan $
9 *
10 * This file is part of the ASCEND Tcl/Tk interface
11 *
12 * Copyright 1997, Carnegie Mellon University
13 *
14 * The ASCEND Tcl/Tk interface is free software; you can redistribute
15 * it and/or modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of the
17 * License, or (at your option) any later version.
18 *
19 * The ASCEND Tcl/Tk interface is distributed in hope that it will be
20 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with the program; if not, write to the Free Software Foundation,
26 * Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named
27 * COPYING. COPYING is found in ../compiler.
28 */
29
30
31 #include "tcl.h"
32 #include "tk.h"
33 #include "utilities/ascConfig.h"
34 #include "interface/AscBitmaps.h"
35
36
37 #ifndef lint
38 static CONST char AscBitmapsID[] = "$Id: AscBitmaps.c,v 1.7 1998/04/25 18:14:13 ballan Exp $";
39 #endif
40
41
42 #define BITSTRING static unsigned char
43 #define BITDATA(s) ((char *)&((s)[0]))
44 int Asc_RegisterBitmaps(Tcl_Interp *interp)
45 {
46 BITSTRING sqr1x1_bits[] = { 0x01 };
47 BITSTRING sqr2x2_bits[] = { 0x03, 0x03 };
48 BITSTRING sqr3x3_bits[] = { 0x07, 0x07, 0x07 };
49 BITSTRING sqr3x3h_bits[] = { 0x07, 0x05, 0x07 };
50 BITSTRING x3x3_bits[] = { 0x05, 0x02, 0x05 };
51 BITSTRING sqr4x4_bits[] = { 0x0f, 0x0f, 0x0f, 0x0f };
52 BITSTRING sqr4x4h_bits[] = { 0x0f, 0x09, 0x09, 0x0f };
53 BITSTRING x4x4_bits[] = { 0x09, 0x06, 0x06, 0x09 };
54 BITSTRING sqr5x5_bits[] = { 0x1f, 0x1f, 0x1f, 0x1f, 0x1f };
55 BITSTRING sqrx5x5_bits[] = { 0x1f, 0x1b, 0x15, 0x0b, 0x1f };
56 BITSTRING sqr5x5h_bits[] = { 0x1f, 0x11, 0x11, 0x11, 0x1f };
57 BITSTRING x5x5_bits[] = { 0x11, 0x0a, 0x04, 0x0a, 0x11 };
58 BITSTRING sqr6x6_bits[] = { 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f };
59 BITSTRING sqrx6x6_bits[] = { 0x3f, 0x33, 0x2d, 0x2d, 0x33, 0x3f };
60 BITSTRING sqr6x6h_bits[] = { 0x3f, 0x21, 0x21, 0x21, 0x21, 0x3f };
61 BITSTRING x6x6_bits[] = { 0x21, 0x12, 0x0c, 0x0c, 0x12, 0x21 };
62 BITSTRING sqr7x7_bits[] = { 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f };
63 BITSTRING sqrx7x7_bits[] = { 0x7f, 0x63, 0x55, 0x49, 0x55, 0x63, 0x7f };
64 BITSTRING sqr7x7h_bits[] = { 0x7f, 0x41, 0x41, 0x41, 0x41, 0x41, 0x7f };
65 BITSTRING x7x7_bits[] = { 0x41, 0x22, 0x14, 0x08, 0x14, 0x22, 0x41 };
66 BITSTRING sqr8x8_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,0xff};
67 BITSTRING sqrx8x8_bits[] = { 0xff, 0xc3, 0xa5, 0x99, 0x99, 0xa5,0xc3,0xff};
68 BITSTRING sqr8x8h_bits[] = { 0xff, 0x81, 0x81, 0x81, 0x81, 0x81,0x81,0xff};
69 BITSTRING x8x8_bits[] = { 0x81, 0x42, 0x24, 0x18, 0x18, 0x24, 0x42, 0x81};
70 BITSTRING sqr9x9_bits[] = {
71 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff,
72 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01 };
73 BITSTRING sqrx9x9_bits[] = {
74 0xff, 0x01, 0x83, 0x01, 0x45, 0x01, 0x29, 0x01, 0x11,
75 0x01, 0x29, 0x01, 0x45, 0x01, 0x83, 0x01, 0xff, 0x01 };
76 BITSTRING sqr9x9h_bits[] = {
77 0xff, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
78 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xff, 0x01 };
79 BITSTRING x9x9_bits[] = {
80 0x01, 0x01, 0x82, 0x00, 0x44, 0x00, 0x28, 0x00, 0x10,
81 0x00, 0x28, 0x00, 0x44, 0x00, 0x82, 0x00, 0x01, 0x01 };
82
83 BITSTRING sqr10x10_bits[] = {
84 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03,
85 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03 };
86 BITSTRING sqrx10x10_bits[] = {
87 0xff, 0x03, 0x03, 0x03, 0x85, 0x02, 0x49, 0x02, 0x31, 0x02, 0x31, 0x02,
88 0x49, 0x02, 0x85, 0x02, 0x03, 0x03, 0xff, 0x03 };
89 BITSTRING sqr10x10h_bits[] = {
90 0xff, 0x03, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02,
91 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0xff, 0x03 };
92 BITSTRING x10x10_bits[] = {
93 0x01, 0x02, 0x02, 0x01, 0x84, 0x00, 0x48, 0x00, 0x30, 0x00, 0x30, 0x00,
94 0x48, 0x00, 0x84, 0x00, 0x02, 0x01, 0x01, 0x02 };
95
96 BITSTRING sqr11x11_bits[] = {
97 0xff, 0x07, 0xff, 0x07, 0xff, 0x07, 0xff, 0x07, 0xff, 0x07, 0xff, 0x07,
98 0xff, 0x07, 0xff, 0x07, 0xff, 0x07, 0xff, 0x07, 0xff, 0x07 };
99 BITSTRING sqrx11x11_bits[] = {
100 0xff, 0x07, 0x03, 0x06, 0x05, 0x05, 0x89, 0x04, 0x51, 0x04, 0x21, 0x04,
101 0x51, 0x04, 0x89, 0x04, 0x05, 0x05, 0x03, 0x06, 0xff, 0x07 };
102 BITSTRING sqr11x11h_bits[] = {
103 0xff, 0x07, 0x01, 0x04, 0x01, 0x04, 0x01, 0x04, 0x01, 0x04, 0x01, 0x04,
104 0x01, 0x04, 0x01, 0x04, 0x01, 0x04, 0x01, 0x04, 0xff, 0x07 };
105 BITSTRING x11x11_bits[] = {
106 0x01, 0x04, 0x02, 0x02, 0x04, 0x01, 0x88, 0x00, 0x50, 0x00, 0x20, 0x00,
107 0x50, 0x00, 0x88, 0x00, 0x04, 0x01, 0x02, 0x02, 0x01, 0x04 };
108
109 BITSTRING sqr12x12_bits[] = {
110 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f,
111 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f };
112 BITSTRING sqrx12x12_bits[] = {
113 0xff, 0x0f, 0x03, 0x0c, 0x05, 0x0a, 0x09, 0x09, 0x91, 0x08, 0x61, 0x08,
114 0x61, 0x08, 0x91, 0x08, 0x09, 0x09, 0x05, 0x0a, 0x03, 0x0c, 0xff, 0x0f };
115 BITSTRING sqr12x12h_bits[] = {
116 0xff, 0x0f, 0x01, 0x08, 0x01, 0x08, 0x01, 0x08, 0x01, 0x08, 0x01, 0x08,
117 0x01, 0x08, 0x01, 0x08, 0x01, 0x08, 0x01, 0x08, 0x01, 0x08, 0xff, 0x0f };
118 BITSTRING x12x12_bits[] = {
119 0x01, 0x08, 0x02, 0x04, 0x04, 0x02, 0x08, 0x01, 0x90, 0x00, 0x60, 0x00,
120 0x60, 0x00, 0x90, 0x00, 0x08, 0x01, 0x04, 0x02, 0x02, 0x04, 0x01, 0x08 };
121
122 BITSTRING sqr13x13_bits[] = {
123 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f,
124 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f,
125 0xff, 0x1f };
126 BITSTRING sqrx13x13_bits[] = {
127 0xff, 0x1f, 0x03, 0x18, 0x05, 0x14, 0x09, 0x12, 0x11, 0x11, 0xa1, 0x10,
128 0x41, 0x10, 0xa1, 0x10, 0x11, 0x11, 0x09, 0x12, 0x05, 0x14, 0x03, 0x18,
129 0xff, 0x1f };
130 BITSTRING sqr13x13h_bits[] = {
131 0xff, 0x1f, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10,
132 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10,
133 0xff, 0x1f };
134 BITSTRING x13x13_bits[] = {
135 0x01, 0x10, 0x02, 0x08, 0x04, 0x04, 0x08, 0x02, 0x10, 0x01, 0xa0, 0x00,
136 0x40, 0x00, 0xa0, 0x00, 0x10, 0x01, 0x08, 0x02, 0x04, 0x04, 0x02, 0x08,
137 0x01, 0x10 };
138
139 BITSTRING sqr14x14_bits[] = {
140 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f,
141 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f,
142 0xff, 0x3f, 0xff, 0x3f };
143 BITSTRING sqrx14x14_bits[] = {
144 0xff, 0x3f, 0x03, 0x30, 0x05, 0x28, 0x09, 0x24, 0x11, 0x22, 0x21, 0x21,
145 0xc1, 0x20, 0xc1, 0x20, 0x21, 0x21, 0x11, 0x22, 0x09, 0x24, 0x05, 0x28,
146 0x03, 0x30, 0xff, 0x3f };
147 BITSTRING sqr14x14h_bits[] = {
148 0xff, 0x3f, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20,
149 0x01, 0x20, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20, 0x01, 0x20,
150 0x01, 0x20, 0xff, 0x3f };
151 BITSTRING x14x14_bits[] = {
152 0x01, 0x20, 0x02, 0x10, 0x04, 0x08, 0x08, 0x04, 0x10, 0x02, 0x20, 0x01,
153 0xc0, 0x00, 0xc0, 0x00, 0x20, 0x01, 0x10, 0x02, 0x08, 0x04, 0x04, 0x08,
154 0x02, 0x10, 0x01, 0x20 };
155
156 BITSTRING toolAttributes_bits[] = {
157 0xff, 0xff, 0x01, 0x80, 0x01, 0x80, 0xf9, 0x9f, 0xf9, 0x9f, 0x01, 0x80,
158 0x01, 0x80, 0xf9, 0x9f, 0xf9, 0x9f, 0x01, 0x80, 0x01, 0x80, 0xf9, 0x9f,
159 0xf9, 0x9f, 0x01, 0x80, 0x01, 0x80, 0xff, 0xff};
160 BITSTRING stop_bits[] = {
161 0xf0, 0x0f, 0xf8, 0x1f, 0x0c, 0x30, 0x06, 0x60, 0x13, 0xc8, 0x23, 0xc4,
162 0x43, 0xc2, 0x83, 0xc1, 0x83, 0xc1, 0x43, 0xc2, 0x23, 0xc4, 0x13, 0xc8,
163 0x06, 0x60, 0x0c, 0x30, 0xf8, 0x1f, 0xf0, 0x0f };
164
165 BITSTRING feet_bits[]= {
166 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x48, 0x00,
167 0x48, 0x00, 0x88, 0x00, 0x88, 0x00, 0x88, 0x07, 0x08, 0x3a, 0x08, 0xd5,
168 0x88, 0x8a, 0x18, 0x80, 0x10, 0xc0, 0xf0, 0x7f};
169
170 BITSTRING wfeet_bits[] = {
171 0x00, 0x00, 0xfe, 0x00, 0x01, 0x01, 0x7e, 0x01, 0x01, 0x01, 0x7c, 0x01,
172 0x42, 0x01, 0x88, 0x00, 0x88, 0x00, 0x88, 0x07, 0x08, 0x3a, 0x08, 0xd5,
173 0x88, 0x8a, 0x18, 0x80, 0x10, 0xc0, 0xf0, 0x7f};
174
175 BITSTRING hourglass_bits[] = {
176 0xff, 0xff, 0x07, 0x55, 0x55, 0x05, 0xa2, 0x2a, 0x03, 0x66, 0x15, 0x01,
177 0xa2, 0x2a, 0x03, 0x66, 0x15, 0x01, 0xc2, 0x0a, 0x03, 0x46, 0x05, 0x01,
178 0x82, 0x0a, 0x03, 0x06, 0x05, 0x01, 0x02, 0x03, 0x03, 0x86, 0x05, 0x01,
179 0xc2, 0x0a, 0x03, 0x66, 0x15, 0x01, 0xa2, 0x2a, 0x03, 0x66, 0x15, 0x01,
180 0xa2, 0x2a, 0x03, 0x66, 0x15, 0x01, 0xa2, 0x2a, 0x03, 0xff, 0xff, 0x07,
181 0xab, 0xaa, 0x02};
182
183 BITSTRING grablock_bits[] = {
184 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00,
185 0x00, 0x00, 0xfe, 0x00, 0xe0, 0x0f, 0x00, 0xfe, 0x00, 0x70, 0x1c, 0x00,
186 0xfe, 0x00, 0x18, 0x30, 0x00, 0xfe, 0x00, 0x0c, 0x60, 0x00, 0xfe, 0x00,
187 0x04, 0x40, 0x00, 0xfe, 0x00, 0x06, 0xc0, 0x00, 0xfe, 0x00, 0x06, 0xc0,
188 0x00, 0xfe, 0x00, 0x06, 0xc0, 0x00, 0xfe, 0x00, 0x06, 0xc0, 0x00, 0xfe,
189 0x00, 0xfe, 0xff, 0x00, 0xfe, 0x00, 0xfe, 0xff, 0x00, 0xfe, 0x00, 0xfe,
190 0xff, 0x00, 0xfe, 0x00, 0x7e, 0xfc, 0x00, 0xfe, 0x00, 0x7e, 0xfc, 0x00,
191 0xfe, 0x00, 0x7e, 0xfc, 0x00, 0xfe, 0x00, 0xfe, 0xfe, 0x00, 0xfe, 0x00,
192 0xfe, 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0xfe, 0x00, 0xfe, 0x00, 0x7e, 0xfc,
193 0x00, 0xfe, 0x00, 0x3e, 0xf8, 0x00, 0xfe, 0x00, 0xfe, 0xff, 0x00, 0xfe,
194 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00,
195 0x00, 0x00, 0xfe};
196
197 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_1"),BITDATA(sqr1x1_bits),1,1);
198 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h1"),BITDATA(sqr1x1_bits),1,1);
199 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x1"),BITDATA(sqr1x1_bits),1,1);
200 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c1"),BITDATA(sqr1x1_bits),1,1);
201
202 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_2"),BITDATA(sqr2x2_bits),2,2);
203 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h2"),BITDATA(sqr2x2_bits),2,2);
204 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x2"),BITDATA(sqr2x2_bits),2,2);
205 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c2"),BITDATA(sqr2x2_bits),2,2);
206
207 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_3"),BITDATA(sqr3x3_bits),3,3);
208 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x3"),BITDATA(sqr3x3_bits),3,3);
209 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h3"),BITDATA(sqr3x3h_bits),3,3);
210 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c3"),BITDATA(x3x3_bits),3,3);
211
212 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_4"),BITDATA(sqr4x4_bits),4,4);
213 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x4"),BITDATA(sqr4x4_bits),4,4);
214 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h4"),BITDATA(sqr4x4h_bits),4,4);
215 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c4"),BITDATA(x4x4_bits),4,4);
216
217 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_5"),BITDATA(sqr5x5_bits),5,5);
218 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x5"),BITDATA(sqrx5x5_bits),5,5);
219 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h5"),BITDATA(sqr5x5h_bits),5,5);
220 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c5"),BITDATA(x5x5_bits),5,5);
221
222 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_6"),BITDATA(sqr6x6_bits),6,6);
223 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x6"),BITDATA(sqrx6x6_bits),6,6);
224 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h6"),BITDATA(sqr6x6h_bits),6,6);
225 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c6"),BITDATA(x6x6_bits),6,6);
226
227 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_7"),BITDATA(sqr7x7_bits),7,7);
228 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x7"),BITDATA(sqrx7x7_bits),7,7);
229 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h7"),BITDATA(sqr7x7h_bits),7,7);
230 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c7"),BITDATA(x7x7_bits),7,7);
231
232 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_8"),BITDATA(sqr8x8_bits),8,8);
233 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x8"),BITDATA(sqrx8x8_bits),8,8);
234 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h8"),BITDATA(sqr8x8h_bits),8,8);
235 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c8"),BITDATA(x8x8_bits),8,8);
236
237 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_9"),BITDATA(sqr9x9_bits),9,9);
238 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_x9"),BITDATA(sqrx9x9_bits),9,9);
239 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_h9"),BITDATA(sqr9x9h_bits),9,9);
240 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c9"),BITDATA(x9x9_bits),9,9);
241
242 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_10"),BITDATA(sqr10x10_bits),10,10);
243 Tk_DefineBitmap(interp,
244 Tk_GetUid("asc_sq_x10"),BITDATA(sqrx10x10_bits),10,10);
245 Tk_DefineBitmap(interp,
246 Tk_GetUid("asc_sq_h10"),BITDATA(sqr10x10h_bits),10,10);
247 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c10"),BITDATA(x10x10_bits),10,10);
248
249 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_11"),BITDATA(sqr11x11_bits),11,11);
250 Tk_DefineBitmap(interp,
251 Tk_GetUid("asc_sq_x11"),BITDATA(sqrx11x11_bits),11,11);
252 Tk_DefineBitmap(interp,
253 Tk_GetUid("asc_sq_h11"),BITDATA(sqr11x11h_bits),11,11);
254 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c11"),BITDATA(x11x11_bits),11,11);
255
256 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_12"),BITDATA(sqr12x12_bits),12,12);
257 Tk_DefineBitmap(interp,
258 Tk_GetUid("asc_sq_x12"),BITDATA(sqrx12x12_bits),12,12);
259 Tk_DefineBitmap(interp,
260 Tk_GetUid("asc_sq_h12"),BITDATA(sqr12x12h_bits),12,12);
261 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c12"),BITDATA(x12x12_bits),12,12);
262
263 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_13"),BITDATA(sqr13x13_bits),13,13);
264 Tk_DefineBitmap(interp,
265 Tk_GetUid("asc_sq_x13"),BITDATA(sqrx13x13_bits),13,13);
266 Tk_DefineBitmap(interp,
267 Tk_GetUid("asc_sq_h13"),BITDATA(sqr13x13h_bits),13,13);
268 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c13"),BITDATA(x13x13_bits),13,13);
269
270 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_14"),BITDATA(sqr14x14_bits),14,14);
271 Tk_DefineBitmap(interp,
272 Tk_GetUid("asc_sq_x14"),BITDATA(sqrx14x14_bits),14,14);
273 Tk_DefineBitmap(interp,
274 Tk_GetUid("asc_sq_h14"),BITDATA(sqr14x14h_bits),14,14);
275 Tk_DefineBitmap(interp,Tk_GetUid("asc_sq_c14"),BITDATA(x14x14_bits),14,14);
276
277 Tk_DefineBitmap(interp,Tk_GetUid("toolAttributes"),
278 BITDATA(toolAttributes_bits),16,16);
279 Tk_DefineBitmap(interp,Tk_GetUid("stop"),BITDATA(stop_bits),16,16);
280 Tk_DefineBitmap(interp,Tk_GetUid("feet"),BITDATA(feet_bits),16,16);
281 Tk_DefineBitmap(interp,Tk_GetUid("wfeet"),BITDATA(wfeet_bits),16,16);
282 Tk_DefineBitmap(interp,Tk_GetUid("hourglass"),BITDATA(hourglass_bits),16,16);
283 Tk_DefineBitmap(interp,Tk_GetUid("grablock"),BITDATA(grablock_bits),33,27);
284 return 0;
285 }
286 /* and for those of you who still dont get it, try thinking toolless 1993 */

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22