summaryrefslogtreecommitdiff
path: root/src/video_out/macosx/video_window.h
AgeCommit message (Collapse)Author
2004-07-05Mac OS X: Changed XineOpenGLView's resizeViewToVideoSizeOnLoad attribute toAndre Pang
resizeViewOnVideoSizeChange, with corresponding semantic changes CVS patchset: 6772 CVS date: 2004/07/05 05:26:12
2004-07-05Mac OS X:Andre Pang
Added keepsVideoAspectRatio and resizeViewToVideoSizeOnLoad attributes to XineOpenGLView class More accurate OpenGL mutex locking (we need to serialise any accesses to the OpenGL context): this fixed a few more kernel panics for me Changed any human-readable strings of "MacOSX" to "Mac OS X" (so maybe Apple can award xine a Design Award next year with less qualms ;) CVS patchset: 6770 CVS date: 2004/07/05 01:20:01
2004-06-29Mac OS X XineVideoWindow: move setKeepsAspectRatio: and keepsAspectRatioAndre Pang
methods to NSWindow class, since they're generic to all windows CVS patchset: 6760 CVS date: 2004/06/29 05:25:28
2004-06-26Mac OS X video_window.h: #import <Cocoa/Cocoa.h> so the header file canAndre Pang
compile :) CVS patchset: 6752 CVS date: 2004/06/26 15:09:35
2004-06-25- trying to fix the kernel panics by wrapping some functions with a mutex.Daniel Mack
maybe that helps. - some indentation fixes CVS patchset: 6745 CVS date: 2004/06/25 16:14:20
2004-06-22Mac OS X XineOpenGLView:Andre Pang
Added dealloc method Removed unused opengl_context field Added NSCoding functions, in preparation for Interface Builder palettization Mac OS X XineVideoWindow: Added dealloc method CVS patchset: 6729 CVS date: 2004/06/22 08:25:24
2004-06-21Mac OS X XineVideoWindow:Andre Pang
Added #ifdef guards around video_window.h Removed setContentSize: method from XineVideoWindow interface, since this method is already present in NSWindow Changed setKeepsAspectRatio: & keepAspectRatio's int arguments to BOOL Added initWithContentSize: method Added init method CVS patchset: 6722 CVS date: 2004/06/21 15:07:00
2004-06-21Mac OS X XineVideoWindow:Andre Pang
Replaced fitToScreen method with windowWillUseStandardFrame:defaultFrame:, since NSWindow's native zoom: method uses that to determine the zoomed side Made new windowWillUseStandardFrame:defaultFrame: method center the screen CVS patchset: 6719 CVS date: 2004/06/21 03:24:51
2004-06-19Mac OS X's XineVideoWindow:Andre Pang
Renamed openGLView field to xineView Renamed getGLView to xineView: putting 'get' in front of an accessor method in Cocoa implies that the method gives you a _copy_ of the field, e.g. see NSString's cString method vs its getCString method. Removed displayTexture method, since XineOpenGLView has it CVS patchset: 6707 CVS date: 2004/06/19 15:33:20
2004-06-19Mac OS X video output driver:Andre Pang
XineVideoWindow now properly keeps aspect ratio if requested Moved set{Half,Normal,Double}Size methods from XineVideoWindow to XineOpenGLView, since they more logically belong there Changed setVideoSize in XineOpenGLView to only set the video size (and not the view size) Added setViewSize method to XineOpenGLView, to change the view size Internal refactorings: Removed width/height fields from XineVideoWindow: they were unnecessary, since the width and height could be obtained via [self frame] Renamed width/height fields to video_width/video_height in XineOpenGLView, to reflect that they represent the height of the actual video, rather than the view's size (which can always be obtained with [self frame] or [self bounds]) Added videoSize method to XineOpenGLView to get the actual video size Changed isFullScreen, keepsAspectRatio, and initDone fields in XineOpenGLView to BOOL rather than int Apologies for the numerous changes in this one patch which may have been better as a number of smaller, different patches. Much of the original intent of the patch -- to fix the bugs that occured with aspect ratios -- dictated the refactorings which took place. On the bright side, this patch 100% regression-tested! CVS patchset: 6706 CVS date: 2004/06/19 15:25:01
2004-06-19Run Mac OS X video driver's setVideoSize method in the main (UI) thread, ratherAndre Pang
than xine's thread, to avoid threading problems. CVS patchset: 6701 CVS date: 2004/06/19 04:11:53
2004-06-18video_out_macosx.mDaniel Mack
CVS patchset: 6695 CVS date: 2004/06/18 14:21:36
2004-06-10- Lots of cleanups and coding style issuesDaniel Mack
- Added support for fullscreen windows in two modes, one with cropping (XINE_FULLSCREEN_CROP) and one with adding overscans (XINE_FULLSCREEEN_OVERSCAN) - New class methods to make the window resize to it's original dimensions (setNormalSize) to make it half-sized (setHalfSize), double-sized (setDoubleSize) or as large as possible (setFitToScreen) - Support for keeping aspect ration when the user reshapes the window manually (setKeepsAspectRatio, keepsAspectRatio) CVS patchset: 6665 CVS date: 2004/06/10 11:54:54
2004-06-05From: Daniel MackJames Courtier-Dutton
Mac OSX video out support. patch to configure.ac to follow CVS patchset: 6642 CVS date: 2004/06/05 16:06:12