#ifndef lint
static unsigned char SccsMagdefId[] = "%W%  %G%";
#endif

/* Module:	Magnify.def
 * Purpose:	Define sighting mark for magnifier display
 * Modified:	{0} Michael VanHilst	initial version		  6 June 1989
 *		{n} <who> -- <does what> -- <when>
 */

#define Zmark_width 7
#define Zmark_height 7
#define Zmark_x_hot 6
#define Zmark_y_hot 6
#define XYmark_x_hot 6
#define XYmark_y_hot 6

/* flags for upper left corner of sighting mark (hot spot is lower right) */
/* 1 becomes background, 2 becomes foreground, 0 is unchanged */
static int Zmark_mask[7][7] = {
  { 1, 1, 0, 0, 0, 0, 0 },
  { 1, 2, 1, 0, 0, 0, 0 },
  { 0, 1, 2, 1, 0, 0, 0 },
  { 0, 0, 1, 2, 1, 1, 1 },
  { 0, 0, 0, 1, 2, 2, 2 },
  { 0, 0, 0, 1, 2, 0, 0 },
  { 0, 0, 0, 1, 2, 0, 0 }
};

static unsigned char XYmark_mark[8][40] = {
  {  0x00, 0x00, 0x02, 0x08, 0x04, 0x04, 0x08, 0x02,
     0xf0, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01,
     0xf0, 0x01, 0x08, 0x02, 0x04, 0x04, 0x02, 0x08,
     0x00, 0x00 },
  {  0x00, 0x00, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04,
     0xe0, 0x03, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02,
     0xe0, 0x03, 0x10, 0x04, 0x08, 0x08, 0x04, 0x10,
     0x00, 0x00 },
  {  0x00, 0x00, 0x08, 0x20, 0x10, 0x10, 0x20, 0x08,
     0xc0, 0x07, 0x40, 0x04, 0x40, 0x04, 0x40, 0x04,
     0xc0, 0x07, 0x20, 0x08, 0x10, 0x10, 0x08, 0x20,
     0x00, 0x00 },
  {  0x00, 0x00, 0x10, 0x40, 0x20, 0x20, 0x40, 0x10,
     0x80, 0x0f, 0x80, 0x08, 0x80, 0x08, 0x80, 0x08,
     0x80, 0x0f, 0x40, 0x10, 0x20, 0x20, 0x10, 0x40,
     0x00, 0x00 },
  {  0x00, 0x00, 0x00, 0x20, 0x80, 0x00, 0x40, 0x40, 0x00, 0x80, 0x20, 0x00,
     0x00, 0x1f, 0x00, 0x00, 0x11, 0x00, 0x00, 0x11, 0x00, 0x00, 0x11, 0x00,
     0x00, 0x1f, 0x00, 0x80, 0x20, 0x00, 0x40, 0x40, 0x00, 0x20, 0x80, 0x00,
     0x00, 0x00, 0x00 },
  {  0x00, 0x00, 0x00, 0x40, 0x00, 0x01, 0x80, 0x80, 0x00, 0x00, 0x41, 0x00,
     0x00, 0x3e, 0x00, 0x00, 0x22, 0x00, 0x00, 0x22, 0x00, 0x00, 0x22, 0x00,
     0x00, 0x3e, 0x00, 0x00, 0x41, 0x00, 0x80, 0x80, 0x00, 0x40, 0x00, 0x01,
     0x00, 0x00, 0x00 },
  {  0x00, 0x00, 0x00, 0x80, 0x00, 0x02, 0x00, 0x01, 0x01, 0x00, 0x82, 0x00,
     0x00, 0x7c, 0x00, 0x00, 0x44, 0x00, 0x00, 0x44, 0x00, 0x00, 0x44, 0x00,
     0x00, 0x7c, 0x00, 0x00, 0x82, 0x00, 0x00, 0x01, 0x01, 0x80, 0x00, 0x02,
     0x00, 0x00, 0x00 },
  {  0x00, 0x00, 0x00, 0x80, 0x00, 0x02, 0x00, 0x01, 0x01, 0x00, 0x82, 0x00,
     0x00, 0x7c, 0x00, 0x00, 0x44, 0x00, 0x00, 0x44, 0x00, 0x00, 0x44, 0x00,
     0x00, 0x7c, 0x00, 0x00, 0x82, 0x00, 0x00, 0x01, 0x01, 0x80, 0x00, 0x02,
     0x00, 0x00, 0x00 } };

