home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.2 (Developer)
/
NS_dev_3.2.iso
/
NextDeveloper
/
Headers
/
bsd
/
dev
/
i386
/
kmWaitCursor.h
< prev
next >
Wrap
Text File
|
1993-10-19
|
2KB
|
67 lines
/*
* Copyright 1993 NeXT, Inc.
* All rights reserved.
*/
#import <bsd/dev/kmreg_com.h>
static char km_wait_cursor_1[] = {
0x55, 0x40, 0x01, 0x55, 0x54, 0x16, 0xbd, 0x55, 0x50, 0x56, 0xbe,
0x95, 0x40, 0x16, 0xfa, 0xa9, 0x44, 0x06, 0xea, 0x59, 0x15, 0x46,
0xe9, 0x43, 0x29, 0x92, 0xe4, 0x03, 0x2a, 0xaa, 0x91, 0x57, 0x2e,
0xfe, 0xaa, 0x67, 0x3f, 0xe9, 0xaf, 0xab, 0x3e, 0xa4, 0x6b, 0xfb,
0x5a, 0x94, 0x5a, 0xfd, 0x5a, 0x54, 0x1a, 0xbd, 0x56, 0x50, 0x5a,
0xb5, 0x56, 0x80, 0x1b, 0xd5, 0x55, 0x7f, 0xfd, 0x55
};
static char km_wait_cursor_2[] = {
0x55, 0x40, 0x01, 0x55, 0x54, 0x10, 0x15, 0x55, 0x51, 0x50, 0x56,
0x95, 0x4a, 0x54, 0x5a, 0xf9, 0x4e, 0x94, 0x6b, 0xf9, 0x3f, 0xa4,
0x6f, 0xab, 0x2f, 0xf9, 0x7e, 0xa7, 0x2a, 0xbe, 0xe9, 0x57, 0x26,
0x6b, 0xe0, 0x07, 0x15, 0x52, 0xe5, 0x03, 0x14, 0x06, 0xf9, 0x5b,
0x50, 0x16, 0xfa, 0x5d, 0x50, 0x56, 0xfa, 0x9d, 0x54, 0x5a, 0xbe,
0xb5, 0x55, 0x6a, 0xbf, 0xd5, 0x55, 0x7f, 0xfd, 0x55
};
static char km_wait_cursor_3[] = {
0x55, 0x40, 0x01, 0x55, 0x54, 0x3a, 0x94, 0x15, 0x52, 0xfa, 0x94,
0x05, 0x46, 0xbe, 0x50, 0x09, 0x46, 0xbe, 0x50, 0x59, 0x15, 0xae,
0x55, 0x6b, 0x01, 0x6b, 0x6a, 0xab, 0x00, 0x06, 0xff, 0xff, 0x04,
0x5b, 0xaa, 0xff, 0x15, 0x6b, 0x56, 0xab, 0x16, 0xae, 0x45, 0xab,
0x5a, 0xbe, 0x45, 0x6d, 0x5a, 0xfe, 0x51, 0x7d, 0x56, 0xfa, 0x50,
0xb5, 0x56, 0xaa, 0x9b, 0xd5, 0x55, 0x7f, 0xfd, 0x55
};
#define KM_DEVICE_WAITCURSOR_WIDTH 16
#define KM_DEVICE_WAITCURSOR_HEIGHT 16
#define KM_DEVICE_WAITCURSOR_NSTATES 3
/* Delay 1/9 second between animation frames */
#define KM_DEVICE_WAITCURSOR_DELAY 111111111
/*
* These values correspond to the location used by the booter.
* Eventually the booter should leave these values behind for later use.
*/
#define KM_DEVICE_WAITCURSOR_X 448
#define KM_DEVICE_WAITCURSOR_Y 300
#define KM_DEVICE_BACKGROUND_COLOR 1 /* light gray */
static struct km_drawrect kmDeviceWaitCursor[] = {
{KM_DEVICE_WAITCURSOR_X, KM_DEVICE_WAITCURSOR_Y,
KM_DEVICE_WAITCURSOR_WIDTH, KM_DEVICE_WAITCURSOR_HEIGHT,
km_wait_cursor_1},
{KM_DEVICE_WAITCURSOR_X, KM_DEVICE_WAITCURSOR_Y,
KM_DEVICE_WAITCURSOR_WIDTH, KM_DEVICE_WAITCURSOR_HEIGHT,
km_wait_cursor_2},
{KM_DEVICE_WAITCURSOR_X, KM_DEVICE_WAITCURSOR_Y,
KM_DEVICE_WAITCURSOR_WIDTH, KM_DEVICE_WAITCURSOR_HEIGHT,
km_wait_cursor_3},
};
static struct km_drawrect kmDeviceBlankCursor = {
KM_DEVICE_WAITCURSOR_X, KM_DEVICE_WAITCURSOR_Y,
KM_DEVICE_WAITCURSOR_WIDTH, KM_DEVICE_WAITCURSOR_HEIGHT,
(void *)KM_DEVICE_BACKGROUND_COLOR
};