diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-11-06 12:45:58 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-11-06 12:45:58 +0000 |
commit | f0f7c8e66537074a2327df59379245e3563f00c6 (patch) | |
tree | 684908bc58f146ae30dcd0a0429e91ec52089c48 /src/video_out/macosx/XineOpenGLView.h | |
parent | 60635c5d5120e1180fab363b566c9c28e00d548a (diff) | |
download | xine-lib-f0f7c8e66537074a2327df59379245e3563f00c6.tar.gz xine-lib-f0f7c8e66537074a2327df59379245e3563f00c6.tar.bz2 |
Mac OS X video out driver:
Can specify an initial NSColor for XineOpenGLView, rather than just YUV green
Formatting cleanups (including converting tabs to spaces)
CVS patchset: 7106
CVS date: 2004/11/06 12:45:58
Diffstat (limited to 'src/video_out/macosx/XineOpenGLView.h')
-rw-r--r-- | src/video_out/macosx/XineOpenGLView.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/video_out/macosx/XineOpenGLView.h b/src/video_out/macosx/XineOpenGLView.h index 9e53a6c69..063a33eb2 100644 --- a/src/video_out/macosx/XineOpenGLView.h +++ b/src/video_out/macosx/XineOpenGLView.h @@ -46,6 +46,9 @@ extern NSString *XineViewDidResizeNotification; BOOL resizeViewOnVideoSizeChange; NSCursor *currentCursor; id <NSObject, XineOpenGLViewDelegate> _xineController; + NSColor *initialColor; + unsigned int initialColorYUV; + BOOL initialColorYUVIsSet; } - (void) displayTexture; @@ -58,22 +61,26 @@ extern NSString *XineViewDidResizeNotification; - (void) initTextures; - (void) reloadTexture; - (char *) getTextureBuffer; -- (void) setVideoSize:(NSSize)size; - (void) setViewSizeInMainThread:(NSSize)size; // TODO: replace set...Size below with setSize:(double)videoSizeMultiplier - (void) setNormalSize; - (void) setHalfSize; - (void) setDoubleSize; +- (void) setResizeViewOnVideoSizeChange:(BOOL)flag; +- (BOOL) resizeViewOnVideoSizeChange; +- (void) resetCursorRectsInMainThread; + +// Accessors +- (void) setVideoSize:(NSSize)size; - (NSSize) videoSize; - (void) setKeepsVideoAspectRatio:(BOOL)flag; - (BOOL) keepsVideoAspectRatio; -- (void) setResizeViewOnVideoSizeChange:(BOOL)flag; -- (BOOL) resizeViewOnVideoSizeChange; - (void) setCurrentCursor:(NSCursor *)cursor; - (NSCursor *) currentCursor; -- (void) resetCursorRectsInMainThread; - (void) setXineController:(id)controller; - (id) xineController; +- (void) setInitialColor:(NSColor *)color; +- (NSColor *) initialColor; // Delegate Methods - (id) delegate; @@ -90,10 +97,11 @@ extern NSString *XineViewDidResizeNotification; - (void) mouseDown:(NSEvent *)theEvent inXineView:(XineOpenGLView *)theView; - (void) mouseMoved:(NSEvent *)theEvent inXineView:(XineOpenGLView *)theView; - (void) otherMouseDown:(NSEvent *)theEvent - inXineView:(XineOpenGLView *)theView; + inXineView:(XineOpenGLView *)theView; - (void) rightMouseDown:(NSEvent *)theEvent - inXineView:(XineOpenGLView *)theView; + inXineView:(XineOpenGLView *)theView; @end #endif /* __HAVE_XINE_OPENGL_VIEW_H__ */ + |