Diff for /chimera/SplashScreenWindow.h between versions 1.2 and 1.3

version 1.2, 2002/03/20 10:24:50 version 1.3, 2002/04/05 00:28:47
Line 8 Line 8
   
 #import <Cocoa/Cocoa.h>  #import <Cocoa/Cocoa.h>
   
   
 @interface SplashScreenWindow : NSWindow {  @interface SplashScreenWindow : NSWindow {
    NSImage     *_splashImage;    NSImage        *_splashImage;
    BOOL             _fades;    BOOL                _fades;
    NSTimer     *_fadeTimer;    BOOL           __didFadeIn;
    NSTextField *_statusField;    int             _fadeIndex;
     NSTimeInterval  _fadeDelay;
     NSTimer        *_fadeTimer; //Eliminate!!
     id                      _fadeThreadLock;
 //    float                __fadeAlpha;
     NSTextField    *_statusField;
 }  }
   
// The splash method inits the window and displays it, centered, and at the// This method inits the window and displays it, slightly proud of center,
// size of the image it displays.  That image, by default, is obtained by// and at the size of the image it displays.
// [NSImage imageNamed:@"splash"] , but you can use the setSplashImage://
// method to specify a different one. 
 // The splash method should be used in your main controller's init method  // The splash method should be used in your main controller's init method
// in this fashion:  splashWindow = [[SplashScreenWindow alloc] splash];// in this fashion:  splashWindow = [[SplashScreenWindow alloc] splashImage:nil withFade:NO withStatusRect:someRect];
 //
 // Passing nil to splashImage will attempt to load [NSImage imageNamed:@"splash"] instead.
 // If that fails, the app icon will be displayed.
 //
 // The window will release itself whenever you send it the close message.  // The window will release itself whenever you send it the close message.
-(id)splash;-(id)splashImage:(NSImage *)splashImage withFade:(BOOL)shouldFade withStatusRect:(NSRect)statusRect;
 
// By default, the splash screen will appear and disappear normally.  However, you 
// can cause the window to fade in when opened and fade out when closed by setting 
// setFades:YES .  Set this after alloc, but before you call splash . 
-(BOOL)fades; 
-(void)setFades:(BOOL)fadeFlag; 
 
// This allows you set the image to something other than [NSImage imageNamed:@"splash"]; 
// Set this after alloc, but before calling splash . 
-(NSImage *)splashImage; 
-(void)setSplashImage:(NSImage *)newImage; 
   
   -(NSString *)statusText;
 -(void)setStatusText:(NSString *)newText;  -(void)setStatusText:(NSString *)newText;
   
 -(void)fadeIn;  
 -(void)fadeStepUp:(NSTimer *)aTimer;  
 -(void)fadeOut;  
 -(void)fadeStepDown:(NSTimer *)aTimer;  
   
   
   
   
 @end  @end

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>