ftp.nice.ch/pub/next/unix/developer/pcn.2.0.s.tar.gz#/contrib/gauge/Xsw/Patterns.h

This is Patterns.h in view mode; [Download] [Up]

/*
 * $Header: /tmp_mnt/ufs/pcn/carl/PCN/IF/Xsw/RCS/Patterns.h,v 1.2 91/09/13 17:01:31 carl Exp $
 */

/******************************************************************************
*									      *
*	Copyright (C) The Aerospace Corporation 1991			      *
*									      *
*	This software was developed by The Aerospace Corporation as a 	      *
*	research endeavor for the United States Air Force 		      *
*	Space Systems Division.  The current version of the Gauge	      *
*	computer program is available for  release to you for		      *
*	educational and research purposes only.  It is not 		      *
*	to be used for commercial purposes.				      *
*									      *
*	In addition, the following conditions shall apply.		      *
*									      *
*	1) The computer software and documentation were designed to	      *
*	satisfy internal Aerospace requirements only.			      *
*	The software is provided ``as is,'' and The Aerospace Corporation     *
*	makes no warranty, expressed or implied, as to it accuracy,	      *
*	functioning, or fitness for a particular purpose.		      *
*									      *
*	2) The Aerospace Corporation and its personnel are not		      *
*	responsible for providing technical support or general assistance     *
*	with respect to the software.					      *
*									      *
*	3) Neither The Aerospace Corporation nor its personnel shall be	      *
*	liable for claims, losses, or damages arising out of or connected     *
*	with the use of this software.					      *
*	Your sole and exclusive remedy shall be to request a replacement      *
*	copy of the program.						      *
*									      *
******************************************************************************/

#define NUM_PERCENTS 7
#define NUM_PATTERNS 8
#define PAT_WIDTH 8
#define PAT_HEIGHT 4

static char patterns[] = {
  0xff, 0xff, 0xff, 0xff,
  0x11, 0xaa, 0x44, 0xaa,
  0x11, 0x22, 0x44, 0x88,
  0x88, 0x44, 0x22, 0x11,
  0x55, 0x55, 0x55, 0x55,
  0xff, 0x00, 0xff, 0x00,
};

static char percents[] = {
  0x00, 0x00, 0x00, 0x00,
  0x11, 0x00, 0x44, 0x00,
  0x11, 0x44, 0x11, 0x44,
  0x11, 0xaa, 0x44, 0xaa,
  0x55, 0xaa, 0x55, 0xaa,
  0xee, 0x55, 0xbb, 0x55,
  0xee, 0xbb, 0xee, 0xbb,
  0xee, 0xff, 0xbb, 0xff,
};
static char hundred[] = {
  0xff, 0xff, 0xff, 0xff};
static char zero[] = {
  0x00, 0x00, 0x00, 0x00};


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.