static unsigned char XYmark_mask[8][40] = {
  {  0xfc, 0xe7, 0xf8, 0xe3, 0xf1, 0xf1, 0x03, 0xf8, 0x07, 0xfc, 0xe7, 0xfc,
     0xe7, 0xfc, 0xe7, 0xfc, 0x07, 0xfc, 0x03, 0xf8, 0xf1, 0xf1, 0xf8, 0xe3,
     0xfc, 0xe7 },
  {  0xf9, 0xcf, 0xf1, 0xc7, 0xe3, 0xe3, 0x07, 0xf0, 0x0f, 0xf8, 0xcf, 0xf9,
     0xcf, 0xf9, 0xcf, 0xf9, 0x0f, 0xf8, 0x07, 0xf0, 0xe3, 0xe3, 0xf1, 0xc7,
     0xf9, 0xcf },
  {  0xf3, 0x9f, 0xe3, 0x8f, 0xc7, 0xc7, 0x0f, 0xe0, 0x1f, 0xf0, 0x9f, 0xf3,
     0x9f, 0xf3, 0x9f, 0xf3, 0x1f, 0xf0, 0x0f, 0xe0, 0xc7, 0xc7, 0xe3, 0x8f,
     0xf3, 0x9f },
  {  0xe7, 0x3f, 0xc7, 0x1f, 0x8f, 0x8f, 0x1f, 0xc0, 0x3f, 0xe0, 0x3f, 0xe7,
     0x3f, 0xe7, 0x3f, 0xe7, 0x3f, 0xe0, 0x1f, 0xc0, 0x8f, 0x8f, 0xc7, 0x1f,
     0xe7, 0x3f },
  {  0xcf, 0x7f, 0xfe, 0x8f, 0x3f, 0xfe, 0x1f, 0x1f, 0xff, 0x3f, 0x80, 0xff,
     0x7f, 0xc0, 0xff, 0x7f, 0xce, 0xff, 0x7f, 0xce, 0xff, 0x7f, 0xce, 0xff,
     0x7f, 0xc0, 0xff, 0x3f, 0x80, 0xff, 0x1f, 0x1f, 0xff, 0x8f, 0x3f, 0xfe,
     0xcf, 0x7f, 0xfe },
  {  0x9f, 0xff, 0xfc, 0x1f, 0x7f, 0xfc, 0x3f, 0x3e, 0xfe, 0x7f, 0x00, 0xff,
     0xff, 0x80, 0xff, 0xff, 0x9c, 0xff, 0xff, 0x9c, 0xff, 0xff, 0x9c, 0xff,
     0xff, 0x80, 0xff, 0x7f, 0x00, 0xff, 0x3f, 0x3e, 0xfe, 0x1f, 0x7f, 0xfc,
     0x9f, 0xff, 0xfc },
  {  0x3f, 0xff, 0xf9, 0x3f, 0xfe, 0xf8, 0x7f, 0x7c, 0xfc, 0xff, 0x00, 0xfe,
     0xff, 0x01, 0xff, 0xff, 0x39, 0xff, 0xff, 0x39, 0xff, 0xff, 0x39, 0xff,
     0xff, 0x01, 0xff, 0xff, 0x00, 0xfe, 0x7f, 0x7c, 0xfc, 0x3f, 0xfe, 0xf8,
     0x3f, 0xff, 0xf9 },
  {  0x7f, 0xfe, 0xf3, 0x7f, 0xfc, 0xf1, 0xff, 0xf8, 0xf8, 0xff, 0x01, 0xfc,
     0xff, 0x03, 0xfe, 0xff, 0x73, 0xfe, 0xff, 0x73, 0xfe, 0xff, 0x73, 0xfe,
     0xff, 0x03, 0xfe, 0xff, 0x01, 0xfc, 0xff, 0xf8, 0xf8, 0x7f, 0xfc, 0xf1,
     0x7f, 0xfe, 0xf3 } };
