-/* xscreensaver, Copyright (c) 2006-2014 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2006-2016 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
orientation just before the view controller is modal-presented, and
restore the proper status bar orientation just before the saverView is
created so it can pick it up in didRotate:. */
- UIInterfaceOrientation _storedOrientation;
+ // UIInterfaceOrientation _storedOrientation;
+
+ BOOL _showAboutBox;
+ UIView *aboutBox;
+ NSTimer *splashTimer;
}
@property(nonatomic, retain) NSString *saverName;
@interface SaverRunner : NSObject
# ifdef USE_IPHONE
<XScreenSaverViewDelegate>
+# else
+ <NSWindowDelegate>
# endif
{
NSString *saverName; // the one currently loaded
SaverViewController *nonrotating_controller; // Hierarchy 2 (savers)
- EAGLContext *eagl_ctx;
- GLuint gl_framebuffer, gl_renderbuffer;
UIImage *saved_screenshot;
- UIView *aboutBox;
- NSTimer *splashTimer;
# endif // USE_IPHONE
}
-- (XScreenSaverView *) makeSaverView: (NSString *) module
- withSize: (NSSize) size;
+- (XScreenSaverView *) newSaverView: (NSString *) module
+ withSize: (NSSize) size;
- (void) loadSaver: (NSString *)name;
- (void) selectedSaverDidChange:(NSDictionary *)change;
#ifndef USE_IPHONE
- (void) openPreferences: (id)sender;
#else // USE_IPHONE
-- (void) openPreferences: (NSString *)which;
- (UIImage *) screenshot;
-- (void)aboutPanel:(UIView *)saverView
- orientation:(UIInterfaceOrientation)orient;
+- (NSString *) makeDesc:(NSString *)saver
+ yearOnly:(BOOL) yearp;
#endif // USE_IPHONE
@end