projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver]
/
OSX
/
XScreenSaverView.h
diff --git
a/OSX/XScreenSaverView.h
b/OSX/XScreenSaverView.h
index dffa58e97081deb37ad6cadf471e75146a34afb7..8283d35e16ff8e665caf73cd7cc6b6cef87aceed 100644
(file)
--- a/
OSX/XScreenSaverView.h
+++ b/
OSX/XScreenSaverView.h
@@
-29,6
+29,7
@@
#else
# import <Cocoa/Cocoa.h>
# import <ScreenSaver/ScreenSaver.h>
#else
# import <Cocoa/Cocoa.h>
# import <ScreenSaver/ScreenSaver.h>
+//# define USE_TOUCHBAR
#endif
#endif
@@
-85,6
+86,8
@@
fps_state *fpst;
void (*fps_cb) (Display *, Window, fps_state *, void *);
fps_state *fpst;
void (*fps_cb) (Display *, Window, fps_state *, void *);
+ BOOL _lowrez_p; // Whether the saver prefers 1990s pixels.
+
# ifdef USE_IPHONE
BOOL screenLocked;
BOOL _ignoreRotation; // whether hack requested "always portrait".
# ifdef USE_IPHONE
BOOL screenLocked;
BOOL _ignoreRotation; // whether hack requested "always portrait".
@@
-106,6
+109,11
@@
# endif // !USE_IPHONE
# endif // !USE_IPHONE
+# ifdef USE_TOUCHBAR
+ NSWindow *touchbar_window;
+ XScreenSaverView *touchbar_view;
+# endif
+
NSOpenGLContext *ogl_ctx; // OpenGL rendering context
# ifdef JWXYZ_QUARTZ
NSOpenGLContext *ogl_ctx; // OpenGL rendering context
# ifdef JWXYZ_QUARTZ
@@
-144,8
+152,9
@@
- (NSUserDefaultsController *) userDefaultsController;
+ (NSString *) decompressXML:(NSData *)xml;
- (NSUserDefaultsController *) userDefaultsController;
+ (NSString *) decompressXML:(NSData *)xml;
-#ifdef USE_IPHONE
- (CGFloat) hackedContentScaleFactor;
- (CGFloat) hackedContentScaleFactor;
+
+#ifdef USE_IPHONE
- (void)setScreenLocked:(BOOL)locked;
- (NSDictionary *)getGLProperties;
- (void)addExtraRenderbuffers:(CGSize)size;
- (void)setScreenLocked:(BOOL)locked;
- (NSDictionary *)getGLProperties;
- (void)addExtraRenderbuffers:(CGSize)size;