ftp.nice.ch/Attic/openStep/developer/examples/InfoWow.bs.NIHS.tgz#/InfoWow/InfoWow/WowView.h

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

#import <appkit/appkit.h>
#import "AnimatedView.h"

#define FADE_IN_WELCOME	0
#define WELCOME_HOLD	FADE_IN_WELCOME + 1
#define SCROLLING		WELCOME_HOLD + 1
#define SCROLL_HOLD		SCROLLING + 1
#define FADE_TO_CREDIT	SCROLL_HOLD + 1
#define CREDITS_HOLD	FADE_TO_CREDIT + 1
#define FADE_TO_GRAY	CREDITS_HOLD + 1
#define NUMSTATES		FADE_TO_GRAY + 1

#define WELCOME_FRAMES	20
#define CREDIT_FRAMES	10
#define HOLD_FRAMES		30
#define SCROLL_FRAMES	650
#define SCROLL_JUMP		3

@interface WowView:AnimatedView
{
	id welcomeImage;
	id creditsImage;
	id scrollImage;
	int state;
	int frameNumber;
}

- initFrame:(const NXRect *)frm;			// initialize instance
- autoUpdate:sender;						// moves to the next frame
- drawSelf:(NXRect *)rects :(int)rectCount;	// redraws the screen
- start:sender;								// overridden to guarantee we
							// start at the first state when this is called.
@end

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