Debian Codegraph @

libSoXt/src/viewers/SoXtCursors.c++

raw
1 /*
2 *
3 * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * Further, this software is distributed without any warranty that it is
16 * free of the rightful claim of any third person regarding infringement
17 * or the like. Any license provided herein, whether implied or
18 * otherwise, applies only to this software file. Patent licenses, if
19 * any, provided herein do not apply to combinations of this program with
20 * other software, or any other product whatsoever.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
27 * Mountain View, CA 94043, or:
28 *
29 * http://www.sgi.com
30 *
31 * For further information regarding this notice, see:
32 *
33 * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
34 *
35 */
36
37 /*
38 * Copyright (C) 1990,91 Silicon Graphics, Inc.
39 *
40 _______________________________________________________________________
41 ______________ S I L I C O N G R A P H I C S I N C . ____________
42 |
43 | $Revision: 1.1.1.1 $
44 |
45 | Description:
46 | This file contains the actual X cursors bitmaps. The file
47 | SoXtCursors.h contains cursors definitions (sizes and hot spot).
48 |
49 | Author(s) : Alain Dumesny
50 |
51 ______________ S I L I C O N G R A P H I C S I N C . ____________
52 _______________________________________________________________________
53 */
54
55 char so_xt_viewing_bits[] = {
56 0x01, 0x00, 0x03, 0x00, 0x07, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x3f, 0x00,
57 0x7f, 0x00, 0xff, 0x00, 0x1f, 0x00, 0x1b, 0x00, 0x31, 0x00, 0x30, 0x44,
58 0x60, 0x44, 0x60, 0x28, 0x00, 0x28, 0x00, 0x10};
59
60 char so_xt_curved_hand_bits[] = {
61 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x70, 0x69, 0x00, 0x88, 0x91, 0x00,
62 0x08, 0x33, 0x01, 0x30, 0x66, 0x02, 0x20, 0x44, 0x04, 0x40, 0xcc, 0x04,
63 0x80, 0x88, 0x08, 0x84, 0x08, 0x08, 0x9a, 0x00, 0x08, 0xa2, 0x00, 0x10,
64 0xa2, 0x00, 0x10, 0x44, 0x00, 0x10, 0x08, 0x00, 0x10, 0x08, 0x00, 0x20,
65 0x10, 0x00, 0x20, 0xe0, 0x00, 0x20, 0x00, 0x03, 0x20, 0x00, 0x04, 0x20,
66 0x00, 0x08, 0x40, 0x00, 0x10, 0x80, 0x00, 0x20, 0x00, 0x00, 0x40, 0x00};
67
68 char so_xt_flat_hand_bits[] = {
69 0xff, 0xff, 0x03, 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x03,
70 0x01, 0x80, 0x04, 0x01, 0xe0, 0x1c, 0x01, 0x90, 0x14, 0x01, 0x90, 0x34,
71 0x01, 0x90, 0x24, 0x01, 0x88, 0x64, 0xc1, 0x48, 0xa4, 0x21, 0x45, 0xa4,
72 0x21, 0x45, 0xa2, 0x21, 0x22, 0x92, 0x21, 0x02, 0x92, 0x21, 0x02, 0x91,
73 0x11, 0x01, 0x90, 0x1f, 0x01, 0x48, 0x10, 0x00, 0x40, 0x20, 0x00, 0x40,
74 0x20, 0x00, 0x20, 0x40, 0x00, 0x20, 0x40, 0x00, 0x10, 0x80, 0x00, 0x10,
75 0x00, 0x01, 0x08, 0x00, 0x01, 0x04, 0x00, 0x01, 0x04, 0x00, 0x01, 0x04};
76
77 char so_xt_pointing_hand_bits[] = {
78 0x00, 0x06, 0x00, 0x00, 0x09, 0x00, 0x80, 0x10, 0x00, 0x40, 0x20, 0x00,
79 0x20, 0x46, 0x00, 0x10, 0x89, 0x00, 0x00, 0x09, 0x00, 0x00, 0x09, 0x00,
80 0x00, 0x39, 0x00, 0x00, 0xc9, 0x01, 0x00, 0x41, 0x02, 0x00, 0x01, 0x0e,
81 0x00, 0x01, 0x10, 0x00, 0x01, 0x10, 0x3c, 0x01, 0x10, 0xc2, 0x01, 0x10,
82 0x0c, 0x03, 0x10, 0x10, 0x00, 0x08, 0x20, 0x00, 0x08, 0x40, 0x00, 0x08,
83 0x80, 0x00, 0x04, 0x00, 0x01, 0x04, 0x00, 0x02, 0x04, 0x00, 0x04, 0x08};
84
85 char so_xt_roll_bits[] = {
86 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x0c, 0x00, 0x00, 0xfc, 0x07, 0x00,
87 0x3c, 0x18, 0x00, 0xfc, 0x20, 0x00, 0xfc, 0x41, 0x00, 0x00, 0x80, 0x00,
88 0x00, 0x80, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01,
89 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00,
90 0x04, 0x7f, 0x00, 0x08, 0x7e, 0x00, 0x30, 0x78, 0x00, 0xc0, 0x7f, 0x00,
91 0x00, 0x60, 0x00, 0x00, 0x60, 0x00, 0x00, 0x40, 0x00};
92
93 char so_xt_target_bits[] = {
94 0x00, 0x0e, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x0e, 0x00, 0x80, 0x3f, 0x00,
95 0x40, 0x4e, 0x00, 0x20, 0x84, 0x00, 0x10, 0x04, 0x01, 0x08, 0x04, 0x02,
96 0x08, 0x04, 0x02, 0x1f, 0x00, 0x1f, 0xff, 0xf1, 0x1f, 0x1f, 0x00, 0x1f,
97 0x08, 0x04, 0x02, 0x08, 0x04, 0x02, 0x10, 0x04, 0x01, 0x20, 0x84, 0x00,
98 0x40, 0x4e, 0x00, 0x80, 0x3f, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x0e, 0x00,
99 0x00, 0x0e, 0x00};
100
101 char so_xt_normal_vec_bits[] = {
102 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x38, 0x00,
103 0x00, 0x7c, 0x00, 0x00, 0xd6, 0x00, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00,
104 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x00, 0x10, 0x00,
105 0x00, 0x10, 0x00, 0x00, 0x10, 0x00, 0x80, 0xff, 0x3f, 0x40, 0x10, 0x10,
106 0x40, 0x38, 0x10, 0x20, 0x54, 0x08, 0x20, 0x54, 0x08, 0x10, 0x44, 0x04,
107 0x10, 0x38, 0x04, 0x08, 0x00, 0x02, 0x08, 0x00, 0x02, 0xfc, 0xff, 0x01};
108
109
110 ///////////////////////////////////////////////////////////////////////////
111 //
112 // Walk viewer cursors
113 //
114 ///////////////////////////////////////////////////////////////////////////
115
116 char so_xt_walk_bits[] = {
117 0x00, 0x80, 0x01, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x20, 0x04, 0x00,
118 0x00, 0x90, 0x09, 0x00, 0x00, 0x48, 0x12, 0x00, 0x00, 0x40, 0x02, 0x00,
119 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x0e, 0x00,
120 0x00, 0x40, 0x72, 0x00, 0x00, 0x40, 0x90, 0x00, 0x00, 0x40, 0x80, 0x03,
121 0x00, 0x40, 0x00, 0x04, 0x00, 0x40, 0x00, 0x04, 0x00, 0x4f, 0x00, 0x04,
122 0x80, 0x70, 0x00, 0x04, 0x80, 0xc3, 0x00, 0x04, 0x00, 0x04, 0x00, 0x06,
123 0x00, 0x08, 0x00, 0x02, 0x00, 0x10, 0x00, 0x02, 0x00, 0x20, 0x00, 0x03,
124 0x00, 0x40, 0x00, 0x01, 0x00, 0x80, 0x00, 0x01, 0x00, 0x00, 0x01, 0x02};
125
126 char so_xt_walk_mask_bits[] = {
127 0x00, 0x80, 0x01, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x20, 0x04, 0x00,
128 0x00, 0x90, 0x09, 0x00, 0x00, 0x48, 0x12, 0x00, 0x00, 0x40, 0x02, 0x00,
129 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x40, 0x0e, 0x00,
130 0x00, 0x40, 0x72, 0x00, 0x00, 0x44, 0x90, 0x00, 0x80, 0x42, 0x80, 0x03,
131 0x41, 0x45, 0x00, 0x84, 0xa2, 0x42, 0x00, 0x44, 0x55, 0x4f, 0x00, 0xac,
132 0xaa, 0x70, 0x00, 0x54, 0xd5, 0xc3, 0x00, 0xac, 0x2a, 0x04, 0x00, 0x56,
133 0x55, 0x08, 0x00, 0xaa, 0xaa, 0x10, 0x00, 0x56, 0x55, 0x21, 0x00, 0xab,
134 0x00, 0x40, 0x00, 0x01, 0x00, 0x80, 0x00, 0x01, 0x00, 0x00, 0x01, 0x02};
135
136 char so_xt_pan_bits[] = {
137 0x00, 0x30, 0x00, 0x00, 0x48, 0x00, 0x00, 0xce, 0x01, 0x00, 0x49, 0x01,
138 0x00, 0x49, 0x03, 0x00, 0x49, 0x02, 0x80, 0x48, 0x06, 0x8c, 0x44, 0x0a,
139 0x52, 0x44, 0x0a, 0x52, 0x24, 0x0a, 0x22, 0x22, 0x09, 0x22, 0x20, 0x09,
140 0x22, 0x10, 0x09, 0x11, 0x00, 0x09, 0x11, 0x80, 0x04, 0x01, 0x00, 0x04,
141 0x02, 0x00, 0x04, 0x02, 0x00, 0x02, 0x04, 0x00, 0x02, 0x04, 0x00, 0x01,
142 0x08, 0x00, 0x01, 0x10, 0x80, 0x00, 0x10, 0x40, 0x00, 0x10, 0x40, 0x00};
143
144 char so_xt_tilt_bits[] = {
145 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
146 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
147 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
148 0x00, 0xf0, 0x00, 0x00, 0x80, 0x0f, 0x0d, 0x00, 0x40, 0x30, 0x12, 0x00,
149 0x40, 0x60, 0x26, 0x00, 0x80, 0xc3, 0x4c, 0x00, 0x00, 0x84, 0x88, 0x00,
150 0x00, 0x88, 0x99, 0x00, 0x00, 0x10, 0x11, 0x01, 0x80, 0x10, 0x01, 0x01,
151 0x40, 0x13, 0x00, 0x01, 0x40, 0x14, 0x00, 0x02, 0x40, 0x14, 0x00, 0x02,
152 0x80, 0x08, 0x00, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x04,
153 0x00, 0x02, 0x00, 0x04, 0x00, 0x1c, 0x00, 0x04, 0x00, 0x60, 0x00, 0x04,
154 0x00, 0x80, 0x00, 0x04, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x02, 0x10,
155 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08, 0x00};
156
157 char so_xt_tilt_mask_bits[] = {
158 0x00, 0x02, 0x00, 0x00, 0x40, 0x05, 0x00, 0x00, 0xa0, 0x0a, 0x00, 0x00,
159 0x54, 0x15, 0x00, 0x00, 0xaa, 0x2a, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00,
160 0xa0, 0x02, 0x00, 0x00, 0x40, 0x01, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00,
161 0x50, 0xf1, 0x00, 0x00, 0xa0, 0x0f, 0x0d, 0x00, 0x50, 0x30, 0x12, 0x00,
162 0x40, 0x60, 0x26, 0x00, 0x80, 0xc3, 0x4c, 0x00, 0x00, 0x84, 0x88, 0x00,
163 0x00, 0x88, 0x99, 0x00, 0x00, 0x10, 0x11, 0x01, 0x80, 0x10, 0x01, 0x01,
164 0x40, 0x13, 0x00, 0x01, 0x40, 0x14, 0x00, 0x02, 0x50, 0x14, 0x00, 0x02,
165 0xa0, 0x08, 0x00, 0x02, 0x50, 0x01, 0x00, 0x02, 0xa0, 0x01, 0x00, 0x04,
166 0x40, 0x03, 0x00, 0x04, 0xa0, 0x1e, 0x00, 0x04, 0x55, 0x75, 0x00, 0x04,
167 0xaa, 0xaa, 0x00, 0x04, 0x54, 0x15, 0x01, 0x08, 0xa0, 0x0a, 0x02, 0x10,
168 0x40, 0x05, 0x04, 0x00, 0x00, 0x02, 0x08, 0x00};
169
170