Back to index

lightning-sunbird  0.9+nobinonly
nsBeOSCursors.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *   Yannick Koehler <koehler@mythrium.com>
00024  *   Paul Ashford <arougthopher@lizardland.net>
00025  *
00026  * Alternatively, the contents of this file may be used under the terms of
00027  * either the GNU General Public License Version 2 or later (the "GPL"), or
00028  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00029  * in which case the provisions of the GPL or the LGPL are applicable instead
00030  * of those above. If you wish to allow use of your version of this file only
00031  * under the terms of either the GPL or the LGPL, and not to allow others to
00032  * use your version of this file under the terms of the MPL, indicate your
00033  * decision by deleting the provisions above and replace them with the notice
00034  * and other provisions required by the GPL or the LGPL. If you do not delete
00035  * the provisions above, a recipient may use your version of this file under
00036  * the terms of any one of the MPL, the GPL or the LGPL.
00037  *
00038  * ***** END LICENSE BLOCK ***** */
00039  
00040 #ifndef nsBeOSCursors_h__
00041 #define nsBeOSCursors_h__
00042 
00043 #include <app/Cursor.h>
00044 
00045 
00046 static unsigned char cursorHyperlink[] = {16,1,2,2,
00047 0,0,0,0,56,0,36,0,36,0,19,224,18,92,9,42,
00048 8,1,60,33,76,113,66,113,48,249,12,249,2,0,1,0,
00049 0,0,0,0,56,0,60,0,60,0,31,224,31,252,15,254,
00050 15,255,63,255,127,255,127,255,63,255,15,255,3,254,1,248
00051 };
00052 
00053 static unsigned char cursorHelp[] = {16,1,2,2,
00054 0,0,0,0,56,0,36,0,36,0,19,224,18,92,9,42,
00055 8,1,60,121,76,205,66,25,48,49,12,49,2,0,1,48,
00056 0,0,0,0,56,0,60,0,60,0,31,224,31,252,15,254,
00057 15,255,63,255,127,255,127,255,63,255,15,255,3,254,1,248
00058 };
00059 
00060 static unsigned char cursorCrosshair[] = {16,1,8,8,
00061 0,0,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
00062 127,255,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
00063 0,0,0,128,0,128,0,128,0,128,0,128,0,128,0,128,
00064 127,255,0,128,0,128,0,128,0,128,0,128,0,128,0,128
00065 };
00066 
00067 static unsigned char cursorCopy[] = {16,1,2,2,
00068 0,0,0,0,56,0,36,0,36,0,19,224,18,92,9,42,
00069 8,1,60,1,76,1,66,17,48,17,12,125,2,17,1,16,
00070 0,0,0,0,56,0,60,0,60,0,31,224,31,252,15,254,
00071 15,255,63,255,127,255,127,255,63,255,15,255,3,255,1,248
00072 };
00073 
00074 static unsigned char cursorAlias[] = {16,1,2,2,
00075 0,0,0,0,56,0,36,0,36,0,19,224,18,92,9,42,
00076 8,1,60,1,76,113,66,137,48,157,12,137,2,65,1,0,
00077 0,0,0,0,56,0,60,0,60,0,31,224,31,252,15,254,
00078 15,255,63,255,127,255,127,255,63,255,15,255,3,255,1,248
00079 };
00080 
00081 static unsigned char cursorGrabbing[] = {16,1,8,2,
00082 0,0,0,0,0,0,0,0,15,224,18,92,33,42,40,1,
00083 60,1,20,1,18,1,8,1,4,1,2,1,1,0,0,128,
00084 0,0,0,0,0,0,0,0,15,224,31,252,63,254,63,255,
00085 63,255,31,255,31,255,15,255,7,255,3,255,1,254,0,248
00086 };
00087 
00088 static unsigned char cursorGrab[] = {16,1,2,2,
00089 0,0,0,0,59,64,36,168,36,148,18,74,18,74,9,37,
00090 8,1,60,1,76,1,68,1,48,1,12,1,2,0,1,0,
00091 0,0,0,0,59,64,63,232,63,252,31,254,31,254,15,255,
00092 15,255,63,255,127,255,127,255,63,255,15,255,3,254,1,248
00093 };
00094   
00095 static unsigned char cursorLowerRight[] = {16,1,13,13,
00096 0,0,0,0,0,0,0,0,0,0,4,6,2,38,1,38,
00097 0,166,0,102,3,230,0,6,0,6,7,254,7,254,0,0,
00098 0,0,0,0,0,0,0,0,4,15,14,127,7,127,3,255,
00099 1,255,7,255,7,255,7,255,15,255,15,255,15,255,15,255
00100 };
00101 
00102 static unsigned char cursorLowerLeft[] = {16,1,13,2,
00103 0,0,0,0,0,0,0,0,0,0,96,32,100,64,100,128,
00104 101,0,102,0,103,192,96,0,96,0,127,224,127,224,0,0,
00105 0,0,0,0,0,0,0,0,240,32,254,112,254,224,255,192,
00106 255,128,255,224,255,224,255,224,255,240,255,240,255,240,255,240
00107 };
00108 
00109 static unsigned char cursorUpperLeft[] = {16,1,2,2,
00110 0,0,127,224,127,224,96,0,96,0,103,192,102,0,101,0,
00111 100,128,100,64,96,32,0,0,0,0,0,0,0,0,0,0,
00112 255,240,255,240,255,240,255,240,255,224,255,224,255,224,255,128,
00113 255,192,254,224,254,112,240,32,0,0,0,0,0,0,0,0
00114 };
00115 
00116 static unsigned char cursorUpperRight[] = {16,1,2,13,
00117 0,0,7,254,7,254,0,6,0,6,3,230,0,102,0,166,
00118 1,38,2,38,4,6,0,0,0,0,0,0,0,0,0,0,
00119 15,255,15,255,15,255,15,255,7,255,7,255,7,255,1,255,
00120 3,255,7,127,14,127,4,15,0,0,0,0,0,0,0,0
00121 };
00122 
00123 static unsigned char cursorRight[] = {16,1,6,13,
00124 0,0,0,6,0,6,1,6,0,134,0,70,15,230,0,70,
00125 0,134,1,6,0,6,0,6,0,0,0,0,0,0,0,0,
00126 0,15,0,15,1,15,3,143,1,207,31,239,31,255,31,239,
00127 1,207,3,143,1,15,0,15,0,15,0,0,0,0,0,0
00128 };
00129 
00130 static unsigned char cursorLeft[] = {16,1,6,2,
00131 0,0,96,0,96,0,96,128,97,0,98,0,103,224,98,0,
00132 97,0,96,128,96,0,96,0,0,0,0,0,0,0,0,0,
00133 240,0,240,0,240,128,241,192,243,128,247,240,255,240,247,240,
00134 243,128,241,192,240,128,240,0,240,0,0,0,0,0,0,0
00135 };
00136 
00137 static unsigned char cursorTop[] = {16,1,2,7,
00138 0,0,63,248,63,248,0,0,0,0,1,0,3,128,5,64,
00139 9,32,1,0,1,0,0,0,0,0,0,0,0,0,0,0,
00140 127,252,127,252,127,252,127,252,1,0,3,128,7,192,15,224,
00141 31,240,11,160,3,128,3,128,0,0,0,0,0,0,0,0
00142 };
00143 
00144 static unsigned char cursorBottom[] = {16,1,13,7,
00145 0,0,0,0,0,0,0,0,0,0,1,0,1,0,9,32,
00146 5,64,3,128,1,0,0,0,0,0,63,248,63,248,0,0,
00147 0,0,0,0,0,0,0,0,3,128,3,128,11,160,31,240,
00148 15,224,7,192,3,128,1,0,127,252,127,252,127,252,127,252
00149 };
00150 
00151 static unsigned char cursorHorizontalDrag[] = {16,1,7,7,
00152 1,128,1,128,1,128,1,128,1,128,17,136,49,140,125,190,
00153 125,190,49,140,17,136,1,128,1,128,1,128,1,128,1,128,
00154 3,192,3,192,3,192,3,192,27,216,59,220,127,254,255,255,
00155 255,255,127,254,59,220,27,216,3,192,3,192,3,192,3,192
00156 };
00157 
00158 static unsigned char cursorVerticalDrag[] = {16,1,7,7,
00159 0,0,1,128,3,192,7,224,1,128,1,128,0,0,255,255,
00160 255,255,0,0,1,128,1,128,7,224,3,192,1,128,0,0,
00161 1,128,3,192,7,224,15,240,15,240,3,192,255,255,255,255,
00162 255,255,255,255,3,192,15,240,15,240,7,224,3,192,1,128
00163 };
00164 
00165 static unsigned char cursorCell[] = {16,1,2,2,
00166 0,0,0,0,56,0,36,0,36,0,19,224,18,92,9,42,
00167 8,1,60,49,76,49,66,205,48,205,12,49,2,49,1,0,
00168 0,0,0,0,56,0,60,0,60,0,31,224,31,252,15,254,
00169 15,255,63,255,127,255,127,255,63,255,15,255,3,255,1,248
00170 };
00171 
00172 static unsigned char cursorZoomIn[] = {16,1,5,6,
00173 15,128,16,64,32,32,66,16,66,16,79,144,66,16,66,16,
00174 32,32,16,112,15,184,0,28,0,14,0,7,0,2,0,0,
00175 15,128,31,192,63,224,127,240,127,240,127,240,127,240,127,240,
00176 63,224,31,240,15,184,0,28,0,14,0,7,0,2,0,0
00177 };
00178 
00179 static unsigned char cursorZoomOut[] = {16,1,5,6,
00180 15,128,16,64,32,32,64,16,64,16,79,144,64,16,64,16,
00181 32,32,16,112,15,184,0,28,0,14,0,7,0,2,0,0,
00182 15,128,31,192,63,224,127,240,127,240,127,240,127,240,127,240,
00183 63,224,31,240,15,184,0,28,0,14,0,7,0,2,0,0
00184 };
00185 
00186 static unsigned char cursorWatch2[] = {16,1,0,1,
00187 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00188 152,2,132,2,96,58,24,70,4,138,2,146,1,130,0,197,
00189 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00190 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00191 };
00192 
00193 #if 0
00194 // keeping these in case we want to animate the spinner at some point
00195 static unsigned char cursorWatch1[] = {16,1,0,1,
00196 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00197 152,2,132,2,96,58,24,86,4,146,2,146,1,130,0,197,
00198 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00199 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00200 };
00201 
00202 static unsigned char cursorWatch3[] = {16,1,0,1,
00203 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00204 152,2,132,2,96,58,24,70,4,130,2,158,1,130,0,197,
00205 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00206 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00207 };
00208 
00209 static unsigned char cursorWatch4[] = {16,1,0,1,
00210 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00211 152,2,132,2,96,58,24,70,4,130,2,146,1,138,0,197,
00212 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00213 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00214 };
00215 
00216 static unsigned char cursorWatch5[] = {16,1,0,1,
00217 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00218 152,2,132,2,96,58,24,70,4,130,2,146,1,146,0,213,
00219 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00220 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00221 };
00222 
00223 static unsigned char cursorWatch6[] = {16,1,0,1,
00224 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00225 152,2,132,2,96,58,24,70,4,130,2,146,1,162,0,197,
00226 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00227 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00228 };
00229 
00230 static unsigned char cursorWatch7[] = {16,1,0,1,
00231 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00232 152,2,132,2,96,58,24,70,4,130,2,242,1,130,0,197,
00233 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00234 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00235 };
00236 
00237 static unsigned char cursorWatch8[] = {16,1,0,1,
00238 112,0,72,0,72,0,39,192,36,184,18,84,16,2,120,2,
00239 152,2,132,2,96,58,24,70,4,162,2,146,1,130,0,197,
00240 112,0,120,0,120,0,63,192,63,248,31,252,31,254,127,254,
00241 255,254,255,254,127,254,31,254,7,254,3,254,1,254,0,255
00242 };
00243 #endif
00244         
00245 #endif // nsBeOSCursors_h__
00246