Commit a5619da3 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* ./modules/gui/macosx/vout.m: removed the resizebar. too much of a hack

* ./README.MacOSX.rtf: updated deinterlace and resize info
parent 5960b182
...@@ -58,11 +58,9 @@ Simply drag VLC from the place where you have installed it, to the Trash.\ ...@@ -58,11 +58,9 @@ Simply drag VLC from the place where you have installed it, to the Trash.\
\ \
\ \
\f1\b \ul 7. How do I enable deinterlacing ?\ \f1\b \ul 7. How do I change the size of the videowindow?\
\f0\b0 \ulnone You must select the "Deinterlace" menu item \f0\b0 \ulnone Grab the bottom-right corner of the videowindow and drag the window to its desired size.\
\f1\b before
\f0\b0 opening any file. If the item is selected while reading a file, nothing will happen. This is a known issue, please do not report it.\
\ \
\ \
...@@ -87,4 +85,4 @@ Thanks for reading this file. For additional information, subscribe to the vlc m ...@@ -87,4 +85,4 @@ Thanks for reading this file. For additional information, subscribe to the vlc m
-- \ -- \
Christophe Massiot <massiot@via.ecp.fr> and\ Christophe Massiot <massiot@via.ecp.fr> and\
Derk-Jan Hartman <thedj@users.sourceforge.net> for the VideoLAN team.\ Derk-Jan Hartman <thedj@users.sourceforge.net> for the VideoLAN team.\
$Id: README.MacOSX.rtf,v 1.9 2003/01/25 18:42:17 hartman Exp $} $Id: README.MacOSX.rtf,v 1.10 2003/01/28 15:59:38 hartman Exp $}
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin * vout.m: MacOS X video output plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.19 2003/01/25 12:00:38 hartman Exp $ * $Id: vout.m,v 1.20 2003/01/28 15:59:38 hartman Exp $
* *
* Authors: Colin Delacroix <colin@zoy.org> * Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org> * Florian G. Pflug <fgp@phlo.org>
...@@ -598,11 +598,6 @@ static void QTScaleMatrix( vout_thread_t *p_vout ) ...@@ -598,11 +598,6 @@ static void QTScaleMatrix( vout_thread_t *p_vout )
i_offset_y = (i_height - i_adj_height) / 2; i_offset_y = (i_height - i_adj_height) / 2;
} }
/* the following is for the resize bar. Dirty hack (hartman) */
if ( !p_vout->b_fullscreen)
{
i_offset_y = i_offset_y - 12;
}
SetIdentityMatrix( p_vout->p_sys->p_matrix ); SetIdentityMatrix( p_vout->p_sys->p_matrix );
...@@ -866,11 +861,8 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -866,11 +861,8 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
id o_window = [self window]; id o_window = [self window];
p_vout = (vout_thread_t *)[o_window getVout]; p_vout = (vout_thread_t *)[o_window getVout];
if ( p_vout->b_fullscreen )
{
[[NSColor blackColor] set]; [[NSColor blackColor] set];
NSRectFill( rect ); NSRectFill( rect );
}
[super drawRect: rect]; [super drawRect: rect];
p_vout->i_changes |= VOUT_SIZE_CHANGE; p_vout->i_changes |= VOUT_SIZE_CHANGE;
...@@ -1035,11 +1027,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -1035,11 +1027,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
unsigned int i_stylemask = NSTitledWindowMask | unsigned int i_stylemask = NSTitledWindowMask |
NSMiniaturizableWindowMask | NSMiniaturizableWindowMask |
NSClosableWindowMask | NSClosableWindowMask |
NSResizableWindowMask; /* | NSResizableWindowMask;
NSTexturedBackgroundWindowMask;*/
/* the following is for the resize bar. Dirty hack (hartman) */
p_vout->p_sys->s_rect.size.height = p_vout->p_sys->s_rect.size.height + 24;
if ( p_vout->p_sys->p_fullscreen_state != NULL ) if ( p_vout->p_sys->p_fullscreen_state != NULL )
EndFullScreen ( p_vout->p_sys->p_fullscreen_state, NULL ); EndFullScreen ( p_vout->p_sys->p_fullscreen_state, NULL );
...@@ -1110,10 +1098,6 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -1110,10 +1098,6 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
p_vout->p_sys->b_pos_saved = 1; p_vout->p_sys->b_pos_saved = 1;
} }
else /* the following is for the resize bar. Dirty hack (hartman) */
{
p_vout->p_sys->s_rect.size.height = p_vout->p_sys->s_rect.size.height - 24;
}
p_vout->p_sys->p_qdport = nil; p_vout->p_sys->p_qdport = nil;
[p_vout->p_sys->o_window close]; [p_vout->p_sys->o_window close];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment