ftp.nice.ch/pub/next/tools/screen/backspace/old/DigitalClockView.1.2.N.bs.tar.gz#/DigitalClock/DigitalClockView.h

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

//
// DigitalClock
//
// Module for BackSpace.app
// rev 1.1 2 Dec 1991
//
// Matt Pharr- pharr@cs.yale.edu
//

#import <appkit/View.h>
#import "Thinker.h"

@interface DigitalClockView:View
{
  NXPoint currentLocation;     // current location of the bitmap
  NXPoint moveVector;          // not a point, but a vector that describes how
                               // the bitmap is moving...
  char theTime[10];            // the current time, in string form "hh:mm:ss"
  char lastTime[10];           // the time the last time oneStep was called
  NXSize currentSize;          // the size of the bitmap
  id currentImage;             // the bitmap itself that holds the drawing of 
                               // the time
  id theFont;                  // font object for the font we're using
  float currGrey;              // sitting constant at .667...
  float currR, currG, currB;   // may be varying via calls to chooseColor
}

-oneStep;
-drawSelf:(const NXRect *)rects :(int)rectCount;
-initFrame:(const NXRect *)frameRect;
@end

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