From: Derk-Jan Hartman Date: Sat, 8 Feb 2003 21:43:26 +0000 (+0000) Subject: * window half/normal/double Size commands X-Git-Tag: 0.5.1~92 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3d9124d0b6d4fc634dac8b0dc00e1bdbb8d92ec7;p=vlc * window half/normal/double Size commands - black bar issue is not fixed. i removed 'myfix' --- diff --git a/modules/gui/macosx/vout.h b/modules/gui/macosx/vout.h index c36d54e4e1..7319cf862c 100644 --- a/modules/gui/macosx/vout.h +++ b/modules/gui/macosx/vout.h @@ -2,7 +2,7 @@ * vout.h: MacOS X interface plugin ***************************************************************************** * Copyright (C) 2001, 2002 VideoLAN - * $Id: vout.h,v 1.7 2003/02/07 21:30:25 hartman Exp $ + * $Id: vout.h,v 1.8 2003/02/08 21:43:26 hartman Exp $ * * Authors: Colin Delacroix * Florian G. Pflug @@ -23,8 +23,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ -#define WINDOW_TITLE_HEIGHT 24 - /***************************************************************************** * VLCWindow interface *****************************************************************************/ diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m index b6cff3a3c3..ef6e678b7b 100644 --- a/modules/gui/macosx/vout.m +++ b/modules/gui/macosx/vout.m @@ -2,7 +2,7 @@ * vout.m: MacOS X video output plugin ***************************************************************************** * Copyright (C) 2001-2003 VideoLAN - * $Id: vout.m,v 1.26 2003/02/08 17:26:00 massiot Exp $ + * $Id: vout.m,v 1.27 2003/02/08 21:43:26 hartman Exp $ * * Authors: Colin Delacroix * Florian G. Pflug @@ -738,7 +738,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) topleftscreen = [self convertBaseToScreen: topleftbase]; newsize.width = (int) ( p_vout->render.i_width * factor ); - newsize.height = (int) ( ( p_vout->render.i_height + WINDOW_TITLE_HEIGHT ) * factor ); + newsize.height = (int) ( p_vout->render.i_height * factor ); [self setContentSize: newsize]; [self setFrameTopLeftPoint: topleftscreen];